preprocessing failed

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

preprocessing failed

Postby tahmin » Fri Dec 06, 2013 8:30 pm

Hi, my file is in attach.
when dynare run my model. appear this message: Error using dynare (line 114)
DYNARE: preprocessing failed

what's mu mistake?
Attachments
Untitled7.m
(1.42 KiB) Downloaded 48 times
sample.mod
(1.22 KiB) Downloaded 48 times
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby anhn39 » Sat Dec 07, 2013 2:27 am

I think there are at least two small errors in your mod file.

1st) You have to write ";" at the end of each line.
from line 5 to line 25
beta=0.9648;
delta=0.014;
R_=0.08;
.......

and line 38: t=y;

2nd) you have "omega" in model but you have declared it yet.

Hope this helps

Cheers,
An
anhn39
 
Posts: 12
Joined: Sat Dec 07, 2013 12:22 am

Re: preprocessing failed

Postby tahmin » Sat Dec 07, 2013 5:24 am

thanks for your attention; but Unfortunately, the error still occurs. why?
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby jpfeifer » Sat Dec 07, 2013 12:39 pm

Please post the updated mod-file
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: preprocessing failed

Postby tahmin » Sat Dec 07, 2013 1:54 pm

Hi, the update mod file is in attachment.
Attachments
example.mod
(1.17 KiB) Downloaded 51 times
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby anhn39 » Sat Dec 07, 2013 3:01 pm

Hi there,
You have at least some following errors:

1) It must have ";" at the end of line 2 : varexo e_a e_g e_or e_say e_dg e_fr;
2) Equation in line 33: m=(1/khi)(c-r)==> it lacks "*"==> m=(1/khi)*(c-r)
3) You have declared "y" in equation 39 yet
4) and "delta" also
anhn39
 
Posts: 12
Joined: Sat Dec 07, 2013 12:22 am

Re: preprocessing failed

Postby tahmin » Sat Dec 07, 2013 4:29 pm

thanks for your attention; but the error still occurs. why?
please help me, because I don't have much time to deliver my paper to my teacher. :roll:
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby tahmin » Sat Dec 07, 2013 4:33 pm

I did change the code, but there is an error. why?
mod file is in attachment
Attachments
example.mod
(1.11 KiB) Downloaded 52 times
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby anhn39 » Sat Dec 07, 2013 7:10 pm

Hi there,

I just check your file. You have to define "y" and "delta" used in model in "var or varexo or parameters".
anhn39
 
Posts: 12
Joined: Sat Dec 07, 2013 12:22 am

Re: preprocessing failed

Postby tahmin » Sat Dec 07, 2013 7:41 pm

Hi, thanks for your attention anhn39.
model runs, but there are 4 errors, please help me. the mod file is in attachment.
Attachments
example.mod
(1.13 KiB) Downloaded 53 times
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: preprocessing failed

Postby anhn39 » Sat Dec 07, 2013 7:57 pm

In your model, the Blanchard Kahn conditions are not satisfied. There are many topics discussing this issue in the forum, you can find some suggestions there. If your model is correct, you should change parameters' values.
anhn39
 
Posts: 12
Joined: Sat Dec 07, 2013 12:22 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests