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