Hi,
I would really appreciate if I could get some help here. I'm using nlm to
minimize my negative log likelihood function. What I did is as follows:
My log likelihood function (it returns negative log likelihood) with 'gradient'
attribute defined inside as follows:
# ==Method
Hello!
I am a statistics graduate student and a new user of R. I am using nlm function to get
estimates from a nonlinear function. I am running a simulation program. When I run the
simulation with same set of starting vales then one third of the time I get bad
results and I also noticed that
Hello!
I am a statistics graduate student and a new user of R. I am using nlm function to get
estimates from a nonlinear function. I am running a simulation program. When I run the
simulation with same set of starting vales then one third of the time I get bad
results and I also noticed that