From a699679b260bc2b88b0697211bfe8d8f28a0fada Mon Sep 17 00:00:00 2001 From: adjemian <adjemian@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Thu, 15 Dec 2005 13:40:20 +0000 Subject: [PATCH] Bug correction, posterior smooth shocks and variables, forecasts... are saved in oo_. git-svn-id: https://www.dynare.org/svn/dynare/dynare_v3@554 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/GetPosteriorStatistics.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/GetPosteriorStatistics.m b/matlab/GetPosteriorStatistics.m index fb94358669..71e0519f13 100644 --- a/matlab/GetPosteriorStatistics.m +++ b/matlab/GetPosteriorStatistics.m @@ -1,6 +1,6 @@ function [MeanX,MedianX,StdX,DistribX,HPDX] = GetPosteriorStatistics(gend,B,infotype) % stephane.adjemian@gmail.com [05-26-2005] - global options_ fname_ lgy_ lgx_ lgy_TeX_ lgx_TeX_ dr_ bayestopt_ + global options_ fname_ lgy_ lgx_ lgy_TeX_ lgx_TeX_ dr_ bayestopt_ oo_ deciles = [round(0.1*B) ... round(0.2*B)... @@ -56,9 +56,9 @@ for file = 1:sfile; instr = [fname_ NonGenericName int2str(file)]; eval(['load ' instr]); - eval(['X = stock_' varname ';']) + eval(['X = stock_' varname ';']) MeanX(i,t) = MeanX(i,t)+sum(X(i,t,:),3); - DeProfundis = size(X,3); + DeProfundis = size(X,3); tmp(StartLine+1:StartLine+DeProfundis) = squeeze(X(i,t,:)); StartLine = StartLine+DeProfundis; end -- GitLab