Learn R Programming

scoringRules (version 0.9.3)

scores_gamma: Calculating scores for the gamma distribution

Description

Calculating scores for the gamma distribution

Usage

crps_gamma(y, shape, rate = 1, scale = 1/rate)

logs_gamma(y, shape, rate = 1, scale = 1/rate)

Arguments

y

vector of observations.

shape

vector of positive shape parameters.

rate

an alternative way to specify the scale.

scale

vector of positive scale parameters.

Value

A vector of score values.