hgmat_cov | R Documentation |
See details in Parsons N., et al. "A generalized estimating equation method for fitting autocorrelated ordinal score data with an application in horticultural research." Journal of the Royal Statistical Society: Series C (Applied Statistics) 55.4 (2006): 507-524. This function is used to calculate the covariance matrix
hgmat_cov(mod, smat, X, modtype, diffmeth, alpha, corrmod, h)
mod |
the fitted model with independence working correlation structure |
smat |
the matrix of correlations among elements in $Z_it$ |
X |
the design matrix |
modtype |
a character string specifying the model type (CPM or GLM) |
diffmeth |
a character string specifying the method used for estimation of alpha |
alpha |
the association parameter |
corrmod |
the specified working correlation structure |
h |
a numeric value of options to control the fitting algorithm |
A list including H and G
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.