[R] MLE

Ben Bolker bolker at ufl.edu
Tue Apr 18 16:05:07 CEST 2006


 <vkatoma <at> cs.uct.ac.za> writes:

> 
> 
> Hi ,
> 
> I want to compute the MLE for a simple sample of data, say
> 45,26,98,65,25,36,42,62,28,36,15,48,45, of which I obviously have the mean
> and the sd. Is there a way of calling the log normal and already
> diffrentiated formula other than entering the whole formula.
> 
> Victor
> 

  You haven't given us enough information/described your problem
clearly enough.  The maximum likelihood
estimate of _what_?  fitdistr() in the MASS package might help.
If you want (log)likelihoods dlnorm (for log normal), dnorm
might help.
   
  Ben Bolker




More information about the R-help mailing list