Too many observations for x12 - Beginner Issue

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

LXWatson
Posts: 10
Joined: Mon Jun 24, 2013 12:09 pm

Too many observations for x12 - Beginner Issue

Postby LXWatson » Mon Jun 24, 2013 1:00 pm

Howdy, I'm about a week into eViews8 and am still learning by trial and error. I've tried a couple different ways of writing a procedure and I just can't figure it out.

I would like to create a new variable by seasonally adjusting using x12; however, I have more than 600 observations (50 years of monthly). I think, oh this will be easy, I'll just sample what I need when generating the new variable.

Here is what I thought would work from my program, but every time I check it, the "generated series" is the exact same as my original data. Anything obviously wrong?

' LNU01300012 = 16-19y/o; Needs Seasonal Adjustment
Smpl 1970:1 %last
genr lnu0130012_sa = LNU01300012
lnu0130012_sa.x12

Thanks, Luke

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Too many observations for x12 - Beginner Issue

Postby EViews Gareth » Mon Jun 24, 2013 1:08 pm

After running the x12 command you'll have a series with the same name as the original series, but with an _sa after it. In your case it will be called LNU01300012_SA_SA. That will have the seasonally adjusted values in it.

LXWatson
Posts: 10
Joined: Mon Jun 24, 2013 12:09 pm

Re: Too many observations for x12 - Beginner Issue

Postby LXWatson » Tue Jun 25, 2013 6:25 am

Perfect!

Thank you!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests