vcov.sklarsomega: Compute an estimated covariance matrix for a Sklar's Omega...

Description Usage Arguments Details Value References Examples

View source: R/sklarsomega.R

Description

Compute an estimated covariance matrix for a Sklar's Omega fit.

Usage

1
2
## S3 method for class 'sklarsomega'
vcov(object, ...)

Arguments

object

a fitted model object.

...

additional arguments.

Details

See the package vignette for detailed information regarding covariance estimation for Sklar's Omega.

Value

A matrix of estimated variances and covariances for the parameter estimator. This should have row and column names corresponding to the parameter names given by the coef method. Note that a call to this function will result in an error if sklars.omega was called with argument confint equal to "none", or if optimization failed.

References

Nissi, M. J., Mortazavi, S., Hughes, J., Morgan, P., and Ellermann, J. (2015). T2* relaxation time of acetabular and femoral cartilage with and without intra-articular Gd-DTPA2 in patients with femoroacetabular impingement. American Journal of Roentgenology, 204(6), W695.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Fit a subset of the cartilage data, assuming a Laplace marginal distribution. Compute
# confidence intervals in the usual ML way (observed information matrix).

data(cartilage)
data = as.matrix(cartilage)[1:100, ]
colnames(data) = c("c.1.1", "c.2.1")
fit = sklars.omega(data, level = "interval", confint = "asymptotic",
                   control = list(dist = "laplace"))
summary(fit)
vcov(fit)

sklarsomega documentation built on July 1, 2020, 6:07 p.m.