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

[EMAIL PROTECTED] 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

______________________________________________
[EMAIL PROTECTED] 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



______________________________________________ [EMAIL PROTECTED] 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

Reply via email to