seasonal dummy for weekly data s=52
Posted: Sun Feb 21, 2016 9:51 am
hi every one
1)for monthly s=12 (@expand(@month)) and quarterly s=4(@expand(@quarter)) it's easy to do the seasonal dummy, but how can do this for weekly data?
2)i have seen that this code generate dummy equal 1 for every first week for each month (data weekly), but how can generate dummy for the second week for each month?
http://forums.eviews.com/viewtopic.php?f=3&t=10957
I would highly appreciate if any of you could help me.
1)for monthly s=12 (@expand(@month)) and quarterly s=4(@expand(@quarter)) it's easy to do the seasonal dummy, but how can do this for weekly data?
2)i have seen that this code generate dummy equal 1 for every first week for each month (data weekly), but how can generate dummy for the second week for each month?
Code: Select all
series first = @date < @datefloor(@date,"month") + 7I would highly appreciate if any of you could help me.