1

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).

enter image description here

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.

1 Answers1

1

I would do hierarchical regression analysis, creating let's say 2 models, one without this categorical variable, and another with it. Then run anova to see whether adding this variable significantly improved the model. I did it in R, and can't tell how to do it with Python.

ElenaM
  • 49
  • 1
  • 1
  • 5