Hi,
I am struggling with truly understanding my postestimation results following a poisson regression.
I have a panel dataset of 50 countries over 10 years. The dependant variable is a count i.e., the average number of World Bank conditions a country receives in a year. I proceeded in the following steps:
Step 1: Running Poisson regression
I include a time trend to control for structural changes in conditionality over time.
I also assume that the errors are not independent within recipient countries, and therefore cluster the standard errors by recipient country in order to control for heteroscedasticity.
Step 2: Checking Goodness of Fit:
I couldn't perform the above test with ‘xtpoisson’.
Q1) What are the alternatives of checking goodness of fit of the model other than the above command and graphical representation?
One option was to perform LR chi-square test by estimating both the poisson and negative binomial (although a formal test didn’t find any evidence of overdispersion):
However, I couldn't perform the above test because vcetype 'cluster’ is not allowed with xtnbreg.
Q2) In a previous post I was suggested to use ‘REST’, however; I have the following concerns related to REST:
Step 3: Choosing b/w Fixed vs Random Effects:
Next, I wanted to perform Hausman test for comparing between fixed and random effects as follows:
According to the Hausman results, the data fails to meet the asymptotic assumptions of the Hausman test.
Upon reading the previous posts related to my problem, some alternatives discussed were using ‘suest’, ‘sigmamore’ which I cant do with poisson. In one of the previous posts, Joas Santos Silva suggested
https://www.statalist.org/forums/for...-for-xtpoisson
However, a key author in my research field has used poisson regression with random effects after performing Hausman test. There are numerous other studies using random effects with poisson. So, I got confused reading it.
Q3) Is there any other alternative to Hausman test for poisson regressions?
Q4) I also couldnt include vce(cluster recid) while performing Hausman. Is that OK to exclude it for the sake of Hausman test only?
Some of the problems might be solved by using ‘poisson/nbreg’ instead of ‘xtpoisson/xtnbreg’ but it also comes with some limitations for instance, the option of ‘fe/re’ is not allowed with ‘poisson’. I wonder the rationale behind two different command for the same purpose.
Apologies if I am not able to put the problems clearly.
I look forward to your guidance.
Best regards,
Imran Khan.
I am struggling with truly understanding my postestimation results following a poisson regression.
I have a panel dataset of 50 countries over 10 years. The dependant variable is a count i.e., the average number of World Bank conditions a country receives in a year. I proceeded in the following steps:
Step 1: Running Poisson regression
Code:
xtset country year egen t= group(Year) xtpoisson AvConditions ForeignAid GDP Inflation Investment t, vce(cluster recid)
I also assume that the errors are not independent within recipient countries, and therefore cluster the standard errors by recipient country in order to control for heteroscedasticity.
Step 2: Checking Goodness of Fit:
Code:
poisgof last estimates for poisson not found r(301);
Q1) What are the alternatives of checking goodness of fit of the model other than the above command and graphical representation?
One option was to perform LR chi-square test by estimating both the poisson and negative binomial (although a formal test didn’t find any evidence of overdispersion):
Code:
xtpoisson AvConditions ForeignAid GDP Inflation Investment t, vce(cluster recid est store poisson xtnbreg AvConditions ForeignAid GDP Inflation Investment t, vce(cluster recid est store nbreg lrtest poisson nbreg, stats force
Q2) In a previous post I was suggested to use ‘REST’, however; I have the following concerns related to REST:
- 2A) Is RESET only valid after poisson or is it only appropriate for 'OLS’?
- 2B) As I cant specify ‘vce cluster (country)’ and ‘fe/re’ with REST, can I still rely on it?
Step 3: Choosing b/w Fixed vs Random Effects:
Next, I wanted to perform Hausman test for comparing between fixed and random effects as follows:
Code:
xtpoisson AvConditions ForeignAid GDP Inflation Investment t, fe est store fe xtpoisson AvConditions ForeignAid GDP Inflation Investment t, re est store fe hausman fe re
Upon reading the previous posts related to my problem, some alternatives discussed were using ‘suest’, ‘sigmamore’ which I cant do with poisson. In one of the previous posts, Joas Santos Silva suggested
The Poisson regression you are using is based on a non-linear model and in this context the random effects estimator will have to be based on unreasonable assumptions about the distribution of the errors. So, I would just stick to the FE regression.
However, a key author in my research field has used poisson regression with random effects after performing Hausman test. There are numerous other studies using random effects with poisson. So, I got confused reading it.
Q3) Is there any other alternative to Hausman test for poisson regressions?
Q4) I also couldnt include vce(cluster recid) while performing Hausman. Is that OK to exclude it for the sake of Hausman test only?
Some of the problems might be solved by using ‘poisson/nbreg’ instead of ‘xtpoisson/xtnbreg’ but it also comes with some limitations for instance, the option of ‘fe/re’ is not allowed with ‘poisson’. I wonder the rationale behind two different command for the same purpose.
Apologies if I am not able to put the problems clearly.
I look forward to your guidance.
Best regards,
Imran Khan.
Comment