From c90368d48cac1a6cb9dc42fb1cb32714f32846fc Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Wed, 23 Nov 2022 15:17:51 +0100 Subject: [PATCH] NKM.mod: clean up file --- tests/occbin/filter/NKM.mod | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/occbin/filter/NKM.mod b/tests/occbin/filter/NKM.mod index 8f902e1d4f..8c04a966e9 100644 --- a/tests/occbin/filter/NKM.mod +++ b/tests/occbin/filter/NKM.mod @@ -11,10 +11,6 @@ @#define small_model = 0 @#endif -// if ~exist('run_ivf','var') -run_ivf=0; -// end - // ----------------- Defintions -----------------------------------------// var c //1 Consumption @@ -278,8 +274,6 @@ check; varobs yg inom pi; estimated_params; - // PARAM NAME, INITVAL, LB, UB, PRIOR_SHAPE, PRIOR_P1, PRIOR_P2, PRIOR_P3, PRIOR_P4, JSCALE - // PRIOR_SHAPE: BETA_PDF, GAMMA_PDF, NORMAL_PDF, INV_GAMMA_PDF varphip,,0,inf,NORMAL_PDF,100,25; phipi,,,,NORMAL_PDF,2,0.25; phiy,,0,inf,NORMAL_PDF,0.5,0.25; @@ -291,8 +285,6 @@ varobs yg inom pi; sigi,,,,INV_GAMMA_PDF,0.002,0.002; end; - -// dataloading_jme_beta(1,'sims.txt',30); load('dataobsfile','inom') // check if inom is at lb and remove data + associated shock verbatim; @@ -345,4 +337,12 @@ varobs yg inom pi; subplot(223) plot([oo0.SmoothedShocks.epss oo_.SmoothedShocks.epss]), title('epss') legend('PKF','IF') + figure, + subplot(221) + plot([oo0.SmoothedVariables.inom oo_.SmoothedVariables.inom]), title('inom') + subplot(222) + plot([oo0.SmoothedVariables.yg oo_.SmoothedVariables.yg]), title('yg') + subplot(223) + plot([oo0.SmoothedVariables.pi oo_.SmoothedVariables.pi]), title('pi') + legend('PKF','IF') occbin_write_regimes(smoother); -- GitLab