Displaying 2 results from an estimated 2 matches for "defaultlinear".
2003 Jul 27
1
multiple imputation with fit.mult.impute in Hmisc
...ing data by keeping my distance from
the real world. But I have a student who is doing a study of
real patients. We're trying to test regression models using
multiple imputation. We did the following (roughly):
f <- aregImpute(~ [list of 32 variables, separated by + signs],
n.impute=20, defaultLinear=T, data=t1)
# I read that 20 is better than the default of 5.
# defaultLinear makes sense for our data.
fmp <- fit.mult.impute(Y ~ X1 + X2 ... [for the model of interest],
xtrans=f, fitter=lm, data=t1)
and all goes well (usually) except that we get the following
message at the end of the last...
2005 Jul 09
1
aregImpute: beginner's question
...et.seed(5)
f <- aregImpute(~y +
podb2+propdemocracy+avetrade1984dollars+concentration+cycle+polarity+propmid+terrgainer+
demgainer+ fedgainer+ popdengainer+ urbpopgainer+ tradeopgainer+
gdppcgainer+ terrloser+ demloser+ fedloser+ popdenloser+ urbpoploser+
tradeoploser+ gdppcloser, n.impute=100, defaultLinear=TRUE, data=d)
par(mfrow=c(2,3))
plot(f, diagnostics=TRUE, maxn=2)
fmi <- fit.mult.impute(y ~
podb2+propdemocracy+avetrade1984dollars+concentration+cycle+polarity+propmid+terrgainer+
demgainer+ fedgainer+ popdengainer+ urbpopgainer+ tradeopgainer+
gdppcgainer+ terrloser+ demloser+ fedloser+ popde...