Dear Statalist users,
I want to test the equality of coefficients from two different regressions (ivreg2 and regress) most likely using a Wald test. Unfortunately, suest does not work after ivreg2.
An example:
ivreg2 y1 X (x1_a = Z) ,gmm2s cluster(id)
regress y2 X x1_b ,cluster(id)
x1_a and x1_b is the same variable, e.g. years of education, in both models.
How can I test the equality of x1_a and x1_b (i.e. test x1_a = x1_b)?
Any help is appreciated,
Thanks a lot.
Tina
I want to test the equality of coefficients from two different regressions (ivreg2 and regress) most likely using a Wald test. Unfortunately, suest does not work after ivreg2.
An example:
ivreg2 y1 X (x1_a = Z) ,gmm2s cluster(id)
regress y2 X x1_b ,cluster(id)
x1_a and x1_b is the same variable, e.g. years of education, in both models.
How can I test the equality of x1_a and x1_b (i.e. test x1_a = x1_b)?
Any help is appreciated,
Thanks a lot.
Tina
Comment