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.
fit command when equation contains @pc
Moderators: EViews Gareth, EViews Moderator
fit command when equation contains @pc
- Attachments
-
- test3.prg
- (233 Bytes) Downloaded 546 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: fit command when equation contains @pc
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
I just ran the program and the same thing happened when 1999Q4 was equal to 17.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: fit command when equation contains @pc
Send the workfile after that run.
Re: fit command when equation contains @pc
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.
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.
- Attachments
-
- corecap.wf1
- (30.7 KiB) Downloaded 518 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: fit command when equation contains @pc
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
April 27th. It works when the sample is set to 2002m12 2002m12?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: fit command when equation contains @pc
Yep.
- Attachments
-
- 2015-04-28_125357.png (41.83 KiB) Viewed 8448 times
Who is online
Users browsing this forum: No registered users and 2 guests
