Page 1 of 1

Dummy variables

Posted: Sat Nov 30, 2013 8:04 am
by Strayzen23
Hello. I'm having a problem.
My task is to make 3 dummy variables named "june", "july" and "august". June should be =1, when Month=6, and 0 if Month is not 6, july =1, when Month=7, and 0 if Month is not 7, and august =1, when Month=8 and 0 if Month is not 8.


After that I have to estimate sample variable between ArrDelay, Dep Delay and Distance. In other words, estimate the correlation matrix.

Can someone please show me how to do it, either by words or print screens of the process.

Re: Dummy variables

Posted: Sat Nov 30, 2013 8:40 am
by trubador
You'll find plenty of examples in the forum if you search. Like this one: http://forums.eviews.com/viewtopic.php?f=4&t=3840
I also recommend "EViews Illustrated"...

Re: Dummy variables

Posted: Sat Nov 30, 2013 8:55 am
by EViews Gareth

Re: Dummy variables

Posted: Sat Nov 30, 2013 12:44 pm
by Strayzen23
Can't make it work. Just get NA on the months that are different to 6.
Can someone please help me solve this?

Re: Dummy variables

Posted: Sat Nov 30, 2013 12:50 pm
by EViews Gareth
What did you do?

Re: Dummy variables

Posted: Sun Dec 01, 2013 5:48 am
by Strayzen23
got i now :)