mcframework.stats_engine.bias_to_target#

mcframework.stats_engine.bias_to_target(x: ndarray, ctx: StatsContext) float[source]#

Bias of the sample mean relative to a target \(\theta\).

Parameters:
xndarray

Input sample.

ctxStatsContext or Mapping

Requires target.

Returns:
float

Estimated bias \(\bar X - \theta\).