Learn R Programming

tsensembler (version 0.0.2)

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, mae, mase, mse, r_squared