Page 1 of 1

fit command when equation contains @pc

Posted: Mon Apr 27, 2015 1:30 pm
by leah
I'm running into a problem when trying to fit an equation that is specified with @pc or @pca. When I try using the fit command when the sample set to a single quarter or month, I get an error saying there's an overflow in the equation. Attached is a program that illustrates the problem (sometimes you have to run it twice).

EViews 9 Enterprise, 64-bit, April 27, 2015 build.

Re: fit command when equation contains @pc

Posted: Mon Apr 27, 2015 2:11 pm
by EViews Gareth
SER2 1999Q4 is equal to zero when that happens. Therefore you cannot calculate @pc(ser2) for 2000q1. Hence the error.

Re: fit command when equation contains @pc

Posted: Mon Apr 27, 2015 2:20 pm
by leah
I just ran the program and the same thing happened when 1999Q4 was equal to 17.

Re: fit command when equation contains @pc

Posted: Mon Apr 27, 2015 2:25 pm
by EViews Gareth
Send the workfile after that run.

Re: fit command when equation contains @pc

Posted: Tue Apr 28, 2015 11:21 am
by leah
My apologies, the problem in the example program was indeed caused by a zero value in ser2. I'm giving up on example programs; attached is the workfile that I'm actually having problems with. If I do this:

smpl 2002m12 2002m12
core_capnet.forecast temp

I get this:
"Attempt to raise a negative number to a non integer power"

However, this works just fine:
smpl @all
core_capnet.forecast temp

When I use Eviews 8 to run the programs that stumble on this error, it works as well.

Re: fit command when equation contains @pc

Posted: Tue Apr 28, 2015 11:52 am
by EViews Gareth
What's the build date of your copy of 9? It works for me just fine in mine.

Re: fit command when equation contains @pc

Posted: Tue Apr 28, 2015 12:06 pm
by leah
April 27th. It works when the sample is set to 2002m12 2002m12?

Re: fit command when equation contains @pc

Posted: Tue Apr 28, 2015 12:55 pm
by EViews Gareth
Yep.