Skip to contents

Goal

This technical appendix describes how do_mc() from the package manymome (Cheung & Cheung, 2023) works to generate Monte Carlo estimates to be used by other functions to form confidence intervals.

do_mc()

Workflow of manymome::do_mc()

fit2mc_out()

It retrieves stored Monte Carlo estimates

Workflow of manymome::fit2mc_out()

Notes

Extracting Point Estimates and Variance-Covariance Matrix

When the point estimates or variance-covariance matrix of the point estimates are needed, they will be extracted internally using functions developed for the fit object, which can be a lavaan-class object, a list of the outputs from stats::lm(), or a lavaan.mi-class object generated by fitting a model to several datasets using multiple imputation.