Learn R Programming

MCCM (version 0.1.0)

mb: Mean Bias

Description

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

Usage

mb(rhohat, rho)

Value

the mean bias of rhohat array.

Arguments

rhohat

an array of estimators of rho.

rho

the true value of rho.

See Also

mrb rmse

Examples

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

Run the code above in your browser using DataLab