Mode_check plots with flat lines

Thank you very much for your help I will try to implement your suggestions. I just have a few questions:

  • You wrote:
    model(linear);
    #a51 =
    #a52 =
    #a53 =

    #b93 =
    end;

0 = b12ystar_h + b13delta_h + b14y_h;
0 = b22
ystar_h + b23delta_h + b25ex_h;
0 = b32ystar_h + b33delta_h + b36im_h;
0 = b41
temp_h + b43delta_h + b47pi_c_h + b48a1_h + b49a2_h;
a51temp_h(+1) + a52ystar_h(+1) + a53delta_h(+1) + a57pi_c_h(+1) + a58a1_h(+1) = b52ystar_h + b53delta_h + b54y_h + b58a1_h;
a61
temp_h(+1) + a62ystar_h(+1) + a63delta_h(+1) + a67pi_c_h(+1) + a69a2_h(+1) = b62ystar_h + b63delta_h + b64y_h + b69a2_h;
a71temp_h = b73delta_h(-1);
a82ystar_h = b82ystar_h(-1) + epsy;
a93delta_h = b93delta_h(-1) + epsd;

But shouldn’t the “end” be after "a93delta_h = b93delta_h(-1) + epsd; " ?

  • the steady state values of my endogenous variables are declared in this block:

steady_state_model;
ex_h=0;
y_h=0;
im_h=0;
pi_c_h=0;
a1_h=0;
a2_h=0;
temp_h=0;
ystar_h=0;
delta_h=0;

delta=1;
temp=1;
pi_c=1;
pi_h=1;
psi=(theta-1)/theta;
y=psi^(1/(eta+s_igma));
w=psi;
ystar=y;
c=y;
n=y;
ex=g_ammaystar;
im=g_amma
ystar;
a1=ypsi/(1-omegab_eta);
a2=y/(1-omega*b_eta);
end;

If I refer to one of them in the model should I really write steady_state() ? (example: the steady state value of “y_h” in my model is named “y” so should I just leave “y” in the model block or write steady_state(y) ? )

  • you say that in the steady_state_model block I should only write the steady states of the declared endogenous variables. So should I write the following in the parameter block? :
    delta=1;
    temp=1;
    pi_c=1;
    pi_h=1;
    psi=(theta-1)/theta;
    y=psi^(1/(eta+s_igma));
    w=psi;
    ystar=y;
    c=y;
    n=y;
    ex=g_ammaystar;
    im=g_amma
    ystar;
    a1=ypsi/(1-omegab_eta);
    a2=y/(1-omega*b_eta);

Thank you for your help!