From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: question on chow test |
Date | Sun, 20 Feb 2005 00:27:00 -0500 |
At 11:27 PM 2/19/2005 -0800, jiang.107 wrote:
Hi all, any expert in chow test? I've got a question and would appreciate any insight--Are you sure you want to let the effects of all the Xs differ across groups? If not, you could just do
This is from the STATA FAQ:
to estimating the separate models
y = a1 + b1*x1 + c1*x2 + u for group == 1
y = a2 + b2*x1 + c2*x2 + u for group == 2
. gen g2 = (group==2)
. gen g2x1 = g2*x1
. gen g2x2 = g2*x2
. regress y x1 x2 g2 g2x1 g2x2
My problem is that I've got lots of control variables on the right hand side(x1,x2....x15). I'm only interested in x1 and I wanna test if the coefficient of x1 is significantly different for the two groups.
From the STATA FAQ, it looks like I need to interact each variable with the group dummy, which is awkward with too many control variables in my case when I only wanna test for x1.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |