vector of length N. probs[k] has the predicted probability for the event obs[k]
obs
vector of length N. obs[k] = 1 if the event happened at instance k, obs[k] = 0 otherwise
bins
scalar or vector. Number of equidistant bins to discretize the forecast probabilities, or vector of user-defined breakpoints of the bins. Default: 10
nboot
Number of bootstrap resamples for estimating consistency bars. If nboot==0, no resampling is done and NAs are returned as consistency bars. Default: 500
plot
logical. Whether to plot the reliability diagram. Default: FALSE
plot.refin
logical. Whether to plot the small refinement histogram in lower right corner. Default: TRUE
cons.probs
vector of length 2. Lower and upper probability for the consistency bars. Default: c(0.025, 0.975)
attributes
logical. Whether to include the no-resolution and no-skill line. Default: FALSE
Value
A data frame of nbins rows with the following columns:
"p.avgs": In-bin averages of the forecast probabilities.
"cond.probs": Observed frequency of event when p is in bin i.
"cbar.lo": Lower limit consistency of consistency bar i.
"cbar.hi": Upper limit consistency of consistency bar i.
References
Jolliffe IT, Stephenson DB, eds. (2012): Forecast verification: A practitioner's guide in atmospheric science. John Wiley & Sons, 2012. ISBN: 978-0-470-66071-3
Broecker J, Smith LA (2007):Increasing the Reliability of Reliability Diagrams. Wea. Forecasting, 22, 651--661. DOI: 10.1175/WAF993.1.