I am doing a logistic regression analysis with an ordinal predictor variable with 3 subcategories. I fitted the model as:
csc3.model<-(glm(Churn~csc3, family="binomial"))
summary(csc3.model)
Where Churn is the dependent variable and csc3 is the ordinal variable. Then, I want to calculate the confidence intervals for the coefficients by using:
confint(csc3)
I receive the error message: "$ operator is invalid for atomic vectors". The logistic model "csc3" is recognized as a vector in R. I have searched the literature, and I do not find the way to fix this issue. Please, advice. Thanks.