I'm building a logistic regression model in which almost all of the input variables are categorical. There are multiple sets of categorical variables, for example, day of the week, age range buckets, occupation types, etc. So it may look something like this:

(FRI is omitted as a base variable)

AGE_40_plus (omitted as base)

UTILITIES (omitted as base)

I am testing for multicollinearity using the VIF and I notice that there are usually high VIFs among the sets of categorical variables. For example, the days of the week would all have high VIFs and removing one or more fixes that.

Is this normal and expected since they do have some sort of relationship already?

NOTE: The actual variable categories are not the ones I am using, but just have provided textbook examples for ease of understanding. Not saying that days of the week are correlated in a logistic regression setting.

  • $\begingroup$ Exactly what do you mean by "usually high VIFs"? How large are they? What are your sample sizes? $\endgroup$
    – whuber
    Oct 8 '14 at 17:28
  • 1
    $\begingroup$ Hi. Thank you for the comment. The VIFs can range from above 10 up to 25,000. I am using roughly 80 variables, of which ~70 are categorical and in various sub-groups (as described above). And I have roughly 20,000 observations. Hope this helps. $\endgroup$
    – vdiddy
    Oct 8 '14 at 19:37
  • $\begingroup$ What's your sample size? $\endgroup$ Oct 8 '14 at 19:51
  • 1
    $\begingroup$ Have you systematically cross-tabulated your categorical variables to check for close dependencies? This can be a useful thing to do during initial exploration of the data and often will reveal near-collinearities between variables. $\endgroup$
    – whuber
    Nov 8 '14 at 17:35

A set of indicator (dummy) variables for the same categorical variable are always correlated: If the indicator variable for friday is 1 than the indicator variables for all other days are necessarily 0. The correlation will be higher if one category dominates the categorical variable.

Removing an additional indicator variable on top of the reference category is definately a bad idea: that way you change your reference category to a combination of your original reference category and the catagory you additionally left out, and what is that than mean?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.