Hi,
I have weekly data and I'm interesting in introducing weekly dummies to examine for seasonality. I tried using @expand(@week, @dropfirst) but I get an error message. Is there some other way to do this?
How can I quickly create weekly dummy variables?
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How can I quickly create weekly dummy variables?
@expand(@datepart(@date, "WW"), @dropfirst)
Follow us on Twitter @IHSEViews
Re: How can I quickly create weekly dummy variables?
EViews Gareth wrote:@expand(@datepart(@date, "WW"), @dropfirst)
This works very well. Thank you!
Who is online
Users browsing this forum: No registered users and 53 guests