Sign in

MICE

@amices.bsky.social
24 followers 4 following 4 posts

Home of the #RStats imputation package {mice}. Amices is a place for people interested in solving missing data problems. See amices.org & github.com/amices. Posts by @oberman.bsky.social

PostsRepliesMedia
MICE @amices.bsky.social · 23/07/2026
What if you want to predict the missing values instead of doing inference with incomplete data?
000
MICE @amices.bsky.social · 23/07/2026
"mice: the only method here that carries imputation uncertainty into the model. Use it whenever the output is an estimate, a confidence interval, or a p-value, the typical medical or epidemiological analysis. Ten years on, it is still the right default for inference."
0158
MICE @amices.bsky.social · 24/03/2026
Meet Mr. MICE himself! This summer, Stef van Buuren teaches 'Solving Missing Data Problems in R' at @utrechtuniversity.bsky.social. Learn cutting-edge techniques for addressing missing data problems in statistics and modern machine learning workflows. utrechtsummerschool.nl/courses/data...
Screenshot of course page 'Data Science: Solving Missing Data Problems in R'
URL: https://utrechtsummerschool.nl/courses/data-science/data-science-solving-missing-data-problems-in-r
052
Reposted by MICE
Thom Volker @thomvolker.bsky.social · 13/03/2026
Do you struggle with missing data in your statistical analyses? Come join our Summer School "Solving Missing Data Problems in R"! We will tell you when you can safely use complete case analysis, and when more dedicated strategies are required! utrechtsummerschool.nl/courses/data...
02914
Reposted by MICE
Thom Volker @thomvolker.bsky.social · 29/09/2025
Cool stuff! Florian van Leeuwen and I implemented a prediction function in the #mice package that allows the incorporation of missing data uncertainty in a prediction interval. The `predict_mi()` function is available in the current development version: github.com/amices/mice #Rstats #statsky
Image of R code. To reproduce:

library(ggplot2)
library(dplyr)

library(mice, warn.conflicts = FALSE)
 
imp <- mice(nhanes, m = 5, maxit = 5, seed = 1, 
            ignore = rep(c(FALSE, TRUE), c(20, 5)), 
            print = FALSE)
 
impdats <- complete(imp, "all")
 
train <- lapply(impdats, function(dat) subset(dat, !imp$ignore))
test <- lapply(impdats, function(dat) subset(dat, imp$ignore))
 
fits <- lapply(train, function(dat) lm(age ~ bmi + hyp + chl, data = dat))
preds <- predict_mi(object = fits, newdata = test, pool = TRUE, interval = "prediction")
 
preds
 
preds %>% 
  as.data.frame() %>% 
  mutate(case = 1:nrow(preds),
         y = test[[1]]$age) %>% 
  ggplot(aes(x = fit, y = case, col = rowSums(is.na(nhanes[imp$ignore,]))>0)) +
  geom_point() +
  geom_errorbar(aes(xmin = lwr, xmax = upr)) +
  theme_minimal() +
  scale_color_manual(values = mice::mdc(1:2), labels = c("observed", "missing")) +
  theme(legend.title = element_blank(),
        legend.position = "bottom") +
  labs(x = "prediction",
       title = "Pooled prediction intervals")
2183
Reposted by MICE
Hanne Oberman @oberman.bsky.social · 03/02/2025
Is mean imputation effective? Yes—at filling in the missings; but also Yes—at biasing any subsequent analyses. stefvanbuuren.name/fimd
021
MICE @amices.bsky.social · 06/01/2025
📊 Struggling with missing data in your analyses? Join our 4-day course 'Advanced Techniques for Handling Missing Data' at @utrechtuniversity.bsky.social! 📅 24–27 Mar 2025 📍 Utrecht, NL 💶 €730 | 1.5 ECTS Learn cutting-edge imputation with {mice} in R. Apply by March 10th! #RStats #DataScience
utrechtsummerschool.nl
Advanced Techniques for Handling Missing Data in analysis and prediction workflows | Utrecht Summer School
This 4-day course provides cutting-edge techniques for addressing missing data problems, focusing on the intersection of statistical theory and modern machine learning workflows.
072