library(tidyverse)
library(missCompare)
Missing data (Part 2)
Learning goals
- Explain the difference between MCAR, MAR, and MNAR missing data mechanisms and how the missing data mechanism affects the choice of imputation method
- Use the
missCompare
package to identify the optimal imputation algorithm for a particular dataset
missCompare
package
We’ll be looking at the vignette (tutorial) in the missCompare
package. To view the vignette, we can look at the online version or install the missCompare
package and view the vignette after installation:
install.packages("BiocManager")
::install("pcaMethods")
BiocManagerinstall.packages(c("missCompare", "pcaMethods"))
vignette("misscompare")