Back to Article
Sensitivity Analysis
Download Source

Sensitivity Analysis: Impute Sensing Data with MiceRanger

Sensitivity Analysis

Authors
Affiliations

Florian Pargent

LMU Munich

David Goretzko

Utrecht University

Timo von Oertzen

Bundeswehr University Munich and Max Planck Institute for Human Development

Published

March 4, 2024

Important

This document is an updated copy of a published commentary, to showcase Quarto manuscripts in our Quarto workshop. The official online repository of our published commentary can be found here.

The analysis presented in the electronic supplemental material document are quite similar for more elaborate imputation schemes. For the interested reader, we prepared data imputed with the miceRanger package.

In [1]:
library(miceRanger)
phonedata_sensing = readRDS(file = "datasets/clusterdata.RDS")
phonedata_sensing = phonedata_sensing[, c(1:1821)]
set.seed(42)
mice_obj_sensing = miceRanger(phonedata_sensing, m = 1, maxiter = 1, 
  valueSelector = "meanMatch", verbose = FALSE)
saveRDS(mice_obj_sensing, file = "mice_obj_sensing.RDS")

See the instructions on how to use this imputed dataset in the electronic supplemental materials.