Calculate the restricted sum in the Mann-Grubbs method.
mann_grubbs_sum(s, n)
s
Vector of successes.
n
Vector of sample sizes.
The restricted sum.