I have the following hypothetical dataset of avg. sunshine hours on weekdays in 10 different countries, i.e.:
- USA - Monday - 5 hours
USA - Tuesday -6 hours
USA - Wednesday - 4 hours
USA - Thursday - 5.7 hours
USA -Friday - 7 hours
Canada - Monday - 4 hours
Canada - Tuesday -4.5 hours
...
...
...
Germany - Friday - 2 hours
In order to so, I have set up my workfile as a dated/regular frequency workfile with the frequency option "daily 5 day week". For starting date I chose any arbitrary date starting on a monday, and as end date I chose a date which is 10 countries * 5 days/country = 100 weekday days after the start date. The reason I did this is that I can now easily run a dummy regression with Wednesday as the constant by the following command:
Code: Select all
ls sunshine c @expand(@weekday, @drop(3))Thanks for hints and suggestions.
