# Interpreting a categorical feature's overall significance

There are several discussions with similar headings, e.g. overall effects of categorical variables or Overall Significance vs. Individual Variable Significance in Mutliple Regression or Categorical Significance Test

...none of which fully answer me, and with subtly conflicting answers, I think.

Question: Once I've run a multiple regression which includes a categorical variable (5 levels in my case), what is the right test to see whether the variable, not the levels, is statistically significant to the model?

Below a screenshot of my regression (fit in python using statsmodels, and it's the AG Rating fella I'd like to check out).

Update: This may well be a duplicate. I ask this is the context of OLS (not logistic regression, the topic of the questions linked) and, python.

• Possible duplicate of Significance of categorical predictor in logistic regression Aug 26, 2019 at 15:02
• Is AG rating always present? Your AG_Rating seems to be an ordinal variable. You can try to model it as a continuous variable and look at the confidence interval for the resulting coefficent. That makes it easier to interpret. You can also do an extra sum of squares F test comparing your current model and one excluding all of the AG_Rating variables. Aug 26, 2019 at 15:03
• Fit the model once without and once with the categorical predictor and perform an likelihood-ratio test. I found an example with Python and statsmodels here. Aug 26, 2019 at 15:05
• Also relevant: stats.stackexchange.com/questions/31690/… Aug 26, 2019 at 15:14