mse: MSE

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

The mse computes MSE (Mean Squared Error) of a forecast.

Usage

1
mse(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

Examples

1
mse(runif(50), runif(50))

PetoLau/TSrepr documentation built on July 14, 2020, 6:13 p.m.