Skip to content

Instantly share code, notes, and snippets.

View JessieRayeBauer's full-sized avatar

Jessie-Raye Bauer JessieRayeBauer

View GitHub Profile
@JessieRayeBauer
JessieRayeBauer / MICE_mediate_ex.R
Last active May 24, 2023 14:08
Multiple Imputation, Mediation, R
### Use multiple imputation to create imputed data and run a mediation
#Created by Jessie-Raye Bauer, Oct. 2017
#Load Packages
library(VIM)
library(mice)
library(lattice)
# Using the built-in airquality dataset