Simulation problem: missing data

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

lisimen
Posts: 3
Joined: Mon Feb 28, 2011 1:36 pm

Simulation problem: missing data

Postby lisimen » Mon Feb 28, 2011 1:52 pm

I have modified a model originally generated by Gennaro Zezza. However, there is an error in my modified version which I have no idea how to fix.
After I set up the equations and run it, it always tells me "missing data", which I can't find where the problem is.
Can someone help me?
Attachments
gl06open_revised2.prg
(14.95 KiB) Downloaded 377 times

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

Re: Simulation problem: missing data

Postby EViews Gareth » Mon Feb 28, 2011 2:28 pm

Some of your series that are currently filled with NAs are causing the model to not be able to solve. I haven't traced down which variables are at fault, but I do know that the following lines of code "fix" the problem:

Code: Select all

group g *
for !i=1 to g.@count
   g(!i) = @recode(g(!i)=na, 0.1, g(!i))
next


i.e. it just runs through and sets all NA values in the workfile to 0.1.

I have no idea if that is a particularly valid thing to do for your model though.
Follow us on Twitter @IHSEViews

lisimen
Posts: 3
Joined: Mon Feb 28, 2011 1:36 pm

Re: Simulation problem: missing data

Postby lisimen » Mon Feb 28, 2011 2:40 pm

Thank you for your response. Could you tell me where I should add this code into? I am just a newb for Eviews.

lisimen
Posts: 3
Joined: Mon Feb 28, 2011 1:36 pm

Re: Simulation problem: missing data

Postby lisimen » Mon Feb 28, 2011 2:42 pm

Nevermind, I knew where I should add.
I will ask my Prof to see if this is the appropriate way to edit.
Thank you so much anyway.


Return to “Models”

Who is online

Users browsing this forum: No registered users and 9 guests