Learn R Programming

MCS (version 0.1.3)

LossLevel: Loss Function for level forecasts

Description

Calculate the losses associated with level forecasts

Usage

LossLevel(realized, evaluated, which = "SE")

Arguments

realized

a vector with the realizations of the interest object.

evaluated

a vector or a matrix of forecasts

which

The loss function to use. possible choices are: 'SE' that coincides with Square Error and AE that coincides with Absolute Error

Value

A matrix with the forecast losses