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