22%macro irmst_weight_mip_results(
32 proc hpsummary data = &in_mip_result_ds missing;
33 class base_dt horizon forecast_time forecast_period &class_vars instid;
37 out = _tmp_model_result_weighted_ (drop = _type_ _freq_)
45 _tmp_model_result_weighted_ (in = __weighted__)
48 if __weighted__ then
do;
50 scenario_name = catx(
" - " &scenario_vars, mrsName);
51 scenario_id = catx(
"_" &scenario_vars, mrsName, cats(
"FT", sum(forecastTime, 0)));
52 if horizon ne 0 then output;
57%mend irmst_weight_mip_results;