Creating Seasonal Factor for multiple variables at once
Moderators: EViews Gareth, EViews Moderator
Creating Seasonal Factor for multiple variables at once
I'm trying to create a seasonal factor for multiple variables in one sweep. How can I do this?
Last edited by meganmao on Fri Aug 02, 2013 11:34 am, edited 1 time in total.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Creating Seasonal Factor for multiple variables at once
Could you be more specific?
Follow us on Twitter @IHSEViews
Re: Creating Seasonal Factor for multiple variables at once
Right. My bad!
So I have production data that is seasonal. I open the variable, go to Proc>Seasonal Adjustment>Census X12
My options are the following:
X11 Method: Multiplicative
Trend Filter (Henderson): Auto (X12 default)
Seasonal Filter: Auto (X12 default)
Component Series to Save
[checked] Final seasonal factors (_SF)
I want to do this for all the variables I have in one sweep
So I have production data that is seasonal. I open the variable, go to Proc>Seasonal Adjustment>Census X12
My options are the following:
X11 Method: Multiplicative
Trend Filter (Henderson): Auto (X12 default)
Seasonal Filter: Auto (X12 default)
Component Series to Save
[checked] Final seasonal factors (_SF)
I want to do this for all the variables I have in one sweep
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Creating Seasonal Factor for multiple variables at once
You'll have to write a program to do it.
Follow us on Twitter @IHSEViews
Re: Creating Seasonal Factor for multiple variables at once
How can I get started? I'm new to e-views programming but I've had programming experience in other statistical software.
I just can't find any code to look at that reflects the seasonal factor option. Or should I program based off the formula used to calculate the seasonal factor?
I just can't find any code to look at that reflects the seasonal factor option. Or should I program based off the formula used to calculate the seasonal factor?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Creating Seasonal Factor for multiple variables at once
Look up the FOR loop in the Command and Programming reference.
Look up X12 in the SERIES section of the Object Reference.
Look up X12 in the SERIES section of the Object Reference.
Follow us on Twitter @IHSEViews
-
- Posts: 4
- Joined: Sun Jul 20, 2014 9:40 pm
Re: Creating Seasonal Factor for multiple variables at once
Hi meganmao, did you work out how to do this? I'm trying to do the same thing.
Re: Creating Seasonal Factor for multiple variables at once
You can use the GroupX12 add-in.
-
- Posts: 4
- Joined: Sun Jul 20, 2014 9:40 pm
Re: Creating Seasonal Factor for multiple variables at once
Thanks Nicolas,
I ended up running the seasonal adjustment manually and copying the command code (at the top of the seasonally adjusted series) into a programme so I can batch process the data into seasonally adjusted series - just if anyone looks this up and wants another option as to how to do this.
I ended up running the seasonal adjustment manually and copying the command code (at the top of the seasonally adjusted series) into a programme so I can batch process the data into seasonally adjusted series - just if anyone looks this up and wants another option as to how to do this.
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 40 guests