[R] help for MLE
edwardweisun at hotmail.com
Sun Feb 22 20:12:13 CET 2004
I am using R version 1.8.1. I am doing following tast:
First generate 100 Gaussion(3,1) numbers, then write the likelihood function
to estimate the parameters of Gaussian distribution by direct maximizing the
My likelihood function is:
After I input above function, the '' >'' turned to be '' + ''. and it did
I am looking for the help to solve this tast by writting a likelihood
Thanks a lot.
>x=rnorm(100, mean=3, sd=1)
>fitdistr(x, "normal", list(mean=0, sd=1))
do not work.
More information about the R-help