Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73427

Comparing coefficients across two models (same X data, but slightly different Ys)

$
0
0
Hi Stata Forum,

I am checking if there is a simple way to compare two coefficients from xtreg. Take one model as Y1 = aa + b1X1 + dummies + e1 and the other model as Y2 = a2 + b2X1 + dummies + e2, where the X1 is exactly the same in both models, but the Y1 changes slightly to become Y2. I'd like to do a statistical test of whether b1=b2. This may include saving the coefficients after xtreg and then comparing them using some sort of ttest-like command or perhaps something more complex. Any information is appreciated.

Thanks,
Dan

Viewing all articles
Browse latest Browse all 73427

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>