compare coefficients across group
Posted: Sun Sep 13, 2009 6:24 am
Hi,
I have a question, regarding testing of coefficients across groups,
I want to see whether the effect of a certain indep. variable differs for two different groups. I've don the following and i was wondering if this is the correct way to do it in eviews:
i've run the following regression: Y = c X1 @expand(group,@dropfirst) @expand(group,@dropfirst)*X1
with X1 the indep. variable and groups is either 1 or 2.
In my opinion it gives me both the intercepts an slopes of the two groups. Anyway is the right way to test whether the slope between the two groups differ is the following:
-Do a wald coefficient test and test whether C(2) = C(4) (since these are the slopes for the 2 different groups on X1
-Low p-value of 0.034 is given which indicates that the slopes are indeed significantly differ.
Furthermore I've read that this test is not very reliable for smaller samples, is this the case?
Is the way i've done it right or conceptually wrong?
thanks a lot
Pitchforkp
I have a question, regarding testing of coefficients across groups,
I want to see whether the effect of a certain indep. variable differs for two different groups. I've don the following and i was wondering if this is the correct way to do it in eviews:
i've run the following regression: Y = c X1 @expand(group,@dropfirst) @expand(group,@dropfirst)*X1
with X1 the indep. variable and groups is either 1 or 2.
In my opinion it gives me both the intercepts an slopes of the two groups. Anyway is the right way to test whether the slope between the two groups differ is the following:
-Do a wald coefficient test and test whether C(2) = C(4) (since these are the slopes for the 2 different groups on X1
-Low p-value of 0.034 is given which indicates that the slopes are indeed significantly differ.
Furthermore I've read that this test is not very reliable for smaller samples, is this the case?
Is the way i've done it right or conceptually wrong?
thanks a lot
Pitchforkp