Description Usage Arguments Details Value
Get the matrices M and H to approximate the true covariance matrix of the GEE case
1 |
y |
A matrix containing current response variable |
X |
A data frame containing the covariate for the current samples |
id |
The id for each subject in the X |
beta |
The paramters that we estimate when we use the current samples |
rho |
A numeric number indicating the estimate of correlation coefficient |
linkv |
A specification for the model link function. |
corstrv |
A character string specifying the correlation structure. The following are permitted: "independence", "exchangeable" and "ar1". |
getMH uses the current samples to obtain the covariance matrix.
a list contains several components
sandwich |
the sandwich information matrix for covariance |
M |
the matrix for calculating the sandwich information matrix for covariance |
H |
the matrix for calculating the sandwich information matrix for covariance |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.