Hello there,

Can anyone point me to the code for logLik of an nls object? I found the
code for logLik of an lm but could not find exactly what function is used
for calculating the logLik of nls function?

I am using the nls to fit the following model to data -
Model 1: y ~ Ae^(-mx) + Be^(-nx) +c

and want to understand what is the likelihood function used by nls.
Presumably it is using -
N(Ae^(-mx) + Be^(-nx) +c, var = residuals from nls)

Thank  you in advance,

Diviya

	[[alternative HTML version deleted]]

