Learn R Programming

scoringutils (version 0.1.7.2)

hist_PIT: PIT Histogram

Description

Make a simple histogram of the probability integral transformed values to visually check whether a uniform distribution seems likely.

Usage

hist_PIT(PIT_samples, num_bins = NULL, caption = NULL)

Arguments

PIT_samples

A vector with the PIT values of size n

num_bins

the number of bins in the PIT histogram.

caption

provide a caption that gets passed to the plot If not given, the square root of n will be used

Value

vector with the scoring values