Learn R Programming

lavaSearch2 (version 1.0.0)

dVcov2: Compute the Derivative of the Information Matrix

Description

Compute the derivative of the information matrix.

Usage

dVcov2(object, ...)

# S3 method for lm dVcov2(object, adjust.residuals = FALSE, return.score = FALSE, ...)

# S3 method for gls dVcov2(object, cluster, vcov.param = NULL, adjust.residuals = FALSE, numericDerivative = FALSE, return.score = FALSE, ...)

# S3 method for lme dVcov2(object, cluster, vcov.param = NULL, adjust.residuals = FALSE, numericDerivative = FALSE, return.score = FALSE, ...)

# S3 method for lvmfit dVcov2(object, vcov.param = NULL, adjust.residuals = TRUE, numericDerivative = FALSE, return.score = FALSE, ...)

# S3 method for lvmfit2 dVcov2(object, ...)

dVcov2(x, ...) <- value

# S3 method for lm dVcov2(x, ...) <- value

# S3 method for gls dVcov2(x, ...) <- value

# S3 method for lme dVcov2(x, ...) <- value

# S3 method for lvmfit dVcov2(x, ...) <- value

# S3 method for lvmfit2 dVcov2(x, ...) <- value

Arguments

object

a gls, lme, or lvm object.

...

arguments to be passed to lower level methods.

adjust.residuals

Small sample correction: should the leverage-adjusted residuals be used to compute the score? Otherwise the raw residuals will be used.

return.score

[for internal use] export the score.

cluster

the grouping variable relative to which the observations are iid. Only required for gls models with no correlation argument.

vcov.param

the variance-covariance matrix of the estimates.

numericDerivative

If TRUE, the degree of freedom are computed using a numerical derivative.

x

same as object.

value

same as adjust.residuals.