From a6a5306adad2d8af4d5a1640bbb7c6cb9a50aec0 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Sun, 18 Sep 2011 12:08:33 +0200 Subject: [PATCH] estimation: fixed bug in dsge_var branch of the code --- matlab/dynare_estimation_1.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index ca8812352..b23f7fef5 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -98,7 +98,7 @@ end %% compute sample moments if needed (bvar-dsge) if options_.dsge_var - if options_.missing_data + if dataset_.missing.state error('I cannot estimate a DSGE-VAR model with missing observations!') end if options_.noconstant