[R] MASS fitdistr()
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Nov 27 19:22:39 CET 2003
On Thu, 27 Nov 2003, Oscar Linares wrote:
> Dear R experts,
> I am trying to use the R MASS library fitdistr() to fit the following
Well, that is not a list!
> as follows,
> fitdistr(k21stsList, "normal")
> But, I get
> Error in fitdistr(k21stsList, "normal") : 'start' must be a named list
You omitted the `start' argument, and "normal" is not in the list
specified in the Details section.
> What am I doing wrong (probably alot!)
It always helps to read through the whole help page rather than guessing.
Given that the MLEs for a normal are known explicitly, why are you doing
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