newbie, eviews7, how to interact two dummy variables?

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

rachealchung
Posts: 4
Joined: Fri May 03, 2013 8:04 am

newbie, eviews7, how to interact two dummy variables?

Postby rachealchung » Fri May 03, 2013 8:06 am

I end up getting N/A for some of the values?

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

Re: newbie, eviews7, how to interact two dummy variables?

Postby startz » Fri May 03, 2013 8:10 am

You might want to show us exactly what you did.

rachealchung
Posts: 4
Joined: Fri May 03, 2013 8:04 am

Re: newbie, eviews7, how to interact two dummy variables?

Postby rachealchung » Fri May 03, 2013 8:16 am

I have two sets of dummy variables, one of them is gender (female=0 male=1) the other is a salesperson (salesperson B=1 salesperson A=0) how do I go about generating an interaction variable for them?

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

Re: newbie, eviews7, how to interact two dummy variables?

Postby startz » Fri May 03, 2013 8:17 am

gender*salesperson

rachealchung
Posts: 4
Joined: Fri May 03, 2013 8:04 am

Re: newbie, eviews7, how to interact two dummy variables?

Postby rachealchung » Fri May 03, 2013 10:18 am

Yup thats what I did, I assume that N/A values are generated from 0*0? can I still run a regression on that?

EViews Glenn
EViews Developer
Posts: 2671
Joined: Wed Oct 15, 2008 9:17 am

Re: newbie, eviews7, how to interact two dummy variables?

Postby EViews Glenn » Fri May 03, 2013 10:27 am

0*0 = 0

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

Re: newbie, eviews7, how to interact two dummy variables?

Postby startz » Fri May 03, 2013 10:27 am

No, 0*0 will give you zero. You probably have NA values in one of your dummies.


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 14 guests