vcov method for fitted IRT models

Description

Extracts the asymptotic variance-covariance matrix of the MLEs from either gpcm, grm, ltm, rasch or tpm objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S3 method for class 'gpcm'
vcov(object, robust = FALSE, ...)

## S3 method for class 'grm'
vcov(object, ...)

## S3 method for class 'ltm'
vcov(object, robust = FALSE, ...)

## S3 method for class 'rasch'
vcov(object, robust = FALSE, ...)

## S3 method for class 'tpm'
vcov(object, ...)

Arguments

object

an object inheriting from either class gpcm, class grm, class ltm, class rasch or class tpm.

robust

logical; if TRUE the sandwich estimator is used.

...

additional arguments; currently none is used.

Value

a numeric matrix representing the estimated covariance matrix of the maximum likelihood estimates. Note that this covariance matrix is for the parameter estimates under the additive parameterization and not under the usual IRT parameterization; for more info check the Details section of grm, ltm, rasch, and tpm.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl

See Also

gpcm, grm, ltm, rasch, tpm

Examples

1
2
3
fit <- rasch(WIRS)
vcov(fit)
sqrt(diag(vcov(fit))) # standard errors under additive parameterization

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.