Given the quantile of a forecast and a distribution of observations, produce a corrected forecast by identifying the observed value whose quantile corresponds to the quantile of the forecast.

quantile2correct(quant, obs_fit)

Arguments

quant

matrix with quantiles of the forecast to correct

obs_fit

3D array with parameters for the observed value distribution

Value

matrix with a corrected forecast