flatness_indices: Compute flatness indices for (rank) histograms

Description Usage Arguments Details Value References

View source: R/indices.R

Description

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

Usage

1

Arguments

rkhists

an object containing (rank) histograms

...

other arguments

Details

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

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.

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


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