meanscores_fun: Mean score function constructors

Description Usage Arguments Value

Description

Creating functions for the computation of mean elementary scores.

Usage

1
2
3
4
5
6
7
8
9
ms_mean_fun(x, y)

ms_prob_fun(x, y)

ms_median_fun(x, y)

ms_quant_fun(x, y, level)

ms_expect_fun(x, y, level)

Arguments

x

an object convertible by as.matrix containing forecasts (dim: #observations, #forecast methods).

y

an object convertible by as.vector containing observations.

level

numerical, a single value between 0 and 1.

Value

A function in two arguments:

t an object convertible by as.vector containing treshold values.
right logical, indicating if the scores are right-continuous in t.

aijordan/murphydiagram2 documentation built on Jan. 1, 2020, 3:08 p.m.