With respect to the uniform distribution on \([0,n-1]\), the bias is defined to be the maximum value of \(\{probability(S) - (\frac{|S|}{n})\}\) taken over all subsets \(S\) of \([0,n-1]\). This measures the maximum advantage that an adversary has in predicting any event.
Sources:
FIPS 186-5