Log-Likelihood of a gnlsStruct Object

DESCRIPTION:

Pars is used to update the coefficients of the model components of object and the individual log-likelihood contributions of each component are added together.

USAGE:

logLik(object, Pars, conLin) 

REQUIRED ARGUMENTS:

object
an object inheriting from class gnlsStruct, representing a list of model components, such as corStruct and varFunc objects, and attributes specifying the underlying nonlinear model and the response variable.
Pars
the parameter values at which the log-likelihood is to be evaluated.

OPTIONAL ARGUMENTS:

conLin
an optional condensed linear model object, consisting of a list with components "Xy", corresponding to a regression matrix ( X) combined with a response vector ( y), and "logLik", corresponding to the log-likelihood of the underlying nonlinear model. Defaults to `attr(object, "conLin")'.

VALUE:

the log-likelihood for the linear model described by object, evaluated at Pars.

SEE ALSO:

,