clc;  clear; close all;
addpath( 'C:\dynare\5.3\matlab');


% Run Dynare file 
dynare LW_covid.mod;


y             = oo_.SmoothedVariables.Mean.y;
yt            = oo_.SmoothedVariables.Mean.yt;
yc           = oo_.SmoothedVariables.Mean.yc;




%%
figure; hold on; grid on;
 plot(exp(y/100));
 plot(exp(yt/100));
 
% ___________________________________________________________________
% Result (Kalman Smoothed Variables)
% LW_y_nr_rr = [oo_.SmoothedVariables.Mean.yt , ...
%                     oo_.SmoothedVariables.Mean.rstar , ...
%                     oo_.SmoothedVariables.Mean.rr ];
% ___________________________________________________________________