Learn R Programming

TSrepr (version 1.1.1)

mse: MSE

Description

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

Usage

mse(x, y)

Value

the numeric value

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Author

Peter Laurinec, <[email protected]>

Examples

Run this code
mse(runif(50), runif(50))

Run the code above in your browser using DataLab