Skip to content

Multiple Imputation and Deletion, this package is a wrapper to the mice library in that it performs deletion on imputed values to ensure analysis is conducted on only real & observed outcomes.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

gmasuncion/dimp

Repository files navigation

Overview

dimp is a package that builds on the mice library, allowing users to delete imputed values in a specified outcome variable. It contains one primary function:

  • dimp() modify and return a passed in mids object to delete imputed outcome values.

Installation

# The easiest way to get dimp is to install the whole package via devtools:
install.packages("devtools")
library(devtools)
devtools::install_github("gmasuncion/dimp")
library(dimp)

Example

library(mice)
library(dimp)

# Create a mids object
exampledata <- airquality
mice_obj <- mice(exampledata, m = 5, maxit = 5, seed = 123)

# Deletion
mice_obj_deleted <- dimp(mice_obj, "Ozone") # datasets in this object have missing outcomes

Credits

This package was created by Mark Asuncion, Ting Lin, John Fei, Luke Bai and Jason Dang as part of the group project for CHL 8010 F2: Statistical Programming and Computation for Health Data (Instructor: Dr. Aya Mitani) offered by the Dalla Lana School of Public Health at the University of Toronto (Fall 2024).

About

Multiple Imputation and Deletion, this package is a wrapper to the mice library in that it performs deletion on imputed values to ensure analysis is conducted on only real & observed outcomes.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages