Page 1 of 1

Simulation problem: missing data

Posted: Mon Feb 28, 2011 1:52 pm
by lisimen
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?

Re: Simulation problem: missing data

Posted: Mon Feb 28, 2011 2:28 pm
by EViews Gareth
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.

Re: Simulation problem: missing data

Posted: Mon Feb 28, 2011 2:40 pm
by lisimen
Thank you for your response. Could you tell me where I should add this code into? I am just a newb for Eviews.

Re: Simulation problem: missing data

Posted: Mon Feb 28, 2011 2:42 pm
by lisimen
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.