Learn R Programming

tsensembler (version 0.1.0)

se: Computing the squared error

Description

Utility function to compute pointwise squared error (SE)

Usage

se(y, y_hat)

Arguments

y

A numeric vector representing the actual values.

y_hat

A numeric vector representing the forecasted values.

Value

squared error of forecasted values.

See Also

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