Skip to content

help for MLE

3 messages · Edward Sun, Tom Blackwell, Spencer Graves

#
Hi,
when I write the likelihood function as
then what should I do since it shows that Error in log(sigma) : Object 
"sigma" not found.

Thanks
edward
#
Edward  -

Either  optim()  or  fitdistr()  has an additional required
argument which specifies the names (and incidentally starting
values) for the parameters to be estimated.  Did you supply
that argument ?  See  help("optim"), help("fitdistr").

-  tom blackwell  -  u michigan medical school  -  ann arbor  -
On Wed, 25 Feb 2004, Edward Sun wrote:

            
#
Have you worked through the "posting guide" at the end of each 
r-help email?  In particular, have you worked the examples in 
"help('fitdistr')" in library MASS and "optim"? 

      hope this helps.  spencer graves
Edward Sun wrote: