deviate_V: Return a deviate vector with a V-shape trend

Description Usage Arguments Details Value References

View source: R/deviates.R

Description

Based on the formula given in Jolliffe an Primo (2008) this function returns a vector with the right properties to test the presence of a V-shape deviate to flatness in a rank histogram.

Usage

1

Arguments

k

an integer. The number of components.

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.

Value

An rkhist object.

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


flatness documentation built on June 29, 2021, 9:08 a.m.