NK_baseline.mod: handle forgotten parameter dependence
parent
4195033561
commit
a940bed446
|
@ -155,18 +155,18 @@ sigma_m =-5.85;
|
||||||
Lambdamu=3.4e-3;
|
Lambdamu=3.4e-3;
|
||||||
LambdaA = 2.8e-3;
|
LambdaA = 2.8e-3;
|
||||||
|
|
||||||
LambdaYd= (LambdaA+alppha*Lambdamu)/(1-alppha);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The following parameters are set in the steady state file as they depend on other
|
The following parameters are set in the steady state file as they depend on other
|
||||||
deep parameters that were estimated in the original study. Setting them in the
|
deep parameters (some were estimated in the original study). Setting them in the
|
||||||
steady state file means they are updated for every parameter draw in the MCMC
|
steady state file means they are updated for every parameter draw in the MCMC
|
||||||
algorithm, while the parameters initialized here are only set once for the initial
|
algorithm, while the parameters initialized here are only set once for the initial
|
||||||
values of the parameters they depend on:
|
values of the parameters they depend on:
|
||||||
|
|
||||||
gammma1 as it depends on LambdaA, alppha, Lambdamu, betta, and delta
|
gammma1=mu_z*mu_I/betta-(1-delta);
|
||||||
Rbar =0 as it depends on PI, LambdaA, alppha, Lambdamu, and betta
|
R=1+(PIbar*mu_z/betta-1);
|
||||||
Lambdax
|
Lambdax=exp(LambdaYd);
|
||||||
|
LambdaYd= (LambdaA+alppha*Lambdamu)/(1-alppha);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ d=1;
|
||||||
phi=1;
|
phi=1;
|
||||||
m=0;
|
m=0;
|
||||||
zeta=1;
|
zeta=1;
|
||||||
|
LambdaYd= (LambdaA+alppha*Lambdamu)/(1-alppha);
|
||||||
mu_z=exp(LambdaYd);
|
mu_z=exp(LambdaYd);
|
||||||
mu_I=exp(Lambdamu);
|
mu_I=exp(Lambdamu);
|
||||||
mu_A=exp(LambdaA);
|
mu_A=exp(LambdaA);
|
||||||
|
|
Loading…
Reference in New Issue