def
func:meanBiasErr
meanBiasErr(val, acc, nDegrees: 0)
Fold a sample of numbers into their MBE (mean bias error). The MBE function determines the MBE between a sample set and its mean:
MBE = Σ(xᵢ - median) / (n - nDegrees)
Examples:
samples.fold(meanBiasErr) // unbiased zero degrees of freedom samples.fold(meanBiasErr(_,_,1)) // 1 degree of freedom