get_SigmaG.glmm_nb_mod | R Documentation |
Calculates the Sigma and G components described in Kenward and
Roger (1997) while accounting for glmm_nb_mod
object
weights. Function is used in calculating Kenward-Roger degrees of
freedom in functions from the pbkrtest-package such as KRmodcomp
.
## S3 method for class 'glmm_nb_mod'
get_SigmaG(object, details = 0)
object |
A |
details |
If larger than 0 some timing details are printed. |
Sigma |
The covariance matrix of Y |
G |
The G matrices that sum up to Sigma |
n.ggamma |
The number of G matrices (Called M in Kenward and Roger 1997) |
Elizabeth Wynn and Camille Moore, underlying code drawn from code by pbkrtest-authors.
Kenward MG, Roger JH (1997). "Small Sample Inference for Fixed Effects from Restricted Maximum Likelihood." Biometrics, 53(3), 983. ISSN 0006341X. doi: 10.2307/2533558.
glmm_nb_mod
, get_SigmaG
, KRmodcomp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.