Learn R Programming

flatness (version 0.1.4)

deviate_wave: Return a deviate vector with a wave-shape trend

Description

This function returns a deviate vector with the right properties to test the presence of a deviate to flatness with a sine trend in a rank histogram, as introduced in (Zamo et al. 2021) or (Zamo, 2016).

Usage

deviate_wave(k)

Arguments

k

an integer. The number of components.

Value

An rkhist object.

Details

Although the deviate vector is not a rank histogram, this function returns an rkhist object for the sake of simplicity. This allows for instance to plot the vector.

References

  • Jolliffe, Ian T., and Cristina Primo. "Evaluating rank histograms using decompositions of the chi-square test statistic." Monthly Weather Review 136.6 (2008): 2133-2139. doi:https://doi.org/10.1175/2007MWR2219.1

  • Zamo, Micha<U+00EB>l, Liliane Bel, and Olivier Mestre. "Sequential aggregation of probabilistic forecasts<U+2014>application to wind speed ensemble forecasts." Journal of the Royal Statistical Society: Series C (Applied Statistics) 70.1 (2021): 202-225. doi:https://doi.org/10.1111/rssc.12455

  • Zamo, Micha<U+00EB>l. Statistical Post-processing of Deterministic and Ensemble Wind Speed Forecasts on a Grid. Diss. Universit<U+00E9> Paris-Saclay (ComUE), 2016.