Dear R-Users,
Background:
I have five multiple imputed datasets. For each datasets I have run a
regression analysis and combined the regression coefficients according to
Rubin (1987) rule.
Problem:
Now I want to use these combined regression coefficients on a different
dataset (with the same variable names but different values) and check how
good they can predict my dependent variable. Normally, it would use the
predict.lm function which requires an object of class "lm". But my combined
regression coefficients are an object of class "numeric". Therefore, I need
to know how to convert an object of class "numeric" to a class "lm".
For any suggestion thanks in advance,
Simon
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.