# NOT RUN {
if (require("Amelia")) {
data(africa)
a.out <- amelia(x = africa, cs = "country", ts = "year", logs = "gdp_pc")
model <- mi.eval(lm(civlib ~ log(gdp_pc), data=a.out, subset=year==1973))
summary(model)
}
# }
Run the code above in your browser using DataLab