Adjustment for the covariance matrix from a gjrm model fitted to complex survey data.
Adjustment for the covariance matrix from a gjrm model fitted to complex survey data.
adjCovSD can be used to adjust the covariance matrix of a fitted gjrm object.
adjCovSD(x, design)
Arguments
x: A fitted gjrm object as produced by the respective fitting function.
design: A svydesign object as produced by svydesign() from the survey package.
Details
This function has been extracted from the survey package and adapted to the class of this package's models. It computes the sandwich variance estimator for a copula model fitted to data from a complex sample survey (Lumley, 2004).
Returns
This function returns a fitted object which is identical to that supplied in adjCovSD but with adjusted covariance matrix.
WARNINGS
This correction may not be appropriate for models fitted using penalties.