Dummy variables
Posted: Sat Nov 30, 2013 8:04 am
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.
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.