Message-ID: <Pine.LNX.4.44.0402171857520.22716-100000@gannet.stats>
Date: 2004-02-17T18:59:19Z
From: Brian Ripley
Subject: problem with fitdistr ?
In-Reply-To: <1077035892.12764.41.camel@gandalf.local>
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