[gnumeric] sstest: lower normality test thresholds to 1%



commit b73493f4956ec072b0352cf4dd8be7dd79fbda83
Author: Morten Welinder <terra gnome org>
Date:   Wed Mar 22 13:49:17 2017 -0400

    sstest: lower normality test thresholds to 1%

 src/sstest.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/sstest.c b/src/sstest.c
index 2abb64d..1ae4ae6 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -1089,11 +1089,11 @@ test_random_randnorm (int N)
        if (!rand_fractile_test (vals, N, nf, fractiles, NULL))
                ok = FALSE;
 
-       if (adtest < 0.05) {
+       if (adtest < 0.01) {
                g_printerr ("Anderson Darling Test rejected [%.10" GNM_FORMAT_g "]\n", adtest);
                ok = FALSE;
        }
-       if (cvmtest < 0.05) {
+       if (cvmtest < 0.01) {
                g_printerr ("Cramér-von Mises Test rejected [%.10" GNM_FORMAT_g "]\n", cvmtest);
                ok = FALSE;
        }
@@ -1102,7 +1102,7 @@ test_random_randnorm (int N)
                            lkstest);
                ok = FALSE;
        }
-       if (sftest < 0.05) {
+       if (sftest < 0.01) {
                g_printerr ("Shapiro-Francia Test rejected [%.10" GNM_FORMAT_g "]\n", sftest);
                ok = FALSE;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]