The StatsCMSSDCDF function returns the cumulative distribution function of the C distribution (mean square successive difference), which is
f(C,n)=a22m+1[Γ(m+1)]2Γ(2m+2)(1−a2C2)m,
where
a2=(n3−13n+24)(n2+2n−12)(n−2),
m=2(n3−13n+24)(n4−n3−13n2+37n−60).
The distribution (for C >0) can then be expressed as
F(C,n)=a22m+1[Γ(m+1)]2Γ(2m+2)C2F1(21,−m,23,a2C2),
where
2F1
is the Hypergeometric function HyperG2F1.
References
Young, L.C., On randomness in ordered sequences, Annals of Mathematical Statistics, 12, 153-162, 1941.
See Also
Statistical Analysis, StatsCMSSDCDF, StatsSRTest