Learn R Programming

tsensembler (version 0.0.5)

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