Displaying 1 result from an estimated 1 matches for "podb2".
Did you mean:
pod2
2005 Jul 09
1
aregImpute: beginner's question
...AD DATA (61Kb)
download.file("http://www.people.fas.harvard.edu/~corr/tc.csv","C:/R")
tc <- read.csv("tc.csv", header = TRUE)
d <- as.data.frame(tc)
n <- naclus(d)
plot(n); naplot(n) # Show patterns of NAs
#RUN aregImpute
set.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...