Dear Statalist.
I have two models say y1 = a + bx1+cx2+e and y2 = a2 + (b1)x3+(c1)
x4+e. I want to compare if b1 = b after running the respective
regressions. I tried to store the estimates and use "test [equation1
name] _b[coefficientname] = [equation2 name] _b[coefficientname]".
I guess that stata stores only the last estimates. also when I use the
above command I get a error
=exp required
r(100);
I am not sure what I am doing wrong. Would be grateful for pointers.
Thanks.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/