From 1b310401fe683950defcc9c3bff7a3365f2a8de6 Mon Sep 17 00:00:00 2001 From: chartl Date: Tue, 8 Mar 2011 16:24:42 +0000 Subject: [PATCH] Due to the approximation not being well-founded in this case, (and the non-existence of a pre-computed table at this time), pushing up the cutoff git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5405 348d0f76-0448-11de-a6fe-93d51630548a --- java/src/org/broadinstitute/sting/utils/MannWhitneyU.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/org/broadinstitute/sting/utils/MannWhitneyU.java b/java/src/org/broadinstitute/sting/utils/MannWhitneyU.java index f784fadf2..508cb8a83 100755 --- a/java/src/org/broadinstitute/sting/utils/MannWhitneyU.java +++ b/java/src/org/broadinstitute/sting/utils/MannWhitneyU.java @@ -71,7 +71,7 @@ public class MannWhitneyU { } else if ( n > 4 && m > 7 ) { // large m, small n - sum uniform approx pval = calculatePUniformApproximation(n,m,u); - } else if ( n > 5 || m > 5 ) { + } else if ( n > 8 || m > 8 ) { pval = calculatePFromTable(n,m,u); } else { // small m [possibly small n] - full approx