Problem in transforming .spc file into Eviews code.

For questions regarding programming in the EViews programming language.

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

victor.alves
Posts: 4
Joined: Thu Feb 21, 2013 1:18 pm

Problem in transforming .spc file into Eviews code.

Postby victor.alves » Thu Apr 16, 2015 10:57 am

In Eviews8 I mannualy created a setting of seasonal adjustment from "proc/seasonal adjustment/Census x13". I Checked the box to save the spec file, which gave me text object (below). As I will regularly use this setting to adjust the series I was transforming this spec file into this eviews code:

PIB.X13(savespc=TESTE4, save="D11", tf=log, arimasmpl="1996Q1 2014Q4", flen=6, forclognorm) @REG(regs="TC1996.3,AO1998.1,LS2008.4,TC2009.1,Easter[15]") @ARIMA(model="(0, 2, 2)(0, 1, 1)") @X11(mode=mult)

However, when run it and save a new spec file to check what was done, it shows that the dummies ("TC1996.3,AO1998.1,LS2008.4,TC2009.1,Easter[15]") were not considered. I couldn't fix it. Any thoughts?
I also tryied to save the spec file as .spc and run a series.X13 (sfile="C:\..") programm but it just ran a regular x13 with no settings in it. Is the sfile command available to X13 or only to X12?

Thank you.

series{
title = "PIB"
start = 1996.1
period = 4
modelspan = (1996.01, 2014.04)
name = "PIB"
file = "C:\Users\874008\AppData\ev_temp\EVX13TMP.DAT"
decimals = 1
}

transform{
power = 0
}

arima{
model = (0, 2, 2)(0, 1, 1)
}

regression{
variables = (
TC1996.3
AO1998.1
LS2008.4
TC2009.1
Easter[15]
)
}

forecast{
maxlead = 6
lognormal = yes
save = (fct, bct)
}

x11{
mode = mult
save = (d11)
}
EDIT: Spelling

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

Re: Problem in transforming .spc file into Eviews code.

Postby EViews Gareth » Thu Apr 16, 2015 11:23 am

What's the build date of your copy of EV8?

victor.alves
Posts: 4
Joined: Thu Feb 21, 2013 1:18 pm

Re: Problem in transforming .spc file into Eviews code.

Postby victor.alves » Thu Apr 16, 2015 12:20 pm

Oct 22 2013 buid.

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

Re: Problem in transforming .spc file into Eviews code.

Postby EViews Gareth » Thu Apr 16, 2015 2:05 pm

Update to the latest version.

victor.alves
Posts: 4
Joined: Thu Feb 21, 2013 1:18 pm

Re: Problem in transforming .spc file into Eviews code.

Postby victor.alves » Mon Apr 20, 2015 1:39 pm

I upgraded to Eviews 9 (14-april-2015 build). Now the command line worked just fine. Thanks.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests