Compute the probability associated with the g3 statistic (f = cummulative distribution function of the distribution function being tested):
\[ g3_{Statistic} = \mathop{\max}\limits_{1 \leq i \leq n} \left( \frac{|f_1-0.5|^3}{\sum_{i=1}^{n}{|f_i-0.5|^3}},\frac{|f_n-0.5|^3}{\sum_{i=1}^{n}{|f_i-0.5|^3}} \right) \]
You should use this test to decide if the largest departure from median is an outlier (i.e. here p > 95%). Computation limitations:Sample size, n; 6 ≤ n ≤ 1000, not necessary an integer.Calculated value of the g3 statistic, on the sample of size n, with at least five significant digits, g3; 0.05 ≤ g3 ≤ 0.95.Return value:Probability to be observed a better agreement between the observed sample and the hypothetical distribution being tested.Is obtained with three significant digits. Limitation: 1.0E-7 ≤ min(p,1-p).Ref:A paper describing the procedure will be prepared.Calculation uses 50 coeficients obtained from a Monte-Carlo experiment.Compute for: | |