so I am using GLM for logistic regression in R and I have some variables with many factors.
I ran the model and has the result like this:
My question is: 1. Is this variable significant? Considering only Married and Separated are significant here (p-values <0.05). What about if there are 10 different categories for a variable, but only 3 of them are significant? Should I drop it or keep it in the model?
- Also, in the case of a model where all the variables are significant but the AIC value is much higher than the one where a variable included is not significant, which one is more useful? What can cause this?

marriedandwidowtogether or maybe not. Useanovaoutput to judge if the factor variable is significant. If you have many factor levels, you could try dimension reduction techniques. Or it might make sense to model this as a random effect. Not enough information provided and it's off-topic anyway. Voting to close. – Roland Aug 01 '19 at 07:52