powered by
Calculate the RMSE of an array of estimates relative to the true value.
rmse(rhohat, rho)
the root mean squared error of rhohat array.
an array of estimators of rho.
the true value of rho.
mb mrb
rho = 0.5 rhohat = 0.5 + rnorm(10) rmse(rhohat,rho)
Run the code above in your browser using DataLab