scoringRules (version 1.0.1)

scores_hyper: Calculating scores for the hypergeometric distribution

Description

Calculating scores for the hypergeometric distribution

Usage

crps_hyper(y, m, n, k)

logs_hyper(y, m, n, k)

Value

A vector of score values.

Arguments

y

vector of observations / numbers of white balls drawn without replacement from an urn which contains both black and white balls.

m

the number of white balls in the urn.

n

the number of black balls in the urn.

k

the number of balls drawn from the urn, hence must be in \(0,1,\dots, m+n\).