View source: R/testvector_functions.R
testvec_for_mm | R Documentation |
merMod
objectFunction to calculate the test vector for an merMod
object
testvec_for_mm(mod, which = NULL, marginal = TRUE, VCOV = NULL, G = NULL, sig2 = NULL, efficient = TRUE)
mod |
|
which |
integer; if NULL, test vector is created for all coefficients, otherwise for the which'th coefficient |
marginal |
logical; whether to construct a test vector from the marginal or condition perspective |
VCOV |
covariance used for the construction of test vector |
G |
true random effect covariance |
sig2 |
true error variance |
efficient |
logical; whether to compute the test vector corresponding to the efficient beta estimator in the marginal case |
Function provides 2 different marginal test vectors (efficient = TRUE / FALSE) and one conditional test vector
Note that the covariance of residuals R is assumed to be diagonal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.