Learn R Programming

nparLD (version 2.3.4)

covariance: Extract covariance matrix

Description

Extracts the estimated asymptotic covariance matrix of \(\sqrt{N}(\hat{\theta} - \theta)\) from a fitted nparLD model.

Usage

covariance(object, ...)

# S3 method for nparld_fit covariance(object, ...)

Value

The estimated asymptotic covariance matrix of \(\sqrt{N}(\hat{\theta} - \theta)\).

Arguments

object

An object of class "nparld_fit".

...

Further arguments.

Details

The returned matrix estimates the covariance matrix on the \(\sqrt{N}\) asymptotic scale. Consequently, the covariance matrix of \(\hat{\theta}\) itself is obtained approximately as covariance(object) / N, where N is the number of independent subjects.