View source: R/info_matrix_functs.R
get_info_mat_pieces | R Documentation |
Obtain the pieces needed to compute standard errors.
get_info_mat_pieces(em_fit)
em_fit |
a fitted GLM-EIV model, as outputted by run_em_algo_given_init. |
A list of pieces required to calculate the observed information matrix.
## Not run:
dat <- get_quick_simulated_data(10000)
em_fit <- run_em_algo_given_init(m = dat$m, g = dat$g, m_fam = poisson(), g_fam = poisson(),
covariate_matrix = dat$covariate_matrix, initial_Ti1s = dat$p, m_offset = NULL, g_offset = NULL)
info_mat_pieces <- get_info_mat_pieces(em_fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.