Generic method for computing the bias of an estimator object.
Arguments
- x
the object to compute the bias of.
- theta
true parameter value. usually, this is unknown (NULL), in which
case we estimate the bias
- ...
pass additional arguments
Value
The bias of the estimator. The return type depends on the specific
method.