vcov.LORgee | R Documentation |
Returns the variance-covariance matrix of the main parameters of a fitted model LORgee object.
## S3 method for class 'LORgee'
vcov(object, method = "robust", ...)
object |
a fitted model LORgee object. |
method |
character indicating whether the sandwich (robust) covariance
matrix ( |
... |
additional argument(s) for methods. |
Default is to obtain the estimated sandwich (robust) covariance matrix and
method = "naive"
obtains the estimated model-based (naive) covariance
matrix
A matrix of the estimated covariances between the parameter estimates in the linear predictor of the GEE model. This should have row and column names corresponding to the parameter names given by the coef method.
fitmod <- ordLORgee(formula = y ~ factor(time) + factor(trt) + factor(baseline),
data = arthritis, id = id, repeated = time, LORstr = "uniform")
vcov(fitmod, method = "robust")
vcov(fitmod, method = "naive")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.