diff --git a/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java b/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java index 984d56da1..ffa1af94d 100644 --- a/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java +++ b/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java @@ -104,7 +104,7 @@ public class ChiSquareTestImpl implements UnknownDistributionChiSquareTest { * expected and observed counts are equal.
* * @param observed array of observed frequency counts - * @param expected array of exptected frequency counts + * @param expected array of expected frequency counts * @return p-value * @throws IllegalArgumentException if preconditions are not met * @throws MathException if an error occurs computing the p-value @@ -123,7 +123,7 @@ public class ChiSquareTestImpl implements UnknownDistributionChiSquareTest { * expected and observed counts are equal. * * @param observed array of observed frequency counts - * @param expected array of exptected frequency counts + * @param expected array of expected frequency counts * @param alpha significance level of the test * @return true iff null hypothesis can be rejected with confidence * 1 - alpha diff --git a/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java b/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java index 192f76f48..664d7b8af 100644 --- a/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java +++ b/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java @@ -133,7 +133,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { //-------------------- Verification methods ------------------------------- /** - * Verifies that probability density calculations match exptected values + * Verifies that probability density calculations match expected values * using current test instance data */ protected void verifyDensities() throws Exception { @@ -145,7 +145,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { } /** - * Verifies that cumulative probability density calculations match exptected values + * Verifies that cumulative probability density calculations match expected values * using current test instance data */ protected void verifyCumulativeProbabilities() throws Exception { @@ -157,7 +157,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { } /** - * Verifies that inverse cumulative probability density calculations match exptected values + * Verifies that inverse cumulative probability density calculations match expected values * using current test instance data */ protected void verifyInverseCumulativeProbabilities() throws Exception { @@ -171,7 +171,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { //------------------------ Default test cases ----------------------------- /** - * Verifies that probability density calculations match exptected values + * Verifies that probability density calculations match expected values * using default test instance data */ public void testDensities() throws Exception { @@ -179,7 +179,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { } /** - * Verifies that cumulative probability density calculations match exptected values + * Verifies that cumulative probability density calculations match expected values * using default test instance data */ public void testCumulativeProbabilities() throws Exception { @@ -187,7 +187,7 @@ public abstract class IntegerDistributionAbstractTest extends TestCase { } /** - * Verifies that inverse cumulative probability density calculations match exptected values + * Verifies that inverse cumulative probability density calculations match expected values * using default test instance data */ public void testInverseCumulativeProbabilities() throws Exception { diff --git a/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java b/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java index b83a5ca0c..348c1f056 100644 --- a/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java +++ b/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java @@ -36,7 +36,7 @@ public class ListUnivariateImpl extends DescriptiveStatistics implements Seriali /** * Holds a reference to a list - GENERICs are going to make - * out lives easier here as we could only accept List