[R] problem with fitdistr ?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Feb 18 10:46:01 CET 2004
On Wed, 18 Feb 2004, Ernesto Jardim wrote:
> On Tue, 2004-02-17 at 18:59, Prof Brian Ripley wrote:
> > 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 ?
>
> Hi,
>
> I'm using R-1.8.1 with MASS 7.1-13. Sorry for not mentioning MASS.
It was a bug in that version (only, AFAICS -- 7.1-12 required start
values). Please update to 7.1-14.
--
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