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?