Obtains the Kenward-Roger adjusted covariance matrix for the
coefficient estimates.
Used in mmrm()
fitting if method is "Kenward-Roger" or "Kenward-Roger-Linear".
h_var_adj(v, w, p, q, r, linear = FALSE)
The matrix of adjusted covariance matrix.
(matrix
)
unadjusted covariance matrix.
(matrix
)
hessian matrix.
(matrix
)
P matrix from h_get_kr_comp()
.
(matrix
)
Q matrix from h_get_kr_comp()
.
(matrix
)
R matrix from h_get_kr_comp()
.
(flag
)
whether to use linear Kenward-Roger approximation.