on the calculation of the rmse on bvar_forecast

Hi,
In the file "bvar_forecast.m" it reads in line 145:
it follows that invariably the denominator will be 1!
Would not be correct to employ instead
Many thanks for this clarification!
Best, Jorge
In the file "bvar_forecast.m" it reads in line 145:
- Code: Select all
rmse = sqrt(sq_err_cumul / size(sq_err_cumul, 1));
it follows that invariably the denominator will be 1!
Would not be correct to employ instead
- Code: Select all
size(forecast_data.realized_val, 1)
Many thanks for this clarification!
Best, Jorge