Learn R Programming

orf (version 0.1.4)

rps: Ranked Probability Score

Description

Computes the mean ranked probability score (RPS) for evaluating the accuracy of ordered probability predictions

Usage

rps(predictions, observed)

Value

scalar, mean RPS for given predictions

Arguments

predictions

matrix of predictions (n x categories)

observed

vector of observed ordered categorical outcomes (n x 1)