Learn R Programming

MCCM (version 0.1.0)

mrb: Mean Relative Bias

Description

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

Usage

mrb(rhohat, rho)

Value

the mean relative bias of rhohat array.

Arguments

rhohat

an array of estimators of rho.

rho

the true value of rho.

See Also

mb rmse

Examples

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

Run the code above in your browser using DataLab