Learn R Programming

daltoolbox (version 1.1.727)

MSE.ts: MSE

Description

Compute the mean squared error (MSE) between actual values and forecasts of a time series

Usage

MSE.ts(actual, prediction)

Value

returns a number, which is the calculated MSE

Arguments

actual

real observations

prediction

predicted observations