scores_exp: Calculating scores for the exponential distribution

scores_expR Documentation

Calculating scores for the exponential distribution

Description

Calculating scores (CRPS, LogS, DSS) for the exponential distribution, and the exponential distribution with location-scale transformation and point mass in location.

Usage

crps_exp(y, rate = 1)

crps_expM(y, location = 0, scale = 1, mass = 0)

logs_exp(y, rate = 1)

logs_exp2(y, location = 0, scale = 1)

dss_exp(y, rate = 1)

Arguments

y

vector of observations.

rate

vector of rates.

location

vector of location parameters.

scale

vector of positive scale parameters.

mass

vector of point masses in location.

Value

A vector of score values.


scoringRules documentation built on Sept. 18, 2024, 5:09 p.m.