Obtain the empirical or Jackknife covariance for \(\beta\).
Used in mmrm
fitting if method is "Empirical", "Empirical-Jackknife" or
"Empirical-Bias-Reduced".
h_get_empirical(tmb_data, theta, beta, beta_vcov, type)
Named list with elements:
cov
: matrix
empirical covariance.
df_mat
: matrix
to calculate Satterthwaite degree of freedom.
(mmrm_tmb_data
)
produced by h_mmrm_tmb_data()
.
(numeric
)
theta estimate.
(numeric
)
beta estimate.
(matrix
)
covariance of beta estimate.
(string
)
type of empirical method, including "Empirical", "Empirical-Jackknife"
and "Empirical-Bias-Reduced".