Calculate Fisher Exact Test even if all cell counts >= 5
[pspp] / src / language / stats / crosstabs.q
index 6d4ab64ea0fd987a49109a2fa3dc18d389083e70..6adae77b030a674e81035da71ea6dd245652f828 100644 (file)
@@ -2244,8 +2244,7 @@ calc_chisq (struct pivot_table *pt,
       }
 
       /* Fisher. */
-      if (f11 < 5. || f12 < 5. || f21 < 5. || f22 < 5.)
-       calc_fisher (f11 + .5, f12 + .5, f21 + .5, f22 + .5, fisher1, fisher2);
+      calc_fisher (f11 + .5, f12 + .5, f21 + .5, f22 + .5, fisher1, fisher2);
     }
 
   /* Calculate Mantel-Haenszel. */