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")
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
29.09.2025 13:32 β π 17 π 3 π¬ 2 π 0
Looking forward to talking about our work on the value of explanation for decision-making at this workshop
07.10.2025 14:32 β π 8 π 1 π¬ 0 π 0
Both can hold simultaneously? But it's Dutch indeed!
07.10.2025 14:14 β π 2 π 0 π¬ 0 π 0
"emerging literature" == i presented once at a conference
"recent research" == two papers and one blog post
"research tradition" == everything in my zotero folder
At least, that's what I was told
07.10.2025 13:12 β π 17 π 5 π¬ 1 π 0
For all things related to R, I find it as intuitive as RStudio, with the addition that it's very easy to mix in python when needed. There are quite some handy tricks implemented, like the thing with color codes or creating github issues from "TODO"s in markdown in a single click.
07.10.2025 13:28 β π 1 π 0 π¬ 1 π 0
Click on the title of the picker and itβll switch between hex, RGB, and HSL!
06.10.2025 23:28 β π 5 π 2 π¬ 0 π 0
How cool is this?! Positron opens a HTML color picker when typing a HTML color in your script.
#RStats #dataviz
06.10.2025 20:16 β π 37 π 6 π¬ 2 π 0
βLittered with errors including three nonexistent academic references and a made-up quote from a Federal Court judgement.β
Deloitte issues refund to (Aus) government for using AI in $440k report
06.10.2025 09:21 β π 23 π 11 π¬ 0 π 0
No pets for you I guess?
06.10.2025 19:11 β π 5 π 0 π¬ 1 π 0
Die gelijkenis is inderdaad treffend!
06.10.2025 18:29 β π 0 π 0 π¬ 0 π 0
DOGE got nothing on this.
06.10.2025 18:19 β π 2 π 0 π¬ 0 π 0
Ja, ik denk dat dat, verdrietig genoeg, inderdaad is wat veel mannen willen. Het onderstaande fragment maakt een vergelijkbaar punt. Bizar dat de emancipatie eerder achteruit gaat dan verbetert.
06.10.2025 18:15 β π 1 π 0 π¬ 2 π 0
Meneer die denkt dat iedereen z'n profielfoto in hoge resolutie wilt om boven hun bed te hangen noemt 250.000 andere mensen een narcist.
05.10.2025 22:28 β π 214 π 22 π¬ 28 π 8
Ik vraag me altijd vooral af of deze mannen een partner willen of een soort assistent die het huishouden runt
06.10.2025 17:52 β π 2 π 0 π¬ 1 π 0
Wij zΓ©ggen niet alleen dat we wonen prioriteit maken, we investeren er groot in.
We nemen het heft in eigen hand, doorbreken de stilstand en we gaan bouwen voor de sociale meerderheid.
We hebben dit eerder gedaan. En we kunnen het opnieuw.
#SamenVooruit
01.10.2025 05:18 β π 347 π 113 π¬ 16 π 14
On LLM's
06.10.2025 13:59 β π 0 π 0 π¬ 1 π 0
ELLIS PhD Program: Call for Applications 2025
The ELLIS mission is to create a diverse European network that promotes research excellence and advances breakthroughs in AI, as well as a pan-European PhD program to educate the next generation of AI...
I'm looking for a doctoral student with Bayesian background to work on Bayesian workflow and cross-validation (see my publication list users.aalto.fi/~ave/publica... for my recent work) at Aalto University.
Apply through the ELLIS PhD program (dl October 31) ellis.eu/news/ellis-p...
06.10.2025 09:28 β π 38 π 30 π¬ 0 π 1
Angry goose meme where in the first panel the goose says "βAdults and children alike were pulled from their Chicago apartments" then in the second panel the goose is chasing the person angrily saying "WHO PULLED THEM, CNN?".
Interesting use of the passive voice you've got there, CNN..
04.10.2025 19:34 β π 802 π 88 π¬ 8 π 4
Well, this constrains my ideas substantially already
03.10.2025 20:50 β π 3 π 0 π¬ 0 π 0
Does the topic matter?
03.10.2025 20:46 β π 3 π 0 π¬ 2 π 0
If you've ever wanted to learn how to make beautiful websites with #QuartoPub and #rstats , check out this workshop I'm giving in a couple weeks! It'll be a blast (and we're covering Quarto's brand new _brand dot yaml system!)
03.10.2025 18:36 β π 85 π 28 π¬ 3 π 1
ffs
03.10.2025 18:16 β π 1 π 1 π¬ 0 π 0
This is perhaps the ultimate expression of the phenomenon feminist theorist Marilyn Frye described 50yrs ago: that many self-proclaimed heterosexual men neither like nor desire women.
This is why the bros invented RealDolls & now AI "actresses:" they want femininity, not human beings who are women.
02.10.2025 21:19 β π 80 π 20 π¬ 1 π 2
Die stortvloed aan moties zijn symptomatisch voor de stand van het politieke bestel: partijen staan in permanente campagnestand, korte termijn prevaleert boven alles en langdurige problemen oplossen is vooral een kostenpost die niet scoort.
03.10.2025 08:32 β π 1 π 0 π¬ 0 π 0
Surreal moment for America. Needless to say, if the normal police ever pulled something like this β pulling every single person out of an apartment building and handcuffing them to run warrant checks β they would be sued into oblivion.
Yet ICE is going to get away with it entirely.
02.10.2025 12:01 β π 5583 π 2804 π¬ 220 π 209
This is so clearly illegal that I'd expect a Democratic mayor to call on police forces to protect citizens against this. I find it shocking that dem politicians in general and mayors specifically barely stand for their citizens.
02.10.2025 13:11 β π 4 π 0 π¬ 0 π 0
I also don't remember it being any different.
02.10.2025 07:51 β π 1 π 0 π¬ 0 π 0
Like, my brother in christ, your entire business is propped up by absurd government subsidies and if those vanished, you would almost immediately be forced to sell to a large ag company and resort to sharecropping.
02.10.2025 04:22 β π 5 π 1 π¬ 1 π 0
- a well read woman is a dangerous creature -
https://www.goodreads.com/user/show/27108990-stella-starlight
research fellow @clscohorts.bsky.social
epidemiology, causal inference, methods
Professor of Sociology, Dartmouth;views my own. Author, 'Capital w/out Borders' https://shorturl.at/bGsLB and 'Offshore' https://shorturl.at/rTacl; words
@washingtonpost.com, @nytimes.com, the Atlantic & the Guardian.
All at brookeharrington.com
muziek | media | communicatie | commotie | vinyl | verwarring
Statistics, epidemiology, education, social inequality, genetics. UCL.
Uses machine learning to study literary imagination, and vice-versa. Likely to share news about AI & computational social science / Sozialwissenschaft / η€ΎδΌη§ε¦
Information Sciences and English, UIUC. Distant Horizons (Chicago, 2019). tedunderwood.com
Comics by Reza Farazmand (official account!)
Blog: https://argmin.substack.com/
Webpage: https://people.eecs.berkeley.edu/~brecht/
Studies Perceptions of Discrimination and the Integration Paradox in European Societies | PhD Candidate | Utrecht University | she/her | https://chlolv.github.io/chloelavest/
Professor of Political Pluralism
University of Amsterdam | Extremism, populism, radicalism scholar | Board member IISG Amsterdam and Wiardi Beckman Foundation | Allotmenteer | Zeeuws meisje |
Koreanist/historicus/schrijver/vertaler | (N-)Korea/history/human rights/Prof Leiden νκ΅/κ³ λ €/λΆν/μμ¬/λ μ΄λ΄λνκ΅μ|| #WOinActie|
|serie-Big in Korea | https://www.boekenwereld.com/TT?tt=12322_12_496421_&r=%2Fgetbook%2Fisbn%2Faddtocart%2Fisbn-9789026371509
PostDoc working at TU Munich.
Interested in on computational modelling, decision-making, and confidence.
Cat owner, Ireland lover and brass music fan
Working towards the safe development of AI for the benefit of all at UniversitΓ© de MontrΓ©al, LawZero and Mila.
A.M. Turing Award Recipient and most-cited AI researcher.
https://lawzero.org/en
https://yoshuabengio.org/profile/
π #DataViz | #rstats | #Episky | πβ¨οΈ | πΎ
Documenting my learning to bridge Biochemistry & Health Data Science.
Open to collaborations on health data-driven projects & community learning.
LinkedIn: www.linkedin.com/in/darakhshan-nehal-b38747154/
Biostatistician @IDEXX formerly at harvardmed, @BIDMChealth, @nasa. Big data, clinical trials, and medical diagnostics. Mainer. Opinions are my own. he/him
Computer science, math, machine learning, (differential) privacy
Researcher at Google DeepMind
Kiwiπ³πΏ in CaliforniaπΊπΈ
http://stein.ke/
Epidemiologist/mathematician. Professor at London School of Hygiene & Tropical Medicine. Author of The Rules of Contagion and The Perfect Bet. Views own.
New book Proof: The Uncertain Science of Certainty available now: proof.kucharski.io
Meningen. Campagnes. Metal.
www.buubcommunicatie.nl
Research in #statistics, University of Warwick. https://warwick.ac.uk/dfirth
Also @firthstat@fediscience.org (Mastodon)
Current main interest is compositional data analysis. Programming in #rstats
I'm here because Noah told me to sign up. IG @the_mehlman_delivers