Hi,
I am using MoveReg Seasonal adjustment function and I want to add Chinese new year holidays.
The help page said
"The User Events edit field can be used to specify your own holidays/events. Simply enter the name of one or more series in the workfile containing binary information on whether an observation is a holiday/event or not."
I am confused about this. Say 25/01/2020 and 05/02/2019 are the dates for Chinese new years, how to create this user events?
Thanks a lot.
Best,
Rong
How to create user event in MoveReg for Chinese new year?
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to create user event in MoveReg for Chinese new year?
Create a new series in your workfile containing zeroes and non-zero values for holiday effects.
The simplest approach would be:
But of course, you might want to put a value of 0.5 on 2020/01/25 and a value of 0.5 on 2020/01/04 or something.
The simplest approach would be:
Code: Select all
series myholiday = (@date=@dateval("2020/01/25")) or (@date=@dateval("2019/02/05"))
But of course, you might want to put a value of 0.5 on 2020/01/25 and a value of 0.5 on 2020/01/04 or something.
Follow us on Twitter @IHSEViews
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 17 guests