X12 in EViews 7

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

craazz50
Posts: 4
Joined: Thu Feb 11, 2010 6:59 pm

X12 in EViews 7

Postby craazz50 » Thu Feb 11, 2010 7:53 pm

When running X-12 from the command window I cannot get the program to accept more than 1 option.
When running the menu driven version, if I select the ARIMA option to choose a model from a file, I get a message that you can't do this and run automodel as well. Automodel was not specified, so why the message?

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: X12 in EViews 7

Postby EViews Jason » Fri Feb 12, 2010 11:06 am

When running X-12 from the command window I cannot get the program to accept more than 1 option.
Please post your command. I havent been able to replicate the problem.
When running the menu driven version, if I select the ARIMA option to choose a model from a file, I get a message that you can't do this and run automodel as well. Automodel was not specified, so why the message?
There is a problem with ARIMA models from a file. We are currently working on a fix.

fmgoto
Posts: 76
Joined: Thu Jan 15, 2009 5:01 am
Location: Brasilia, Brazil

Re: X12 in EViews 7

Postby fmgoto » Mon Feb 22, 2010 3:07 pm

Are you using PICKMLD?

craazz50
Posts: 4
Joined: Thu Feb 11, 2010 6:59 pm

Re: X12 in EViews 7

Postby craazz50 » Mon Mar 08, 2010 2:11 pm

I have been away. Thanks for the reply. I was using the X12 command on page 458 of the Object Reference manual. Since I have been using this command with the "sfile=" option to give a path to a .spc file I wrote. This works well, but I can't figure out how to retrieve the forecast seasonal factors. Any suggestions?

fmgoto
Posts: 76
Joined: Thu Jan 15, 2009 5:01 am
Location: Brasilia, Brazil

Re: X12 in EViews 7

Postby fmgoto » Wed Mar 10, 2010 1:41 pm

Just add a save = dxx in your .spc file. X12ARIMA will output a file_name.dxx with the series you need in the Eviews default folder (or wherever you left x12a.exe).

craazz50
Posts: 4
Joined: Thu Feb 11, 2010 6:59 pm

Re: X12 in EViews 7

Postby craazz50 » Thu Mar 11, 2010 1:26 pm

Thanks. I found the X-12 output files in a \temp file and imported them. They are called evx12tmp.dxx. This seems to be the best solution. You have to include the import command in the loop going through series, as the file gets written over each time.

craazz50
Posts: 4
Joined: Thu Feb 11, 2010 6:59 pm

Re: X12 in EViews 7

Postby craazz50 » Fri Mar 12, 2010 5:50 pm

I am corresponding with someone using EViews 6. Not sure the import command exists there. Is there an alternative for importing a text file that would work?

fmgoto
Posts: 76
Joined: Thu Jan 15, 2009 5:01 am
Location: Brasilia, Brazil

Re: X12 in EViews 7

Postby fmgoto » Fri Mar 19, 2010 7:54 am

Yes, you can read using "read(t=txt)" or something like this. Careful only with the header X12 leaves in the file.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests