-1
$\begingroup$

I saw an interesting Economics post yesterday with the long comment. I post the regression result of the OP here

enter image description here

I saw @chan1142 stated that

Thanks. I see the _cons row. That's the intercept; the dummy variable for the reference group (probably TYPE2 = 1) is omitted in order to avoid the dummy variable trap

Can you simply exlain the dummy variable trap in this case for me? And why the reference group here is TYPE2, whether TYPE2 is a binary variable?

$\endgroup$
2
$\begingroup$

From Wikipedia (emphasis of the simple example by me):

In the panel data, fixed effects estimator dummies are created for each of the units in cross-sectional data (e.g. firms or countries) or periods in a pooled time-series. However, in such regressions either the constant term has to be removed or one of the dummies has to be removed, with its associated category becoming the base category against which the others are assessed in order to avoid the dummy variable trap:
The constant term in all regression equations is a coefficient multiplied by a regressor equal to one. When the regression is expressed as a matrix equation, the matrix of regressors then consists of a column of ones (the constant term), vectors of zeros and ones (the dummies), and possibly other regressors. If one includes both male and female dummies, say, the sum of these vectors is a vector of ones, since every observation is categorized as either male or female. This sum is thus equal to the constant term's regressor, the first vector of ones. As result, the regression equation will be unsolvable, even by the typical pseudoinverse method. In other words: if both the vector-of-ones (constant term) regressor and an exhaustive set of dummies are present, perfect multicollinearity occurs, and the system of equations formed by the regression does not have a unique solution. This is referred to as the dummy variable trap. The trap can be avoided by removing either the constant term or one of the offending dummies. The removed dummy then becomes the base category against which the other categories are compared.

In the output above every year has its own dummy variable. To avoid the trap one had to be removed. The dummy for the second year, 1993 was removed from the regression equation.

$\endgroup$

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.