I did imputation using mice
from the mice
package.
Then I used the function 'summary' to see the result of linear regression.
I can see the factor(age)40-59 and factor(age)60-99.
But I can't find the factor(age)20-39 from the result.
Can I know the reason?
I think the factor(age)20-39 is not linear model. Am I right?
library(mice)
data("nhanes2")
attach(nhanes2)
nhanes2.lm <- lm(chl~factor(age)+bmi, data=nhanes2)
summary(nhanes2.lm)