Learn R Programming

ordinalCont (version 0.4)

vcov.ocm: Variance-Covariance Matrix for a Fitted Model Object

Description

Calculates variance-covariance matrix for a fitted ocm object

Usage

"vcov"(object, ...)

Arguments

object
an ocm object
...
further arguments to be passed to methods

Value

Variance-covariance matrix of model parameters

Details

For the generalized logistic g-function, the variance-covariance matrix of model parameters is of dimension (len_beta +3)x(len_beta +3), where len_beta is the number of beta coefficients in the model.

See Also

ocm

Examples

Run this code
ANZ0001.ocm <- ANZ0001[ANZ0001$cycleno==0 | ANZ0001$cycleno==5,]
ANZ0001.ocm$cycleno[ANZ0001.ocm$cycleno==5] <- 1
fit.overall  <- ocm(overall  ~ cycleno + age + bsa + treatment, data=ANZ0001.ocm)
vcov(fit.overall)

Run the code above in your browser using DataLab