Summary of an ms Model

DESCRIPTION:

Returns a summary list of components for a nonlinear model fitted by ms.

USAGE:

summary.ms(object)

REQUIRED ARGUMENTS:

object
the object returned by ms to fit a nonlinear model by minimizing the sum of some expression, such as a negative log-likelihood.

VALUE:

a structure with the appropriate summary information.
parameters
final parameter estimates.
objective
objective value at the final parameter estimate.
message
tells why the algorithm terminated.
gradient
gradient at the final parameter values (estimated from finite-differences when the model has no gradient attribute).
hessian
Hessian matrix at the final parameter values (only if the model has a hessian attribute).
formula
formula used for the nonlinear model fitting
information
inverse Hessian matrix at the final parameter values (only if the model has a hessian attribute).

DETAILS:

This function is a method for the generic function for class ms. It can be invoked by calling for an object x of the appropriate class, or directly by calling regardless of the class of the object.

SEE ALSO:

, , .

EXAMPLES:

lprob <- function(lp) log(1 + exp(lp)) - lp  # log-likelihood
fit.alpha <- ms(~ lprob(D * alpha), pingpong)
summary(fit.alpha)