Skip to content
Back to formatted view

Raw Message

Message-ID: <1318239303021-3889664.post@n4.nabble.com>
Date: 2011-10-10T09:35:03Z
From: Sarah
Subject: Multiple imputation on subgroups

Dear R-users,

I want to multiple impute missing scores, but only for a few subgroups in my
data (variable 'subgroups':  only impute for subgroups 2 and 3).
Does anyone knows how to do this in MICE?

This is my script for the multiple imputation:
imp <- mice(data, m=20, predictorMatrix=pred, post=post, 
	method=c("", "", "", "", "","norm", "norm","norm","norm","norm","norm"), 
	maxit=20)	.

The final analysis should be on the dataset as a whole, so with subgroups 2
and 3 with observed and imputed values, and for subgroup 1 with observed
values only (and missing scores).	

Thanks.

--
View this message in context: http://r.789695.n4.nabble.com/Multiple-imputation-on-subgroups-tp3889664p3889664.html
Sent from the R help mailing list archive at Nabble.com.