Hi every one,

I have written a basic version of my dynamic model which I hope step by step I can add more detail to it later depending on the question I want to answer. But this basic version has no steady state, how can I solve this problem?

What do you mean with

?

Does the model not possess a steady state or is Dynare not able to find it? In the first case, you need to transform the model to have a steady state. In the latter case, you need to find out what the problem is. Often there is still a mistake in the equations.

I am not sure that the model has no ss, but I have tried solving ss equations using matlab code but It takes unusual time so I should stop matlab iteration. I should mention that, as I couldn’t solve the model I could not calibrate my model as well. So for insuring that the model has ss I assigned some values, maybe unjustified or ad hoc values, to the parameters and then I wrote the aforementioned matlab code.

1st I don’t khow if there are other standard approach testing uncalibrated models for ss. Would you mind if I ask you helping me?

2nd Supposing that the model has no ss, how can I change the model? I have no idea but some ad hoc changes, is there any systematic approach?

1. You simply pick “reasonable” parameters from the literature
2. For trending models, you have to stationarize the model.

In any case, you should try to compute the steady state using pencil and paper. At the current stage it does not seem as if you have the required knowledge about the model for the computer being of much help.

Hi every body
I have a problem when trying to solve the basic DSGE models. The steady state file did not compute steady state and even when I have tryed initialization and dinar solve it did not work

%TP DE MACRO

%DECLARATION DES VARIABLES endogenes DU MODELE

var y I n k a c w r R;

%DECLARATION DES VARIABLES EXOGENES

varexo e;

%DECLARATION DES PARAMETRES DU MODELE

parameters alpha sigma beta rho khi teta delta sigmae;

alpha = 0.33;
sigma = 1;
beta = 0.99;
rho = 0.95;
khi = 0;
teta = 2.95;
delta = 0.02;
sigmae = 0.01;

%DECLARATION DU MODELE

model;

%eq1

%eq2
exp(y) = exp(a)*exp(k(-1))^(alpha)*n;

%eq3
exp(k) = exp(a)*exp(k(-1))^(alpha)*exp(n) - exp© + (1-delta)*exp(k(-1));

%eq4
a = rho*a(-1) + e;

%eq5

%eq6

%eq7
exp® = alpha*exp(a)*exp(k(-1))^(alpha-1);

%eq8
exp(w) = (1-alpha)*exp(a)*exp(k(-1))^(alpha);

%eq9

end;

%INITIALISATION DES VARIABLES D’ETAT STATIONNAIRE

%initval;
%k=log(9.4495);
%y=log(1.0051);
%a=0;
%c=log(0.7689);
%I=log(0.2362);
%n=log(1/3);
%r=0.0101;
%R=log(0.0351);
%w=log(2.0203);

%end;

%DECLARATION DE LA VARIANCE DU CHOC

shocks;

var e = sigmae^2;

end;

%CALCUL DE L’ETAT STATIONNAIRE ET VERIFICATION DES CONDITIONS DE BLANCHARD
%ET KAHN

check;

%RESOLUTION DU MODELE AVEC FILTRE HP,APPROXIMATION DE TAYLOR D’ORDRE 1 ET
%PRESENTER LES RESULTATS SUR 50 PERIDODES

stoch_simul(hp_filter=1600,order=1,irf=50);

%options_.rplottype=2
%rplot a k y I c r;
part1.mod (1.42 KB)

Your steady state equations do not match the entered equations in the mod-file. If you put

before

you will see

[quote]Residuals of the static equations:
Equation number 1 : -0.7706
Equation number 2 : -1.403
Equation number 3 : -23.9604
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : -0.65884
Equation number 8 : 1.7129
Equation number 9 : 2.3991
[/quote]

Please make sure the model first runs without the exp()-substitution. In equation 2, there seems to be an exp() missing around the n. At the same time, the n is missing from most other equations (like the wage). That would only be valid if n were 1.

I have made some of the corrections you suggest and I have tried to run the program without the exp(). it’s that it solve now for one more equations but I still have eq4 and 6 which = 0.
For the wage equation I solve as w = (1-alpha)(a)K^alphaN^(-alpha) = (1-alpha)(a)*(K/N)^(alpha) with k = K/N thats why i didn’t put n again

Residuals of the static equations:

Equation number 1 : -0.17873
Equation number 2 : 0.080785
Equation number 3 : -0.1887
Equation number 4 : 0
Equation number 5 : 1.6842
Equation number 6 : 0
Equation number 7 : -3.5032
Equation number 8 : 0.77892
Equation number 9 : 10.5431

I have check again the different equation but I still don’t find out for the solution

Sorry for some basics mistake I’m new user on dynare