Skip to contents

Calculates the root mean squared error (RMSE) between two vectors.

Usage

rmse(y, y_hat)

Arguments

y

Vector of actual values.

y_hat

Vector of estimates/predicted values.

Value

RMSE value.