Learn R Programming

Fgmutils (version 0.9.5)

bias: Bias

Description

In statistics, the bias (or bias function) of an estimator is the difference between this estimator's expected value and the true value of the parameter being estimated. An estimator or decision rule with zero bias is called unbiased. Otherwise the estimator is said to be biased.

Usage

bias(observados, estimados)

Arguments

observados

vector of values observed.

estimados

vector of values estimated.

Details

bias = (sum(estimados-observados))/length(observados)

References

see https://en.wikipedia.org/wiki/Bias_of_an_estimator for more details.