Learn R Programming

MCCM (version 0.1.0)

rmse: Root Mean Squared Error

Description

Calculate the RMSE of an array of estimates relative to the true value.

Usage

rmse(rhohat, rho)

Value

the root mean squared error of rhohat array.

Arguments

rhohat

an array of estimators of rho.

rho

the true value of rho.

See Also

mb mrb

Examples

Run this code
rho = 0.5
rhohat = 0.5 + rnorm(10)
rmse(rhohat,rho)

Run the code above in your browser using DataLab