Closed pamaneec closed 3 years ago
@pamaneec
lm_svy_mi
is a custom function we created for the OLS regression project to deal with design effects and multiple imputation. It will not work out of the box here and I doubt that you need it as I don't think you are dealing with either of those issues. What you need depends on how american_perc
is coded. I think it is binary so you probably need a logistic regression model, which you would run with the glm
command and the family=binomial
argument.
It would be easier to help you out if your GH repository was up to date. As it is, I have no way to access your analytical data.
@AaronGullickson this is my code chuck. I dont know why it does not work.
Error in createtexreg(coef.names = rownames(model$coef), coef = model$coef$b.pool, : could not find function "createtexreg"