[R] Maximum likelihood estimation in R
Spencer Graves
spencer.graves at pdf.com
Sun Feb 15 23:25:36 CET 2004
If, however, you are more interested in general methods for
maximizing a likelihood function, I suggest you look at "optim", work
the examples on the help page, etc.
hope this helps. spencer graves
DivineSAAM at aol.com wrote:
>Hello,
>
>Use
>
>
>
>>x=rnorm(100, mean=3, sd=1)
>>library(MASS)
>>fitdistr(x, "normal")
>>
>>
> mean sd
> 2.93666631 0.99673982
> (0.09967398) (0.07048015)
>
>Hope this helps,
>
>Shrieb
>
>______________________________________________
>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