I'm currently working with an unbalanced panel of 9000 individuals over a 10 years period.
Whenever I run my hausman test, I get the following error message:
Note: the rank of the differenced variance matrix (11) does not equal the number of coefficients being tested (12); be sure this is what you expect, or there may be problems computing the test. Examine the output of your estimators for anything unexpected and possibly consider scaling your variables so that the coefficients are on a similar scale.
Here's my code:
Code:
// Regression xtset id date * Fixed effects xtreg ideology male age education revenue rural religion extroversion conscientiousness stability openness compassion politeness, fe estimates store fixed * Random effects xtreg ideology male age education revenue rural religion extroversion conscientiousness stability openness compassion politeness, re estimates store aleatoire // Hausman Test hausman fixed random
- ideology : 0 to 10
- male : 0 or 1
- age (years)
- education (completed)
- revenue (Euros)
- rural : 1 to 5
- religion : 0 or 1
- The rest are Likert scales :
- extroversion
- conscientiousness
- stability
- openness
- compassion
- politeness
NB: I'm using Stata 13
0 Response to Hausman test: Differenced variance matrix's rank not equal the number of coefficients
Post a Comment