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?
Simulation problem: missing data
Moderators: EViews Gareth, EViews Moderator
Simulation problem: missing data
- Attachments
-
- gl06open_revised2.prg
- (14.95 KiB) Downloaded 377 times
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Simulation problem: missing data
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:
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.
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
Re: Simulation problem: missing data
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
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.
I will ask my Prof to see if this is the appropriate way to edit.
Thank you so much anyway.
Who is online
Users browsing this forum: No registered users and 9 guests