RAnEnExtra::biasCorrection carries out a bias correction routine on the analog ensembles using a linear regression method. This correction method is useful for predicting extreme event.
biasCorrection( analogs, target.forecasts, historical.forecasts, similarity.time.index, similarity.station.index = NULL, regression.forecasts = NULL, regression.observations = NULL, forecast.id = NULL, activation.func = NULL, show.progress = T, return.more = F, group.func = mean, ... )
analogs | A four-dimensional array for analog values with the dimensions |
---|---|
target.forecasts | A three- or four- dimensional array for test forecasts that analogs are generated for. The dimensions
can either be |
historical.forecasts | The historical forecast search repository with the dimensions |
similarity.time.index | Similarity time index for each analog members. To have this for your analogs, you need to
set |
similarity.station.index | Similarity station index for each analog members. To have this for your analogs, you need to
set |
regression.forecasts | The forecast values used to calculate the slope of a linear regression line. These forecasts must correspond to observations for regression. |
regression.observations | The observation values used to calculate the slope of a linear regression line These observations must correspond to forecasts for regression. |
forecast.id | A forecasts parameter index used by the |
activation.func | An activation function to signify whether a particular ensemble should be bias corrected. This function
should takes a single argument and return a TRUE or FALSE. The single argument of the function will be an analog ensemble,
or a numeric vector. For example, |
show.progress | Whether to show a progress bar |
return.more | Whether to return more information |
group.func | How to collapse the analog ensemble to a single value to calculate the amount of correction. In the paper and
by default, this is |
... | Additional variables passed to |
Alessandrini, Stefano, Simone Sperati, and Luca Delle Monache. "Improving the analog ensemble wind speed forecasts for rare events." Monthly Weather Review 147.7 (2019): 2677-2692.