Quant Memo
Statistics/●●●●●

The regression that refuses to run: the dummy variable trap

Your stocks fall into four sectors. You create four 0/1 dummy variables, one per sector, and include all four plus an intercept in the regression. The software either errors out on a singular matrix or silently drops a column.

Explain why this happens and how to fix it.

Your answer

More Statistics questions