Learn R Programming

lavaSearch2 (version 1.4)

dfSigma: Degree of Freedom for the Chi-Square Test

Description

Computation of the degrees of freedom of the chi-squared distribution relative to the model-based variance

Usage

dfSigma(contrast, vcov, dVcov, keep.param)

Arguments

contrast

[numeric vector] the linear combination of parameters to test

vcov

[numeric matrix] the variance-covariance matrix of the parameters.

dVcov

[numeric array] the first derivative of the variance-covariance matrix of the parameters.

keep.param

[character vector] the name of the parameters with non-zero first derivative of their variance parameter.