Hi all,
I have been trying to conduct regression analysis for two different groups. Later on, I want to compare the coefficients and see whether they are statistically different.
Now I am using Stata 13.1 and the following code:
The xi: in combination with i.year seem to be troublesome as it is not possible to use the 'if' qualifier.
What is the best way to run these regressions for different groups and to be able to compare them afterwards?
Thanks in advance,
Jules
I have been trying to conduct regression analysis for two different groups. Later on, I want to compare the coefficients and see whether they are statistically different.
Now I am using Stata 13.1 and the following code:
Code:
xi: areg varlist i.year, absorb(industry) robust cluster(company_id)
What is the best way to run these regressions for different groups and to be able to compare them afterwards?
Thanks in advance,
Jules
Comment