Hello,

I have a dataset in SPSS which contains stock index returns on a daily basis. Now I need to create dummy variables for the days Monday, Tuesday, Wednesday and Thursday.

I need to link these dummies with the stock return on its day.

So for example the stock return on Monday April 2nd is 0.01%, now I want to link the dummy 'Monday' with this. My thought was to make 4 variables (the days) and then on the date of my example, the dummy variable 'Monday' is 1 every other dummy reads 0. The same for all the other dates with the other dummy variables.

After adding all the dummies for the right day, I need to do a lineair regression on the stock returns with using the lagged return and the dummies as independent variables.

Is this the right way to do it? Or is it not as easy as I think?

Can someone please explain to me how to use those dummies for weekdays correctly?

Thanks you!

More Jesper van Os's questions See All
Similar questions and discussions