# Technical Appendix: Workflow of `do_mc()`

#### Shu Fai Cheung & Sing-Hang Cheung

Source:`vignettes/articles/manymome_do_mc_workflow.Rmd`

`manymome_do_mc_workflow.Rmd`

## 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.

## 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.