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