Skip to contents

Goal

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

do_boot()

Workflow of manymome::do_boot()

lavaan

fit2boot_out()

It retrieves stored bootstrap estimates.

Workflow of manymome::fit2boot_out()

fit2boot_out_do_boot()

Workflow of manymome::fit2boot_out_do_boot()

lm

lm2boot_out_parallel()

Workflow of manymome::lm2boot_out_parallel()

lm2boot_out()

Workflow of manymome::lm2boot_out()

Notes

Extracting Point Estimates

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

Reference

Cheung, S. F., & Cheung, S.-H. (2023). manymome: An R package for computing the indirect effects, conditional effects, and conditional indirect effects, standardized or unstandardized, and their bootstrap confidence intervals, in many (though not all) models. Behavior Research Methods. https://doi.org/10.3758/s13428-023-02224-z