MS-SBVAR: rewrite ms_forecast
parent
fb0b0ae4ce
commit
894ff9c1e7
|
@ -1093,6 +1093,13 @@ void
|
|||
MSSBVARForecastStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
|
||||
{
|
||||
mod_file_struct.bvar_present = true;
|
||||
|
||||
if (options_list.num_options.find("ms.regimes") != options_list.num_options.end())
|
||||
if (options_list.num_options.find("ms.regime") != options_list.num_options.end())
|
||||
{
|
||||
cerr << "ERROR: You may only pass one of regime and regimes to ms_forecast" << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1652,13 +1652,15 @@ ms_forecast_option : o_output_file_tag
|
|||
| o_file_tag
|
||||
| o_simulation_file_tag
|
||||
| o_data_obs_nbr
|
||||
| o_no_error_bands
|
||||
| o_error_band_percentiles
|
||||
| o_shock_draws
|
||||
| o_shocks_per_parameter
|
||||
| o_thinning_factor
|
||||
| o_free_parameters
|
||||
| o_median
|
||||
| o_regime
|
||||
| o_regimes
|
||||
| o_parameter_uncertainty
|
||||
;
|
||||
|
||||
ms_forecast_options_list : ms_forecast_option COMMA ms_forecast_options_list
|
||||
|
|
Loading…
Reference in New Issue