Hi
I am testing if I can use Eviews for a large dataset. When running the code below, Eviews stops working....? (running 8.1, jan 12 2015 build). I believe Eviews has a problem with the command @sumsby(..., trend), could it be due to memory? It would be much better if Eviews could tell me what the problem is instead of crashing.
Thomas
close @all
%dir = @runpath 'finds directory where program is stored
cd %dir
wfcreate(wf=large_data, page=panel) a 2000 2010 800000
smpl 2000 2000
genr h=1
genr q=1
smpl 2001 @last
genr h=h(-1)*0.05*nrnd
genr q=q(-1)*0.07*nrnd
smpl @all
genr v=q*h
'string variables
%q = "h"
%v = "v"
%p="w"
%id = "var01"
smpl @all
genr trend=@trend +1 '
smpl if {%q}<>na and {%q}<>0 and {%q}(-1)<>na and {%q}(-1)<>0 and {%v}<>na and {%v}<>0 and {%v}(-1)<>na and {%v}(-1)<>0
genr aux= 1/2*(( {%v}/@sumsby({%v},trend)) + ({%v}(-1)/@sumsby({%v}(-1),trend)) )*dlog({%q})
smpl @all
genr i_t= exp(@sumsby(aux, trend))
Eviews crashes....
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Eviews crashes....
I just receive an error message due to the negative values in dlog(h).
Who is online
Users browsing this forum: No registered users and 2 guests
