Learn R Programming

hoa (version 2.1.2)

summary.mpl: Summary Method for `mpl' Objects

Description

Returns a summary list for objects of class mpl.

Usage

## S3 method for class 'mpl':
summary(object, correlation = FALSE, digits = NULL, \dots)

Arguments

object
a fitted mpl object, that is, the result of a call to mpl.nlreg.
correlation
logical argument. If TRUE, the (asymptotic) correlation matrix for the parameter estimates is computed; default is FALSE.
digits
the number of significant digits to be printed. Defaults to NULL.
...
absorbs any additional argument.

Value

  • A list is returned with the following components:
  • varParthe maximum adjusted profile likelihood estimates of the variance parameters.
  • coefficientsthe constrained MLEs of the regression coefficients given the maximum adjusted profile likelihood estimates of the variance parameters.
  • offsetthe values passed through the offset argument in the call to mpl.nlreg that generated the mpl object and to which the variance parameters were fixed.
  • varParMLEthe MLEs of the variance parameters.
  • coefMLEthe MLEs of the regression coefficients.
  • varParCovthe (asymptotic) covariance matrix of the variance parameters, that is, the corresponding block in the inverse of the observed information matrix.
  • coefCovthe (asymptotic) covariance matrix of the regression coefficients, that is, the corresponding block in the inverse of the observed information matrix.
  • lmpthe adjusted profile log likelihood from the fit.
  • lpthe profile log likelihood from the fit.
  • statsthe indicator of which higher order solution was used.
  • formulathe model formula.
  • meanFunthe formula expression of the mean function.
  • varFunthe formula expression of the variance function.
  • dataa list representing a summary of the original data with the following components. [object Object],[object Object],[object Object],[object Object],[object Object]
  • nobsthe number of observations.
  • iterthe number of interations needed for convergence; only if offset was not NULL in the call to mpl.nlreg which generated object.
  • callan image of the call to mpl.nlreg, but with all the arguments explicitly named.
  • wsthe workspace component of the original nlreg object plus the following components: [object Object],[object Object]

Details

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

See Also

mpl.object, nlreg.object, summary

Examples

Run this code
data(metsulfuron)
metsulfuron.nl <- 
    nlreg( formula = log(area) ~ log( b1+(b2-b1) / (1+(dose/b4)^b3) ), 
           weights = ~ ( 1+dose^exp(g) )^2, data = metsulfuron, hoa = TRUE, 
           start = c(b1 = 138, b2 = 2470, b3 = 2, b4 = 0.07, g = log(0.3)) )
##
metsulfuron.mpl <- mpl( metsulfuron.nl, trace = TRUE )
summary( metsulfuron.mpl, corr = FALSE )

Run the code above in your browser using DataLab