Learn R Programming

flatness (version 0.1.4)

flatness_indices: Compute flatness indices for (rank) histograms

Description

S3 generic function that computes and returns indices of flatness of one or several (rank) histograms, presented in Wilks (2019).

Usage

flatness_indices(rkhists, ...)

Arguments

rkhists

an object containing (rank) histograms

...

other arguments

Value

the expected returned object is a matrix, with one flatness index in each column for each rank histogram (row-wise). The columns should be named, with "chisq" for the chi-square statistics, "RI" for the reliability index and "entropy" for the entropy.

Details

Currently the implemented flatness indices are the chi-square statistics, the reliability index and the entropy.

References

Wilks, D. S. "Indices of rank histogram flatness and their sampling properties." Monthly Weather Review 147.2 (2019): 763-769. doi:https://doi.org/10.1175/MWR-D-18-0369.1