Learn R Programming

flatness (version 0.1.4)

Indices and Tests for Assessing the Flatness of (Rank) Histograms

Description

S3 classes, plotting functions, indices and tests to analyse the flatness of histograms. It is specifically (but not only) aimed for assessing whether "rank" histograms (much used in weather forecasting) are flat. Specifically functions are provided to use the Jolliffe-Primo flatness tests introduced in Jolliffe and Primo (2008, ). Flatness indices described in Wilks (2019, ) can be computed. Finally a function to use the Benjamini-Hochberg procedure for multiple hypothesis testing is provided (Benjamini and Hochberg, 1995, ).

Copy Link

Version

Install

install.packages('flatness')

Monthly Downloads

15

Version

0.1.4

License

GPL-3

Maintainer

Micha<c3><ab>l Zamo

Last Published

June 29th, 2021

Functions in flatness (0.1.4)

JP_test

Implementation of the Jolliffe-Primo flatness tests for rank histograms
deviate_linear

Return a deviate vector with a linear trend
BH_procedure

Multiple statistical hypothesis testing with the Benjamini-Hochberg procedure
boxplot.rkhist

Methods for function boxplot of an S3 object of class rkhist
deviate_V

Return a deviate vector with a V-shape trend
ensembles

Ensemble forecasts of temperature and associated observation
levelplot.JPtest

Levelplot method for data in a JPtest object
is_JP_ready

Check whether a set of vectors obeys the constraints necessary to be used in the Jolliffe-Primo flatness test
flatness

flatness: a package to assess the flatness of (rank) histograms
make_JP_ready

Modify a set of rkhist objects so that they can be used in the Jolliffe-Primo flatness test
rbind_rkhists

Stack objects of class rkhist
flatness_indices.matrix

Method for S3 generic function flatness_indices and objects with class matrix
print.rkhist

Print an S3 object of class rkhist
plot.rkhist

Method for function plot an S3 object of class rkhist
orthonormalize

Make a vector set orthonormal
is_orthonormal

Check whether a vector set is orthonormal
get_deviates

Return a set of vectors with chosen shapes
rkhist

Return the rank histogram of an observation in an ensemble forecast
ppensembles

Post-processed ensemble forecasts of temperature and associated observation
rkhist.matrix

Method of S3 generic function rkhist for matrix objects
rkhist.data.frame

Method of S3 generic function rkhist for data.frame objects
print.JPtest

Print method for a JPtest object
flatness_indices.default

Default method for S3 generic function flatness_indices
flatness_indices

Compute flatness indices for (rank) histograms
rkhist.default

Default method for S3 generic function rkhist
rkhist.list

Method of S3 generic function rkhist for list objects
deviate_wave

Return a deviate vector with a wave-shape trend
deviate_ends

Return a deviate vector with deviates at the extreme rank
deviate_U

Return a deviate vector with a U-shape trend