I have a hourly data covering the period of 01/jan/2009 to 31/dec/2018, and I want to create dummies for each day of the week, each month and each year.
For the day of the week and month dummies I have conducted the following codes with success:
Code: Select all
genr january=@month=1Code: Select all
genr monday=@weekday=1Does anyone know how can it be done?
I thank you all in advance.
