[R] problem with fitdistr ?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Feb 17 19:59:19 CET 2004
Which version of MASS (not that you gave me any credit)? This works in
the current 7.1-14.
On Tue, 17 Feb 2004, Ernesto Jardim wrote:
> I'm trying fitdistr but I'm getting some errors
>
> > fitdistr(rnorm(100),"Normal")
> Error in fitdistr(rnorm(100), "Normal") : 'start' must be a named list
> > fitdistr(rnorm(100),"Normal",start=list(mean=0,sd=1))
> Error in fitdistr(rnorm(100), "Normal", start = list(mean = 0, sd = 1))
> :
> supplying pars for the Normal is not supported
>
>
> What is the problem here ? Am I doing something wrong ?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list