Dear Stata users,
Thank you in advance for you kind response.
I am looking for a way to compare coefficients of two count data models. The count outcome of the first model is number of plant openings in a country and the outcome of the second model is number of closures in a country. All predictor variables are the same. The two models look like:
model A: nbreg openings var1 var2.....var6 i.year i.country
model B: nbreg closures var1 var2 ...var6 i.year i.country
At the moment the only way I found to "compare" coefficients is to do a Wald test with null hypothesis being:H0=var1(of model A)-var1(model B)=0
I have seen that one way to see differences in coefficients is to use interaction terms with dummy variables on the outcome, but my understanding is that the outcomes in these cases are mutually exclusive. In my case, it is possible to have openings and closures in the same year in the same country.
Any ideas how to deal with this issue (if possible) are more than welcome.
Ioannis
Thank you in advance for you kind response.
I am looking for a way to compare coefficients of two count data models. The count outcome of the first model is number of plant openings in a country and the outcome of the second model is number of closures in a country. All predictor variables are the same. The two models look like:
model A: nbreg openings var1 var2.....var6 i.year i.country
model B: nbreg closures var1 var2 ...var6 i.year i.country
At the moment the only way I found to "compare" coefficients is to do a Wald test with null hypothesis being:H0=var1(of model A)-var1(model B)=0
I have seen that one way to see differences in coefficients is to use interaction terms with dummy variables on the outcome, but my understanding is that the outcomes in these cases are mutually exclusive. In my case, it is possible to have openings and closures in the same year in the same country.
Any ideas how to deal with this issue (if possible) are more than welcome.
Ioannis
Comment