Skip to content
Snippets Groups Projects
Commit b314eed5 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by GitHub
Browse files

Merge pull request #1458 from JohannesPfeifer/example

NK_baseline.mod: handle forgotten parameter dependence
parents cb25ffeb a940bed4
Branches
Tags
No related merge requests found
...@@ -155,18 +155,18 @@ sigma_m =-5.85; ...@@ -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; ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment