diff --git a/src/java/org/apache/commons/math/stat/inference/ChiSquareTest.java b/src/java/org/apache/commons/math/stat/inference/ChiSquareTest.java index 9784ef10e..421b57ece 100644 --- a/src/java/org/apache/commons/math/stat/inference/ChiSquareTest.java +++ b/src/java/org/apache/commons/math/stat/inference/ChiSquareTest.java @@ -259,7 +259,7 @@ public interface ChiSquareTest { * can reject the null hypothesis that the observed counts conform to the * same distribution. *

- *

See {@link #chiSquareDataSetsComparison(long[], long[]) for details + *

See {@link #chiSquareDataSetsComparison(long[], long[])} for details * on the formula used to compute the test statistic. The degrees of * of freedom used to perform the test is one less than the common length * of the input observed count arrays. @@ -294,8 +294,8 @@ public interface ChiSquareTest { * significance level alpha. Returns true iff the null * hypothesis can be rejected with 100 * (1 - alpha) percent confidence. *

- *

See {@link #chiSquareDataSetsComparison(double[], double[])} for - * details on the forumla used to compute the Chisquare statistic used + *

See {@link #chiSquareDataSetsComparison(long[], long[])} for + * details on the formula used to compute the Chisquare statistic used * in the test. The degrees of of freedom used to perform the test is * one less than the common length of the input observed count arrays. *

diff --git a/src/java/org/apache/commons/math/stat/inference/TestUtils.java b/src/java/org/apache/commons/math/stat/inference/TestUtils.java index 1124a8630..8aebcf9ec 100644 --- a/src/java/org/apache/commons/math/stat/inference/TestUtils.java +++ b/src/java/org/apache/commons/math/stat/inference/TestUtils.java @@ -277,7 +277,7 @@ public class TestUtils { } /** - * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareDataSetsComparison(double[], double[]) + * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareDataSetsComparison(long[], long[]) */ public static double chiSquareDataSetsComparison(long[] observed1, long[] observed2) throws IllegalArgumentException { @@ -285,7 +285,7 @@ public class TestUtils { } /** - * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareTestDataSetsComparison(double[], double[]) + * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareTestDataSetsComparison(long[], long[]) */ public static double chiSquareTestDataSetsComparison(long[] observed1, long[] observed2) throws IllegalArgumentException, MathException { @@ -294,7 +294,7 @@ public class TestUtils { /** - * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareTestDataSetsComparison(double[], double[], double) + * @see org.apache.commons.math.stat.inference.ChiSquareTest#chiSquareTestDataSetsComparison(long[], long[], double) */ public static boolean chiSquareTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)