[R] problem with fitdistr ?
Spencer Graves
spencer.graves at pdf.com
Tue Feb 17 19:19:01 CET 2004
Which version of R and the MASS library? It worked for me just
now with R 1.8.1:
> library(MASS)
> fitdistr(rnorm(100),"Normal",start=list(mean=0,sd=1))
mean sd
0.03760724 0.97053743
(0.09705374) (0.06862975)
hope this helps. spencer graves
Ernesto Jardim wrote:
>Hi,
>
>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 ?
>
>Regards
>
>EJ
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list