moments of simulated variables
Posted: Wed Feb 18, 2009 11:25 pm
The Dynare online manual states that (version 3)
"Currently, the HP filter is only available when computing theoretical moments, not for for moments of simulated variables. "
http://www.dynare.org/manual/re26.html *
I was wondering whether this has been fixed - it does not seem so browsing through disp_moments.m -, and if not, why. It would seem to me that one just needs to add a few lines of command to disp_moments after the line that says:
y = y(ivar,options_.drop+ykmin_+1:end)';
something like...
if options_.hp_filter > 1
for i=1:size(y,2)
[y(:,i) t(:,i)]=hpfast(y(:,i));
end
end
is it true?
NB: * new url
"Currently, the HP filter is only available when computing theoretical moments, not for for moments of simulated variables. "
http://www.dynare.org/manual/re26.html *
I was wondering whether this has been fixed - it does not seem so browsing through disp_moments.m -, and if not, why. It would seem to me that one just needs to add a few lines of command to disp_moments after the line that says:
y = y(ivar,options_.drop+ykmin_+1:end)';
something like...
if options_.hp_filter > 1
for i=1:size(y,2)
[y(:,i) t(:,i)]=hpfast(y(:,i));
end
end
is it true?
NB: * new url