Productivity shocks and m-policy in a two-country model

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.

Productivity shocks and m-policy in a two-country model

Postby david.langer » Fri Oct 21, 2016 8:23 pm

Hi there

I've tried to run the code from the following paper:

http://www.dynare.org/wp-repo/dynarewp029.pdf

CAM22.mod
(3.32 KiB) Downloaded 101 times


Can anyone tell me what's wrong? I think there is no typo, i've just copied the code from the paper?

Error:

STEADY: numerical initial values or parameters incompatible with the following equations
7 8 22

Check whether your model in truly linear

Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0
Equation number 3 : NaN
Equation number 4 : NaN
Equation number 5 : 0
Equation number 6 : NaN
Equation number 7 : NaN
Equation number 8 : NaN
Equation number 9 : 0
Equation number 10 : NaN
Equation number 11 : 0
Equation number 12 : NaN
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : NaN
Equation number 19 : NaN
Equation number 20 : NaN
Equation number 21 : 0
Equation number 22 : NaN
Equation number 23 : 0


Error using print_info (line 80)
The steady state contains NaN or Inf

Error in steady (line 92)
print_info(info,options_.noprint, options_);

Error in CAM22 (line 303)
steady;

Error in dynare (line 180)
evalin('base',fname) ;





Thanks in advance for your help!

Dave
david.langer
 
Posts: 3
Joined: Mon Jun 06, 2016 8:44 pm

Re: Productivity shocks and m-policy in a two-country model

Postby jpfeifer » Sat Oct 22, 2016 9:53 am

As Dynare warns
Warning: Some of the parameters have no value (rho) when using steady. If these parameters are not initialized in a
steadystate file or a steady_state_model-block, Dynare may not be able to solve the model...

you did not initialize
Code: Select all
rho
------------
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: Productivity shocks and m-policy in a two-country model

Postby david.langer » Sat Oct 22, 2016 10:27 am

Thank you very much! :oops:
david.langer
 
Posts: 3
Joined: Mon Jun 06, 2016 8:44 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests