From 051fba7ed6d538bd7bec7d63d9e904af470f90fe Mon Sep 17 00:00:00 2001 From: michel Date: Sat, 1 Oct 2005 19:06:25 +0000 Subject: [PATCH] v4, McMVDiagnositcs.m: added test for several chains git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@474 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/McMCDiagnostics.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matlab/McMCDiagnostics.m b/matlab/McMCDiagnostics.m index 279a56183..92fbdac1f 100644 --- a/matlab/McMCDiagnostics.m +++ b/matlab/McMCDiagnostics.m @@ -7,6 +7,10 @@ DirectoryName = CheckPath('Plots\Diagnostics'); TeX = options_.TeX; nblck = options_.mh_nblck; +% Brooks and Gelman tests need more than one block +if nblck == 1 + return; +end npar = estim_params_.nvx; npar = npar + estim_params_.nvn; npar = npar + estim_params_.ncx;