My diagnostic plots and priors and posterior plots doesn’t look well behaved (attached below). Any clue as to why this is the case. Im using NK_baseline.mod and four observables; (1) real output per capita
growth, (2) real wages per capita, (3) the consumer price index, and (4) Overnight rate. Happy to provide more ifo if required.
Not exactly, but in the same range. In-sample, shocks can cause deviation from the average, i.e. the steady state. But if these deviations are too large, you force the shocks to have extreme persistence.
I’m getting better results after I adjusted data to be in the neighborhood of the Steady state values. Thank you.
I have one question regarding the observable equations in NK baseline model. Can I use GDP per capita growth directly? In other words should the observable equation for yd should be
When I did above changes, convergence diagnostics charts show a peculiar pattern (two horizontal lines) in all charts (few charts attached herewith for your perusal). What could be the cause of this? I’ve provided the mod. file and the steady state file. Your guidance in resolving this would be of immense help.
The issue seems to prompt as soon as I add the yd_obs = mu_A; to the steady state file. Do I need to do any other modifications to the steady state file?
I was able fix the issue by adding yd_obs = mu_A to the steady state values specified at the beginning of the model in the steady state file.
I have few questions to clarify;
In the NK_baseline model there are three growth rates
mu_z (trend growth rate of the economy (from neutral and investment specific technology)')
mu_I (‘growth rate of investment-specific technology growth’)
mu_A (‘growth rate of neutral technology’)
Does this mean the observation equation should be yd_obs = ln(yd)-ln(yd(-1))+mu_z?
Do I have to scale the observed dataset mean to match the steady state values?
Does getting a negative Initial value of the log posterior (or likelihood) is a bad sign?
What I meant by scaling is that for example, steady state value of yd_obs (my observable) is 1.0028. But the mean of my dataset is 0.220188. If I multiply all the values in the dataset by 5, then the mean of the dataset becomes 1.1001 (closer to the steady state value). So my question is whether this is necessary to obtain a better estimation?
Seeing all the steady state growth values mu_z, mu_I, mu_A, R, PI are over 1 was quite surprising for me. So I thought they were scaled up by 100. So that I presumed they were percentage values (eg. mu_A is 1.0028%).
Given below is the steady state result (I’ve used original parameter values given in the NK_baseline.mod file as it is) ;
STEADY-STATE RESULTS:
d 1
c 0.40819
mu_z 1.00446
mu_I 1.00341
mu_A 1.0028
lambda 2.58777
R 1.01654
PI 1.01
r 0.0348988
x 0.0884579
u 1
q 1
f 2.55673
ld 0.317845
w 1.11127
wstar 1.13352
PIstarw 1.02002
PIstar 1.01869
g1 7.64784
g2 8.4976
yd 0.496648
yd_obs 1.0028
mc 0.89825
k 2.71161
vp 1.00222
vw 1.00305
l 0.318814
phi 1
F 0.0495432
And my observation equation is;
yd_obs =ln(yd)-ln(yd(-1))+ mu_A;
Along with this I’ve included following in the steadystate file