I ran 2 regressions (using regress), using the same variables, only
changing the observations. Now I have to test if the 2 coefficients of
the same variable are equal.
I only know how to do this when the coefficients are in the same
regression, or in multiple equations as in mlogit or sureg.
How to test the 2 coefficients in 2 regressions?
This was the subject of a long discussion on the list earlier this year.
You cannot perform formal tests when the coefficients are not being
estimated in the same model. sureg is one way around this, which since it
makes no assumptions about the coefficients, variances, etc. across the
equations is workable--but difficult if you have different N's in the two
equations. Any test statistic will have to take into account the
est.covariance between the two coefficients, and unless they are in the
same model, there is no way to calculate that (and surely not appropriate
to assume it away).