Learn R Programming

tsensembler (version 0.1.0)

mse: Computing the mean squared error

Description

Utility function to compute mean squared error (MSE)

Usage

mse(y, y_hat)

Arguments

y

A numeric vector representing the actual values.

y_hat

A numeric vector representing the forecasted values.

See Also

Other error/performance functions: ae(), se()