Hi,
Is there a simple way to test if a common coefficient is equal across multiple regressions? I have a long panel data with 50 individuals(id) in 120 time periods(t). I am interested in running a time series regression, expenditure vs income for each individual : exp_i=a_i+b_i*inc_i, and test if the coefficient on income is equal for all 50 individuals, that is b1=b2=....=b50
It is straightforward to obtain 50 coefficients on inc for each individual, using statsby:
test command in stata may be appropriate for 2 or 3 equations. But how do I test equality of 50 coefficients?
Any advice is much appreciated.
Thank you
Is there a simple way to test if a common coefficient is equal across multiple regressions? I have a long panel data with 50 individuals(id) in 120 time periods(t). I am interested in running a time series regression, expenditure vs income for each individual : exp_i=a_i+b_i*inc_i, and test if the coefficient on income is equal for all 50 individuals, that is b1=b2=....=b50
It is straightforward to obtain 50 coefficients on inc for each individual, using statsby:
Code:
statsby beta_inc=_b[inc] , sa(`results',replace) by(id) verbose nodots : regress exp inc
Any advice is much appreciated.
Thank you
Comment