Description Usage Arguments Value Author(s)

View source: R/reliabilityCategories.R

This function provides the object needed by "calculateReliability_v2.R" for calculating the reliability categories of a probabilistic prediction.

1 2 | ```
calculateReliability(obs, hindcast, n.events = n.events,
n.bins = n.bins, n.boot = n.boot)
``` |

`obs` |
m*n matrix of observations (m = years, n = locations) |

`hindcast` |
m*n*l matrix of predictions (m = members, n = years, l = locations) |

`n.events` |
(optional): number of categories considered (e.g. 3 for terciles). By default n.events = 3 |

`n.bins` |
(optional): number of probability bins considered. By default n.bins = 10 |

`n.boot` |
number of samples considered for bootstrapping. By default n.boot = 100 |

List with the following elements: n.events = n.events nyear = number of years npoint = number of locations n = nyear*npoint hindcastprob = probability bins (center), per event (e.g. per tercile) obsfreq = observed frequency, per event (e.g. per tercile) hindcastfreq = predicted frequency, per event (e.g. per tercile) slope = slope of the reliability line, per event (e.g. per tercile) slope_boot = n.boot*n.events matrix, with all the boostrapped values for the slope of the reliability line

R. Manzanas \& M.Iturbide

SantanderMetGroup/visualizeR documentation built on Oct. 8, 2018, 5:32 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.