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))

TSrepr documentation built on July 13, 2020, 9:07 a.m.