Estimate Interaction Effects using Eviews 8

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

Benj
Posts: 2
Joined: Sun Dec 21, 2014 9:42 am

Estimate Interaction Effects using Eviews 8

Postby Benj » Sun Dec 21, 2014 10:30 am

Hi,

I estimated an equation that includes a dummy variable, GROUP [coded 1, 2, 3] in the following format:

LS VARY C @EXPAND(GROUP)*VARX

Eviews displayed the coefficients for:

C
(GROUP1)*VARX
(GROUP2)*VARX
(GROUP3)*VARX

First question:
I presume the coefficients are the separate slopes for VARX for the 3 groups respectively, am I right?

Second question:
In other statistical software such as Stata the same equation will generate the following results [by default GROUP=1 is the base group]:

C
VARX [ie. the slope of VARX for GROUP=1]
(GROUP2)
(GROUP3)
(GROUP2)*VARX [ie. the difference in slope between VARX for GROUP=2 and VARX for GROUP=1]
(GROUP3)*VARX [ie. the difference in slope between VARX for GROUP=3 and VARX for GROUP=1]

Is there a way to display the above results using Eviews?

Thanks.

Regards,

Ben

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Estimate Interaction Effects using Eviews 8

Postby startz » Sun Dec 21, 2014 10:52 am

Code: Select all

ls vary c @expand(Group,@dropfirst) varx @expand(group,@dropfirst)*varx
I think...I haven't tried it.

Benj
Posts: 2
Joined: Sun Dec 21, 2014 9:42 am

Re: Estimate Interaction Effects using Eviews 8

Postby Benj » Sun Dec 21, 2014 11:13 am

Hi Startz,

I tried it and it worked! This is great.

Thanks so much!

Regards,

Ben


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest