Ri = range of ith subgroup
ni = sample size of ith subgroup
d2(ni) = expected value of the range of ni independent normally distributed variables with unit standard deviation
N = number of subgroups for which
MR = the mean of the nonmissing moving ranges computed as (MR2+MR3+...+MRN)/(N-1) where MRi = |yi - yi-1|.
d2(2) = expected value of the range of two independent normally distributed variables with unit standard deviation.
, the harmonic mean of subgroup sample sizes.

Help created on 7/12/2018