Closed joelpick closed 2 years ago
Some packages already exist in R to do this, although don't think it would be hard to implement ourselves
https://cran.r-project.org/web/packages/missMethods/vignettes/Generating-missing-values.html https://rianneschouten.github.io/mice_ampute/vignette/ampute.html https://rmisstastic.netlify.app/how-to/generate/misssimul
This would be based on the simulated phenotype, and via the three different processes MCAR, MAR and MNAR.