Hi there,
I have a problem with the estimation of two panel data models:
The target of my analysis is to outline the effect of the sector in which a company operates on participation in a specific government programme; I have an unbalanced panel dataset consisting of 500 companies over 10 years.
The dependent variable is binary and states whether a company took place in a government programme. In the first model the DV sometimes is constant at firm level (meaning that the company participated in the programme in each year or never), in the second model the DV always is constant at company level (a company either always or never participated).
The main independent variable is given by the sector in which the company operates (and is thus time-invariant), further control variables as growth, ln(sales), profitability are added to the model.
When it comes to estimation I am not sure which model to use. At first I thought about xtprobit (random effects) or xtlogit (fixed effects) and ran a hausman test:
xtlogit programme i.sector growth ln_sales profitability past_performance , fe
estimates store fe
xtprobit programme i.sector growth ln_sales profitability past_performance , re
estimates store re
hausman fe re
Prob>chi2 = 0.0001, so I cannot use re and use fixed effects
When using FE, in the first model some of the business sectors are dropped as there is no within-group variance, the second model does not work at all with fixed effects as the outcome does not vary for any company.
To my nowledge the ordinary random effects model cannot be used as hausman suggests that the estimator is not consistent.
In another post on Statalist I read about using correlated random effects (http://conference.iza.org/conference...nonlin_iza.pdf, Stata commands 'mundlak' or 'xthybrid'), but this does not work using factor variables.
I really want to outline the effect of the sector on participation, so dropping the variable is not an option.
Does anyone know which model to use? Thanks a lot in advance!
Regards
Dominik
I have a problem with the estimation of two panel data models:
The target of my analysis is to outline the effect of the sector in which a company operates on participation in a specific government programme; I have an unbalanced panel dataset consisting of 500 companies over 10 years.
The dependent variable is binary and states whether a company took place in a government programme. In the first model the DV sometimes is constant at firm level (meaning that the company participated in the programme in each year or never), in the second model the DV always is constant at company level (a company either always or never participated).
The main independent variable is given by the sector in which the company operates (and is thus time-invariant), further control variables as growth, ln(sales), profitability are added to the model.
When it comes to estimation I am not sure which model to use. At first I thought about xtprobit (random effects) or xtlogit (fixed effects) and ran a hausman test:
xtlogit programme i.sector growth ln_sales profitability past_performance , fe
estimates store fe
xtprobit programme i.sector growth ln_sales profitability past_performance , re
estimates store re
hausman fe re
Prob>chi2 = 0.0001, so I cannot use re and use fixed effects
When using FE, in the first model some of the business sectors are dropped as there is no within-group variance, the second model does not work at all with fixed effects as the outcome does not vary for any company.
To my nowledge the ordinary random effects model cannot be used as hausman suggests that the estimator is not consistent.
In another post on Statalist I read about using correlated random effects (http://conference.iza.org/conference...nonlin_iza.pdf, Stata commands 'mundlak' or 'xthybrid'), but this does not work using factor variables.
I really want to outline the effect of the sector on participation, so dropping the variable is not an option.
Does anyone know which model to use? Thanks a lot in advance!
Regards
Dominik
Comment