Learn R Programming

ltm (version 0.8-9)

vcov: vcov method for fitted IRT models

Description

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

Usage

## S3 method for class 'grm':
vcov(object, \dots)

## S3 method for class 'ltm':
vcov(object, robust = FALSE, \dots)

## S3 method for class 'rasch':
vcov(object, robust = FALSE, \dots)

## S3 method for class 'tpm':
vcov(object, \dots)

Arguments

object
an object inheriting from either 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.

See Also

grm, ltm, rasch, tpm

Examples

Run this code
fit <- rasch(WIRS)
vcov(fit)
sqrt(diag(vcov(fit))) # standard errors under additive parameterization

Run the code above in your browser using DataLab