This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
The following commit(s) were added to refs/heads/master by this push:
new 5dc51be Fix malformed Javadoc comments
5dc51be is described below
commit 5dc51be773732918b0a0b9042d7297adb47d08d5
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 14 08:50:18 2025 -0500
Fix malformed Javadoc comments
---
.../statistics/descriptive/FirstMoment.java | 8 ++--
.../statistics/descriptive/GeometricMean.java | 12 +++---
.../commons/statistics/descriptive/IntMax.java | 2 +-
.../commons/statistics/descriptive/IntMean.java | 2 +-
.../commons/statistics/descriptive/IntMin.java | 2 +-
.../descriptive/IntStandardDeviation.java | 4 +-
.../commons/statistics/descriptive/IntSum.java | 2 +-
.../statistics/descriptive/IntSumOfSquares.java | 2 +-
.../statistics/descriptive/IntVariance.java | 4 +-
.../commons/statistics/descriptive/Kurtosis.java | 6 +--
.../commons/statistics/descriptive/LongMax.java | 2 +-
.../commons/statistics/descriptive/LongMean.java | 2 +-
.../commons/statistics/descriptive/LongMin.java | 2 +-
.../descriptive/LongStandardDeviation.java | 4 +-
.../commons/statistics/descriptive/LongSum.java | 2 +-
.../statistics/descriptive/LongSumOfSquares.java | 2 +-
.../statistics/descriptive/LongVariance.java | 4 +-
.../apache/commons/statistics/descriptive/Max.java | 6 +--
.../commons/statistics/descriptive/Mean.java | 10 ++---
.../commons/statistics/descriptive/Median.java | 16 ++++----
.../apache/commons/statistics/descriptive/Min.java | 6 +--
.../statistics/descriptive/NaNTransformer.java | 4 +-
.../commons/statistics/descriptive/Product.java | 4 +-
.../commons/statistics/descriptive/Quantile.java | 22 +++++-----
.../commons/statistics/descriptive/Skewness.java | 6 +--
.../statistics/descriptive/StandardDeviation.java | 12 +++---
.../commons/statistics/descriptive/Statistics.java | 8 ++--
.../descriptive/StatisticsConfiguration.java | 10 ++---
.../apache/commons/statistics/descriptive/Sum.java | 8 ++--
.../descriptive/SumOfCubedDeviations.java | 2 +-
.../descriptive/SumOfFourthDeviations.java | 2 +-
.../commons/statistics/descriptive/SumOfLogs.java | 12 +++---
.../descriptive/SumOfSquaredDeviations.java | 2 +-
.../statistics/descriptive/SumOfSquares.java | 6 +--
.../commons/statistics/descriptive/Variance.java | 12 +++---
.../distribution/ChiSquaredDistribution.java | 12 +++---
.../distribution/DiscreteDistribution.java | 4 +-
.../statistics/distribution/FDistribution.java | 12 +++---
.../statistics/distribution/GammaDistribution.java | 12 +++---
.../distribution/LogNormalDistribution.java | 2 +-
.../distribution/TrapezoidalDistribution.java | 4 +-
.../distribution/WeibullDistribution.java | 16 ++++----
.../descriptive/IntegerSumOfCubedDeviations.java | 4 +-
.../jmh/distribution/NormalSamplerPerformance.java | 4 +-
.../inference/AlternativeHypothesis.java | 12 +++---
.../commons/statistics/inference/BinomialTest.java | 2 +-
.../statistics/inference/ChiSquareTest.java | 2 +-
.../statistics/inference/FisherExactTest.java | 12 +++---
.../apache/commons/statistics/inference/GTest.java | 2 +-
.../commons/statistics/inference/Inequality.java | 8 ++--
.../inference/KolmogorovSmirnovDistribution.java | 8 ++--
.../inference/KolmogorovSmirnovTest.java | 48 +++++++++++-----------
.../statistics/inference/MannWhitneyUTest.java | 14 +++----
.../commons/statistics/inference/OneWayAnova.java | 8 ++--
.../commons/statistics/inference/Searches.java | 8 ++--
.../statistics/inference/SquareMatrixSupport.java | 2 +-
.../apache/commons/statistics/inference/TTest.java | 14 +++----
.../inference/UnconditionedExactTest.java | 20 ++++-----
.../inference/WilcoxonSignedRankTest.java | 14 +++----
59 files changed, 227 insertions(+), 227 deletions(-)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
index b7009c0..71c766a 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/FirstMoment.java
@@ -55,10 +55,10 @@ import java.util.function.DoubleConsumer;
* <ul>
* <li>Chan, Golub, Levesque (1983)
* Algorithms for Computing the Sample Variance.
- * American Statistician, vol. 37, no. 3, pp. 242-247.
+ * American Statistician, vol. 37, no. 3, pp. 242-247.</li>
* <li>Ling (1974)
* Comparison of Several Algorithms for Computing Sample Means and
Variances.
- * Journal of the American Statistical Association, Vol. 69, No. 348,
pp. 859-866.
+ * Journal of the American Statistical Association, Vol. 69, No. 348,
pp. 859-866.</li>
* </ul>
*
* @since 1.1
@@ -234,8 +234,8 @@ class FirstMoment implements DoubleConsumer {
* <p>This duplicates the algorithm in the {@link #accept(double)} method
* with optimisations due to the processing of an entire array:
* <ul>
- * <li>Avoid updating (unused) class level working variables.
- * <li>Only computing the non-finite value if required.
+ * <li>Avoid updating (unused) class level working variables.</li>
+ * <li>Only computing the non-finite value if required.</li>
* </ul>
*
* @param values Values.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/GeometricMean.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/GeometricMean.java
index c4cee66..da10fee 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/GeometricMean.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/GeometricMean.java
@@ -27,15 +27,15 @@ package org.apache.commons.statistics.descriptive;
* <p>\[ \exp{\left( {\frac{1}{n}\sum_{i=1}^n \ln x_i} \right)} \]
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
- * <li>The result is {@code NaN} if any of the values is negative.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
+ * <li>The result is {@code NaN} if any of the values is negative.</li>
* <li>The result is {@code +infinity} if all values are in the range {@code
(0, +infinity]}
- * and at least one value is {@code +infinity}.
+ * and at least one value is {@code +infinity}.</li>
* <li>The result is {@code 0} if all values are in the range {@code [0,
+infinity)}
- * and at least one value is zero.
+ * and at least one value is zero.</li>
* <li>The result is {@code NaN} if all values are in the range {@code [0,
+infinity]}
- * and at least one value is zero, and one value is {@code +infinity}.
+ * and at least one value is zero, and one value is {@code
+infinity}.</li>
* </ul>
*
* <p>Supports up to 2<sup>63</sup> (exclusive) observations.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMax.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMax.java
index 0716695..e2471bd 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMax.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMax.java
@@ -23,7 +23,7 @@ import java.math.BigInteger;
* underlying function to compute the {@code maximum}.
*
* <ul>
- * <li>The result is {@link Integer#MIN_VALUE} if no values are added.
+ * <li>The result is {@link Integer#MIN_VALUE} if no values are added.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMean.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMean.java
index 044573a..abf337e 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMean.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMean.java
@@ -25,7 +25,7 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
+ * <li>The result is {@code NaN} if no values are added.</li>
* </ul>
*
* <p>This class uses an exact integer sum to compute the mean.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMin.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMin.java
index 5b34027..e96b671 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMin.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntMin.java
@@ -23,7 +23,7 @@ import java.math.BigInteger;
* underlying function to compute the {@code minimum}.
*
* <ul>
- * <li>The result is {@link Integer#MAX_VALUE} if no values are added.
+ * <li>The result is {@link Integer#MAX_VALUE} if no values are added.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntStandardDeviation.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntStandardDeviation.java
index 8a1bd2f..787d35c 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntStandardDeviation.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntStandardDeviation.java
@@ -25,8 +25,8 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is zero if there is one value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is zero if there is one value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. Omitting
the square root,
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSum.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSum.java
index a4a40c6..1efd672 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSum.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSum.java
@@ -22,7 +22,7 @@ import java.math.BigInteger;
* Returns the sum of the available values.
*
* <ul>
- * <li>The result is zero if no values are added.
+ * <li>The result is zero if no values are added.</li>
* </ul>
*
* <p>This class uses an exact integer sum. The exact sum is
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSumOfSquares.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSumOfSquares.java
index ff629a8..d6b644d 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSumOfSquares.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntSumOfSquares.java
@@ -26,7 +26,7 @@ import java.math.BigInteger;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is zero if no values are observed.
+ * <li>The result is zero if no values are observed.</li>
* </ul>
*
* <p>The implementation uses an exact integer sum to compute the sum of
squared values.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntVariance.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntVariance.java
index 755cf12..900646f 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntVariance.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/IntVariance.java
@@ -27,8 +27,8 @@ import java.math.BigInteger;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is zero if there is one value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is zero if there is one value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. This is
an unbiased
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Kurtosis.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Kurtosis.java
index f578410..bbc5c99 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Kurtosis.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Kurtosis.java
@@ -38,9 +38,9 @@ package org.apache.commons.statistics.descriptive;
* and \( n \) is the number of samples.
*
* <ul>
- * <li>The result is {@code NaN} if less than 4 values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.
- * <li>The result is {@code NaN} if the sum of the fourth deviations from
the mean is infinite.
+ * <li>The result is {@code NaN} if less than 4 values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.</li>
+ * <li>The result is {@code NaN} if the sum of the fourth deviations from
the mean is infinite.</li>
* </ul>
*
* <p>The default computation is for the adjusted Fisher–Pearson standardized
moment coefficient
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMax.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMax.java
index 65499d5..b7e821f 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMax.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMax.java
@@ -23,7 +23,7 @@ import java.math.BigInteger;
* underlying function to compute the {@code maximum}.
*
* <ul>
- * <li>The result is {@link Long#MIN_VALUE} if no values are added.
+ * <li>The result is {@link Long#MIN_VALUE} if no values are added.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMean.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMean.java
index 184e5a7..cebdcec 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMean.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMean.java
@@ -25,7 +25,7 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
+ * <li>The result is {@code NaN} if no values are added.</li>
* </ul>
*
* <p>This class uses an exact integer sum to compute the mean.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMin.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMin.java
index 1bb43df..dad6141 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMin.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongMin.java
@@ -23,7 +23,7 @@ import java.math.BigInteger;
* underlying function to compute the {@code minimum}.
*
* <ul>
- * <li>The result is {@link Long#MAX_VALUE} if no values are added.
+ * <li>The result is {@link Long#MAX_VALUE} if no values are added.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongStandardDeviation.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongStandardDeviation.java
index 5b3b547..055a027 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongStandardDeviation.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongStandardDeviation.java
@@ -25,8 +25,8 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is zero if there is one value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is zero if there is one value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. Omitting
the square root,
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSum.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSum.java
index 0a91dca..83f4f2f 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSum.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSum.java
@@ -22,7 +22,7 @@ import java.math.BigInteger;
* Returns the sum of the available values.
*
* <ul>
- * <li>The result is zero if no values are added.
+ * <li>The result is zero if no values are added.</li>
* </ul>
*
* <p>This class uses an exact integer sum. The exact sum is
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSumOfSquares.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSumOfSquares.java
index d8d3446..8a7a3d8 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSumOfSquares.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongSumOfSquares.java
@@ -26,7 +26,7 @@ import java.math.BigInteger;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is zero if no values are observed.
+ * <li>The result is zero if no values are observed.</li>
* </ul>
*
* <p>The implementation uses an exact integer sum to compute the sum of
squared values.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongVariance.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongVariance.java
index 68b5a57..c9d4ecd 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongVariance.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/LongVariance.java
@@ -27,8 +27,8 @@ import java.math.BigInteger;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is zero if there is one value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is zero if there is one value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. This is
an unbiased
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
index 3fb322c..27da344 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Max.java
@@ -21,9 +21,9 @@ package org.apache.commons.statistics.descriptive;
* underlying function to compute the {@code maximum}.
*
* <ul>
- * <li>The result is {@link Double#NEGATIVE_INFINITY negative infinity} if
no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
- * <li>The value {@code -0.0} is considered strictly smaller than {@code
0.0}.
+ * <li>The result is {@link Double#NEGATIVE_INFINITY negative infinity} if
no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
+ * <li>The value {@code -0.0} is considered strictly smaller than {@code
0.0}.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
index cff7a92..2f0b0fe 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Mean.java
@@ -25,11 +25,11 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
+ * <li>The result is {@code NaN} if no values are added.</li>
* <li>The result is {@code NaN} if any of the values is {@code NaN}, or the
values include
- * infinite values of opposite sign.
- * <li>The result is {@code +/-infinity} if values include infinite values
of same sign.
- * <li>The result is finite if all input values are finite.
+ * infinite values of opposite sign.</li>
+ * <li>The result is {@code +/-infinity} if values include infinite values
of same sign.</li>
+ * <li>The result is finite if all input values are finite.</li>
* </ul>
*
* <p>The {@link #accept(double)} method uses the following recursive updating
algorithm
@@ -69,7 +69,7 @@ package org.apache.commons.statistics.descriptive;
* <li>Ling, R.F. (1974)
* Comparison of Several Algorithms for Computing Sample Means and
Variances.
* Journal of the American Statistical Association, 69, 859-866.
- * <a href="https://doi.org/10.2307/2286154">doi: 10.2307/2286154</a>
+ * <a href="https://doi.org/10.2307/2286154">doi:
10.2307/2286154</a></li>
* </ul>
*
* @see <a href="https://en.wikipedia.org/wiki/Mean">Mean (Wikipedia)</a>
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Median.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Median.java
index eb68a04..bfbb8b6 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Median.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Median.java
@@ -25,9 +25,9 @@ import org.apache.commons.numbers.arrays.Selection;
*
* <p>For values of length {@code n}, let {@code k = n / 2}:
* <ul>
- * <li>The result is {@code NaN} if {@code n = 0}.
- * <li>The result is {@code values[k]} if {@code n} is odd.
- * <li>The result is {@code (values[k - 1] + values[k]) / 2} if {@code n} is
even.
+ * <li>The result is {@code NaN} if {@code n = 0}.</li>
+ * <li>The result is {@code values[k]} if {@code n} is odd.</li>
+ * <li>The result is {@code (values[k - 1] + values[k]) / 2} if {@code n} is
even.</li>
* </ul>
*
* <p>This implementation respects the ordering imposed by
@@ -67,8 +67,8 @@ public final class Median {
* Return a new instance with the default options.
*
* <ul>
- * <li>{@linkplain #withCopy(boolean) Copy = false}
- * <li>{@linkplain #with(NaNPolicy) NaN policy = include}
+ * <li>{@linkplain #withCopy(boolean) Copy = false}</li>
+ * <li>{@linkplain #with(NaNPolicy) NaN policy = include}</li>
* </ul>
*
* <p>Note: The default options configure for processing in-place and
including
@@ -107,13 +107,13 @@ public final class Median {
* <ul>
* <li>{@link NaNPolicy#INCLUDE}: {@code NaN} values are moved to the end
of the data;
* the size of the data <em>includes</em> the {@code NaN} values and the
median will be
- * {@code NaN} if any value used for median interpolation is {@code NaN}.
+ * {@code NaN} if any value used for median interpolation is {@code
NaN}.</li>
* <li>{@link NaNPolicy#EXCLUDE}: {@code NaN} values are moved to the end
of the data;
* the size of the data <em>excludes</em> the {@code NaN} values and the
median will
* never be {@code NaN} for non-zero size. If all data are {@code NaN}
then the size is zero
- * and the result is {@code NaN}.
+ * and the result is {@code NaN}.</li>
* <li>{@link NaNPolicy#ERROR}: An exception is raised if the data
contains {@code NaN}
- * values.
+ * values.</li>
* </ul>
*
* <p>Note that the result is identical for all policies if no {@code NaN}
values are present.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
index c4cddd7..3fa2c86 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Min.java
@@ -21,9 +21,9 @@ package org.apache.commons.statistics.descriptive;
* underlying function to compute the {@code minimum}.
*
* <ul>
- * <li>The result is {@link Double#POSITIVE_INFINITY positive infinity} if
no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
- * <li>The value {@code -0.0} is considered strictly smaller than {@code
0.0}.
+ * <li>The result is {@link Double#POSITIVE_INFINITY positive infinity} if
no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
+ * <li>The value {@code -0.0} is considered strictly smaller than {@code
0.0}.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/NaNTransformer.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/NaNTransformer.java
index a97b909..b474526 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/NaNTransformer.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/NaNTransformer.java
@@ -48,10 +48,10 @@ interface NaNTransformer {
*
* <p>The method will return:
* <ul>
- * <li>An array to partition; this may be a copy.
+ * <li>An array to partition; this may be a copy.</li>
* <li>The {@code bounds} of the returned data as [start, end); this can
be smaller than the
* input range if the transformer is configured to exclude NaN values. The
start is inclusive
- * and the end is exclusive.
+ * and the end is exclusive.</li>
* </ul>
*
* <p>Implementations may assume the input {@code [from, to)} range is
valid given the
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Product.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Product.java
index a64b660..22954ea 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Product.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Product.java
@@ -20,8 +20,8 @@ package org.apache.commons.statistics.descriptive;
* Returns the product of the available values.
*
* <ul>
- * <li>The result is one if no values are observed.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
+ * <li>The result is one if no values are observed.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Quantile.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Quantile.java
index 174efc0..6898bcb 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Quantile.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Quantile.java
@@ -26,9 +26,9 @@ import org.apache.commons.numbers.arrays.Selection;
*
* <p>For values of length {@code n}:
* <ul>
- * <li>The result is {@code NaN} if {@code n = 0}.
- * <li>The result is {@code values[0]} if {@code n = 1}.
- * <li>Otherwise the result is computed using the {@link EstimationMethod}.
+ * <li>The result is {@code NaN} if {@code n = 0}.</li>
+ * <li>The result is {@code values[0]} if {@code n = 1}.</li>
+ * <li>Otherwise the result is computed using the {@link
EstimationMethod}.</li>
* </ul>
*
* <p>Computation of multiple quantiles and will handle duplicate and unordered
@@ -86,9 +86,9 @@ public final class Quantile {
* Return a new instance with the default options.
*
* <ul>
- * <li>{@linkplain #withCopy(boolean) Copy = false}
- * <li>{@linkplain #with(NaNPolicy) NaN policy = include}
- * <li>{@linkplain #with(EstimationMethod) Estimation method = HF8}
+ * <li>{@linkplain #withCopy(boolean) Copy = false}</li>
+ * <li>{@linkplain #with(NaNPolicy) NaN policy = include}</li>
+ * <li>{@linkplain #with(EstimationMethod) Estimation method = HF8}</li>
* </ul>
*
* <p>Note: The default options configure for processing in-place and
including
@@ -128,13 +128,13 @@ public final class Quantile {
* <ul>
* <li>{@link NaNPolicy#INCLUDE}: {@code NaN} values are moved to the end
of the data;
* the size of the data <em>includes</em> the {@code NaN} values and the
quantile will be
- * {@code NaN} if any value used for quantile interpolation is {@code NaN}.
+ * {@code NaN} if any value used for quantile interpolation is {@code
NaN}.</li>
* <li>{@link NaNPolicy#EXCLUDE}: {@code NaN} values are moved to the end
of the data;
* the size of the data <em>excludes</em> the {@code NaN} values and the
quantile will
* never be {@code NaN} for non-zero size. If all data are {@code NaN}
then the size is zero
- * and the result is {@code NaN}.
+ * and the result is {@code NaN}.</li>
* <li>{@link NaNPolicy#ERROR}: An exception is raised if the data
contains {@code NaN}
- * values.
+ * values.</li>
* </ul>
*
* <p>Note that the result is identical for all policies if no {@code NaN}
values are present.
@@ -761,8 +761,8 @@ public final class Quantile {
* <li>Hyndman and Fan (1996)
* <i>Sample Quantiles in Statistical Packages.</i>
* The American Statistician, 50, 361-365.
- * <a
href="https://www.jstor.org/stable/2684934">doi.org/10.2307/2684934</a>
- * <li><a href="https://en.wikipedia.org/wiki/Quantile">Quantile
(Wikipedia)</a>
+ * <a
href="https://www.jstor.org/stable/2684934">doi.org/10.2307/2684934</a></li>
+ * <li><a href="https://en.wikipedia.org/wiki/Quantile">Quantile
(Wikipedia)</a></li>
* </ol>
*/
public enum EstimationMethod {
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Skewness.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Skewness.java
index 4a24b28..843f3c2 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Skewness.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Skewness.java
@@ -37,9 +37,9 @@ package org.apache.commons.statistics.descriptive;
* and \( n \) is the number of samples.
*
* <ul>
- * <li>The result is {@code NaN} if less than 3 values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.
- * <li>The result is {@code NaN} if the sum of the cubed deviations from the
mean is infinite.
+ * <li>The result is {@code NaN} if less than 3 values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.</li>
+ * <li>The result is {@code NaN} if the sum of the cubed deviations from the
mean is infinite.</li>
* </ul>
*
* <p>The default computation is for the adjusted Fisher–Pearson standardized
moment coefficient
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StandardDeviation.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StandardDeviation.java
index 87c5e51..679a9d6 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StandardDeviation.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StandardDeviation.java
@@ -25,10 +25,10 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.
- * <li>The result is {@code NaN} if the sum of the squared deviations from
the mean is infinite.
- * <li>The result is zero if there is one finite value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.</li>
+ * <li>The result is {@code NaN} if the sum of the squared deviations from
the mean is infinite.</li>
+ * <li>The result is zero if there is one finite value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. Omitting
the square root,
@@ -75,11 +75,11 @@ package org.apache.commons.statistics.descriptive;
* <li>Chan and Lewis (1979)
* Computing standard deviations: accuracy.
* Communications of the ACM, 22, 526-531.
- * <a href="https://doi.acm.org/10.1145/359146.359152">doi:
10.1145/359146.359152</a>
+ * <a href="https://doi.acm.org/10.1145/359146.359152">doi:
10.1145/359146.359152</a></li>
* <li>Chan, Golub and Levesque (1983)
* Algorithms for Computing the Sample Variance: Analysis and
Recommendations.
* American Statistician, 37, 242-247.
- * <a href="https://doi.org/10.2307/2683386">doi: 10.2307/2683386</a>
+ * <a href="https://doi.org/10.2307/2683386">doi:
10.2307/2683386</a></li>
* </ul>
*
* @see <a href="https://en.wikipedia.org/wiki/Standard_deviation">Standard
deviation (Wikipedia)</a>
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Statistics.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Statistics.java
index 830246c..8292afb 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Statistics.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Statistics.java
@@ -447,10 +447,10 @@ final class Statistics {
* <p>The sub-range is defined to be out of bounds if any of the following
* inequalities is true:
* <ul>
- * <li>{@code fromIndex < 0}
- * <li>{@code fromIndex > toIndex}
- * <li>{@code toIndex > length}
- * <li>{@code length < 0}, which is implied from the former inequalities
+ * <li>{@code fromIndex < 0}</li>
+ * <li>{@code fromIndex > toIndex}</li>
+ * <li>{@code toIndex > length}</li>
+ * <li>{@code length < 0}, which is implied from the former
inequalities</li>
* </ul>
*
* @param fromIndex Lower-bound (inclusive) of the sub-range.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StatisticsConfiguration.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StatisticsConfiguration.java
index a4230b6..ca82c5d 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StatisticsConfiguration.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/StatisticsConfiguration.java
@@ -43,7 +43,7 @@ public final class StatisticsConfiguration {
* Return an instance using the default options.
*
* <ul>
- * <li>{@linkplain #isBiased() Biased = false}
+ * <li>{@linkplain #isBiased() Biased = false}</li>
* </ul>
*
* @return default instance
@@ -60,10 +60,10 @@ public final class StatisticsConfiguration {
*
* <p>This option is used by:
* <ul>
- * <li>{@link StandardDeviation}
- * <li>{@link Variance}
- * <li>{@link Skewness}
- * <li>{@link Kurtosis}
+ * <li>{@link StandardDeviation}</li>
+ * <li>{@link Variance}</li>
+ * <li>{@link Skewness}</li>
+ * <li>{@link Kurtosis}</li>
* </ul>
*
* @param v Value.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
index bd17a40..29e1d65 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Sum.java
@@ -20,10 +20,10 @@ package org.apache.commons.statistics.descriptive;
* Returns the sum of the available values.
*
* <ul>
- * <li>The result is zero if no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
- * <li>The result is {@code NaN} if the values contain positive and negative
infinity.
- * <li>The result is non-finite if the values contain infinities of the same
sign.
+ * <li>The result is zero if no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
+ * <li>The result is {@code NaN} if the values contain positive and negative
infinity.</li>
+ * <li>The result is non-finite if the values contain infinities of the same
sign.</li>
* </ul>
*
* <p>Note: In the event of infinite values of the same sign the result will
be non-finite.
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfCubedDeviations.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfCubedDeviations.java
index 9aef808..a98050a 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfCubedDeviations.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfCubedDeviations.java
@@ -63,7 +63,7 @@ package org.apache.commons.statistics.descriptive;
* Decomposition of the Sum of Cubes, the Sum Raised to the
* Power of Four and Codeviance.
* Applied Mathematics, 11, 1013-1020.
- * <a href="https://doi.org/10.4236/am.2020.1110067">doi:
10.4236/am.2020.1110067</a>
+ * <a href="https://doi.org/10.4236/am.2020.1110067">doi:
10.4236/am.2020.1110067</a></li>
* </ul>
*
* @since 1.1
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
index 0a8a17c..edceebb 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
@@ -67,7 +67,7 @@ package org.apache.commons.statistics.descriptive;
* Decomposition of the Sum of Cubes, the Sum Raised to the
* Power of Four and Codeviance.
* Applied Mathematics, 11, 1013-1020.
- * <a href="https://doi.org/10.4236/am.2020.1110067">doi:
10.4236/am.2020.1110067</a>
+ * <a href="https://doi.org/10.4236/am.2020.1110067">doi:
10.4236/am.2020.1110067</a></li>
* </ul>
*
* @since 1.1
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfLogs.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfLogs.java
index 59ea027..51ee85a 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfLogs.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfLogs.java
@@ -20,20 +20,20 @@ package org.apache.commons.statistics.descriptive;
* Returns the sum of the {@link Math#log(double) natural logarithm} of
available values.
*
* <ul>
- * <li>The result is zero if no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
- * <li>The result is {@code NaN} if any of the values is negative.
+ * <li>The result is zero if no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
+ * <li>The result is {@code NaN} if any of the values is negative.</li>
* </ul>
*
* <p>The sum follows the IEEE754 result for summing infinite values:
*
* <ul>
* <li>The result is {@code +infinity} if all values are in the range {@code
(0, +infinity]}
- * and at least one value is {@code +infinity}.
+ * and at least one value is {@code +infinity}.</li>
* <li>The result is {@code -infinity} if all values are in the range {@code
[0, +infinity)}
- * and at least one value is zero.
+ * and at least one value is zero.</li>
* <li>The result is {@code NaN} if all values are in the range {@code [0,
+infinity]}
- * and at least one value is zero, and one value is {@code +infinity}.
+ * and at least one value is zero, and one value is {@code
+infinity}.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquaredDeviations.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquaredDeviations.java
index ed35336..f8178bf 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquaredDeviations.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquaredDeviations.java
@@ -51,7 +51,7 @@ package org.apache.commons.statistics.descriptive;
* <li>Chan, Golub and Levesque (1983)
* Algorithms for Computing the Sample Variance: Analysis and
Recommendations.
* American Statistician, 37, 242-247.
- * <a href="https://doi.org/10.2307/2683386">doi: 10.2307/2683386</a>
+ * <a href="https://doi.org/10.2307/2683386">doi:
10.2307/2683386</a></li>
* </ul>
*
* @since 1.1
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquares.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquares.java
index 32f5e08..4d1574d 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquares.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfSquares.java
@@ -24,10 +24,10 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( n \) is the number of samples.
*
* <ul>
- * <li>The result is zero if no values are observed.
- * <li>The result is {@code NaN} if any of the values is {@code NaN}.
+ * <li>The result is zero if no values are observed.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN}.</li>
* <li>The result is {@code +infinity} if any of the values is {@code
infinity},
- * or the sum overflows.
+ * or the sum overflows.</li>
* </ul>
*
* <p>This class is designed to work with (though does not require)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
index 542909f..d9fb226 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Variance.java
@@ -25,10 +25,10 @@ package org.apache.commons.statistics.descriptive;
* <p>where \( \overline{x} \) is the sample mean, and \( n \) is the number
of samples.
*
* <ul>
- * <li>The result is {@code NaN} if no values are added.
- * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.
- * <li>The result is {@code NaN} if the sum of the squared deviations from
the mean is infinite.
- * <li>The result is zero if there is one finite value in the data set.
+ * <li>The result is {@code NaN} if no values are added.</li>
+ * <li>The result is {@code NaN} if any of the values is {@code NaN} or
infinite.</li>
+ * <li>The result is {@code NaN} if the sum of the squared deviations from
the mean is infinite.</li>
+ * <li>The result is zero if there is one finite value in the data set.</li>
* </ul>
*
* <p>The use of the term \( n − 1 \) is called Bessel's correction. This is
an unbiased
@@ -72,11 +72,11 @@ package org.apache.commons.statistics.descriptive;
* <li>Chan and Lewis (1979)
* Computing standard deviations: accuracy.
* Communications of the ACM, 22, 526-531.
- * <a href="https://doi.acm.org/10.1145/359146.359152">doi:
10.1145/359146.359152</a>
+ * <a href="https://doi.acm.org/10.1145/359146.359152">doi:
10.1145/359146.359152</a></li>
* <li>Chan, Golub and Levesque (1983)
* Algorithms for Computing the Sample Variance: Analysis and
Recommendations.
* American Statistician, 37, 242-247.
- * <a href="https://doi.org/10.2307/2683386">doi: 10.2307/2683386</a>
+ * <a href="https://doi.org/10.2307/2683386">doi:
10.2307/2683386</a></li>
* </ul>
*
* @see <a href="https://en.wikipedia.org/wiki/Variance">Variance
(Wikipedia)</a>
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ChiSquaredDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ChiSquaredDistribution.java
index f6a119c..e63dc2f 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ChiSquaredDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/ChiSquaredDistribution.java
@@ -67,9 +67,9 @@ public final class ChiSquaredDistribution extends
AbstractContinuousDistribution
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code df < 2}: Infinity
- * <li>{@code df == 2}: 1 / 2
- * <li>{@code df > 2}: 0
+ * <li>{@code df < 2}: Infinity</li>
+ * <li>{@code df == 2}: 1 / 2</li>
+ * <li>{@code df > 2}: 0</li>
* </ul>
*/
@Override
@@ -81,9 +81,9 @@ public final class ChiSquaredDistribution extends
AbstractContinuousDistribution
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code df < 2}: Infinity
- * <li>{@code df == 2}: log(1 / 2)
- * <li>{@code df > 2}: -Infinity
+ * <li>{@code df < 2}: Infinity</li>
+ * <li>{@code df == 2}: log(1 / 2)</li>
+ * <li>{@code df > 2}: -Infinity</li>
* </ul>
*/
@Override
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
index 1941f7c..33cb9a7 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
@@ -43,8 +43,8 @@ public interface DiscreteDistribution {
*
* <p>Special cases:
* <ul>
- * <li>returns {@code 0.0} if {@code x0 == x1};
- * <li>returns {@code probability(x1)} if {@code x0 + 1 == x1};
+ * <li>returns {@code 0.0} if {@code x0 == x1};</li>
+ * <li>returns {@code probability(x1)} if {@code x0 + 1 == x1};</li>
* </ul>
*
* @param x0 Lower bound (exclusive).
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/FDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/FDistribution.java
index 4ede7f5..a1c623d 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/FDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/FDistribution.java
@@ -132,9 +132,9 @@ public final class FDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code df1 < 2}: Infinity
- * <li>{@code df1 == 2}: 1
- * <li>{@code df1 > 2}: 0
+ * <li>{@code df1 < 2}: Infinity</li>
+ * <li>{@code df1 == 2}: 1</li>
+ * <li>{@code df1 > 2}: 0</li>
* </ul>
* <p>Where {@code df1} is the numerator degrees of freedom.
*/
@@ -158,9 +158,9 @@ public final class FDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code df1 < 2}: Infinity
- * <li>{@code df1 == 2}: 0
- * <li>{@code df1 > 2}: -Infinity
+ * <li>{@code df1 < 2}: Infinity</li>
+ * <li>{@code df1 == 2}: 0</li>
+ * <li>{@code df1 > 2}: -Infinity</li>
* </ul>
* <p>Where {@code df1} is the numerator degrees of freedom.
*/
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/GammaDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/GammaDistribution.java
index 2f5711c..3fbbb0a 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/GammaDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/GammaDistribution.java
@@ -105,9 +105,9 @@ public final class GammaDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code shape < 1}: Infinity
- * <li>{@code shape == 1}: 1 / scale
- * <li>{@code shape > 1}: 0
+ * <li>{@code shape < 1}: Infinity</li>
+ * <li>{@code shape == 1}: 1 / scale</li>
+ * <li>{@code shape > 1}: 0</li>
* </ul>
*/
@Override
@@ -130,9 +130,9 @@ public final class GammaDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code shape < 1}: Infinity
- * <li>{@code shape == 1}: -log(scale)
- * <li>{@code shape > 1}: -Infinity
+ * <li>{@code shape < 1}: Infinity</li>
+ * <li>{@code shape == 1}: -log(scale)</li>
+ * <li>{@code shape > 1}: -Infinity</li>
* </ul>
*/
@Override
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/LogNormalDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/LogNormalDistribution.java
index d7bccef..8061f8a 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/LogNormalDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/LogNormalDistribution.java
@@ -166,7 +166,7 @@ public final class LogNormalDistribution extends
AbstractContinuousDistribution
* <ul>
* <li>{@code 0} if {@code x <= 0},</li>
* <li>{@code 0} if {@code ln(x) - mu < 0} and {@code mu - ln(x) > 40 *
s}, as
- * in these cases the actual value is within {@link Double#MIN_VALUE} of 0,
+ * in these cases the actual value is within {@link Double#MIN_VALUE} of
0,</li>
* <li>{@code 1} if {@code ln(x) - mu >= 0} and {@code ln(x) - mu > 40 *
s},
* as in these cases the actual value is within {@link Double#MIN_VALUE} of
* 1,</li>
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/TrapezoidalDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/TrapezoidalDistribution.java
index c96c861..0a4cdcb 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/TrapezoidalDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/TrapezoidalDistribution.java
@@ -35,8 +35,8 @@ import org.apache.commons.rng.UniformRandomProvider;
*
* <p>Note the special cases:
* <ul>
- * <li>\( b = c \) is the triangular distribution
- * <li>\( a = b \) and \( c = d \) is the uniform distribution
+ * <li>\( b = c \) is the triangular distribution</li>
+ * <li>\( a = b \) and \( c = d \) is the uniform distribution</li>
* </ul>
*
* @see <a
href="https://en.wikipedia.org/wiki/Trapezoidal_distribution">Trapezoidal
distribution (Wikipedia)</a>
diff --git
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/WeibullDistribution.java
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/WeibullDistribution.java
index 734d5ac..698f761 100644
---
a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/WeibullDistribution.java
+++
b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/WeibullDistribution.java
@@ -34,8 +34,8 @@ import
org.apache.commons.rng.sampling.distribution.ZigguratSampler;
*
* <p>Note the special cases:
* <ul>
- * <li>\( k = 1 \) is the exponential distribution
- * <li>\( k = 2 \) is the Rayleigh distribution with scale \( \sigma = \frac
{\lambda}{\sqrt{2}} \)
+ * <li>\( k = 1 \) is the exponential distribution</li>
+ * <li>\( k = 2 \) is the Rayleigh distribution with scale \( \sigma = \frac
{\lambda}{\sqrt{2}} \)</li>
* </ul>
*
* @see <a href="https://en.wikipedia.org/wiki/Weibull_distribution">Weibull
distribution (Wikipedia)</a>
@@ -110,9 +110,9 @@ public final class WeibullDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code shape < 1}: Infinity
- * <li>{@code shape == 1}: 1 / scale
- * <li>{@code shape > 1}: 0
+ * <li>{@code shape < 1}: Infinity</li>
+ * <li>{@code shape == 1}: 1 / scale</li>
+ * <li>{@code shape > 1}: 0</li>
* </ul>
*/
@Override
@@ -145,9 +145,9 @@ public final class WeibullDistribution extends
AbstractContinuousDistribution {
*
* <p>Returns the limit when {@code x = 0}:
* <ul>
- * <li>{@code shape < 1}: Infinity
- * <li>{@code shape == 1}: log(1 / scale)
- * <li>{@code shape > 1}: -Infinity
+ * <li>{@code shape < 1}: Infinity</li>
+ * <li>{@code shape == 1}: log(1 / scale)</li>
+ * <li>{@code shape > 1}: -Infinity</li>
* </ul>
*/
@Override
diff --git
a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/descriptive/IntegerSumOfCubedDeviations.java
b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/descriptive/IntegerSumOfCubedDeviations.java
index cd5240d..79e1b62 100644
---
a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/descriptive/IntegerSumOfCubedDeviations.java
+++
b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/descriptive/IntegerSumOfCubedDeviations.java
@@ -34,9 +34,9 @@ import java.util.function.LongConsumer;
*
* <ul>
* <li>No overflow is possible given the maximum values of intermediate terms;
- * allows removing the scaling of input.
+ * allows removing the scaling of input.</li>
* <li>No handling of infinite or NaN is required; allows removing computation
- * of the non-finite value.
+ * of the non-finite value.</li>
* </ul>
*
* <p>This class does not copy the moment hierarchy from the {@code double}
diff --git
a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/distribution/NormalSamplerPerformance.java
b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/distribution/NormalSamplerPerformance.java
index ba6b54b..509e0dd 100644
---
a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/distribution/NormalSamplerPerformance.java
+++
b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/distribution/NormalSamplerPerformance.java
@@ -42,8 +42,8 @@ import org.openjdk.jmh.annotations.Warmup;
* <p>This benchmark is used to determine what sampler to use in a truncated
* normal distribution:
* <ul>
- * <li>Rejection sampling from a normal distribution (ignore samples outside
the truncated range)
- * <li>Inverse transform sampling
+ * <li>Rejection sampling from a normal distribution (ignore samples outside
the truncated range)</li>
+ * <li>Inverse transform sampling</li>
* </ul>
*
* <p>Rejection sampling can be used when the truncated distribution covers a
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/AlternativeHypothesis.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/AlternativeHypothesis.java
index 489e2cc..6e2c536 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/AlternativeHypothesis.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/AlternativeHypothesis.java
@@ -26,8 +26,8 @@ public enum AlternativeHypothesis {
/**
* Represents a two-sided test.
* <ul>
- * <li>Null hypothesis (H<sub>0</sub>): {@code p = p0}
- * <li>Alternative hypothesis (H<sub>1</sub>): {@code p != p0}
+ * <li>Null hypothesis (H<sub>0</sub>): {@code p = p0}</li>
+ * <li>Alternative hypothesis (H<sub>1</sub>): {@code p != p0}</li>
* </ul>
*/
TWO_SIDED,
@@ -35,8 +35,8 @@ public enum AlternativeHypothesis {
/**
* Represents a right-sided test.
* <ul>
- * <li>Null hypothesis (H<sub>0</sub>): {@code p <= p0}
- * <li>Alternative hypothesis (H<sub>1</sub>): {@code p > p0}
+ * <li>Null hypothesis (H<sub>0</sub>): {@code p <= p0}</li>
+ * <li>Alternative hypothesis (H<sub>1</sub>): {@code p > p0}</li>
* </ul>
*/
GREATER_THAN,
@@ -44,8 +44,8 @@ public enum AlternativeHypothesis {
/**
* Represents a left-sided test.
* <ul>
- * <li>Null hypothesis (H<sub>0</sub>): {@code p >= p0}
- * <li>Alternative hypothesis (H<sub>1</sub>): {@code p < p0}
+ * <li>Null hypothesis (H<sub>0</sub>): {@code p >= p0}</li>
+ * <li>Alternative hypothesis (H<sub>1</sub>): {@code p < p0}</li>
* </ul>
*/
LESS_THAN
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/BinomialTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/BinomialTest.java
index 263d09f..2b737a6 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/BinomialTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/BinomialTest.java
@@ -46,7 +46,7 @@ public final class BinomialTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
* </ul>
*
* @return default instance
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/ChiSquareTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/ChiSquareTest.java
index b13b740..7137fa6 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/ChiSquareTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/ChiSquareTest.java
@@ -53,7 +53,7 @@ public final class ChiSquareTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@linkplain #withDegreesOfFreedomAdjustment(int) Degrees of freedom
adjustment = 0}
+ * <li>{@linkplain #withDegreesOfFreedomAdjustment(int) Degrees of freedom
adjustment = 0}</li>
* </ul>
*
* @return default instance
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/FisherExactTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/FisherExactTest.java
index f532548..804dc5c 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/FisherExactTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/FisherExactTest.java
@@ -49,7 +49,7 @@ public final class FisherExactTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
* </ul>
*
* @return default instance
@@ -83,8 +83,8 @@ public final class FisherExactTest {
*
* <p>Special cases:
* <ul>
- * <li>If the denominator is zero, the value is {@linkplain
Double#POSITIVE_INFINITY infinity}.
- * <li>If a row or column sum is zero, the value is {@link Double#NaN NaN}.
+ * <li>If the denominator is zero, the value is {@linkplain
Double#POSITIVE_INFINITY infinity}.</li>
+ * <li>If a row or column sum is zero, the value is {@link Double#NaN
NaN}.</li>
* </ul>
*
* <p>Note: This statistic is equal to the statistic computed by the SciPy
function
@@ -119,11 +119,11 @@ public final class FisherExactTest {
* of the upper-left element {@code a} are {@code min(0, a - d) <= x <= a
+ min(b, c)}.
* <ul>
* <li>'two-sided': the odds ratio of the underlying population is not
one; the p-value
- * is the probability that a random table has probability equal to or less
than the input table.
+ * is the probability that a random table has probability equal to or less
than the input table.</li>
* <li>'greater': the odds ratio of the underlying population is greater
than one; the p-value
- * is the probability that a random table has {@code x >= a}.
+ * is the probability that a random table has {@code x >= a}.</li>
* <li>'less': the odds ratio of the underlying population is less than
one; the p-value
- * is the probability that a random table has {@code x <= a}.
+ * is the probability that a random table has {@code x <= a}.</li>
* </ul>
*
* @param table 2-by-2 contingency table.
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/GTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/GTest.java
index 9092f88..8400f61 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/GTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/GTest.java
@@ -62,7 +62,7 @@ public final class GTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@linkplain #withDegreesOfFreedomAdjustment(int) Degrees of freedom
adjustment = 0}
+ * <li>{@linkplain #withDegreesOfFreedomAdjustment(int) Degrees of freedom
adjustment = 0}</li>
* </ul>
*
* @return default instance
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Inequality.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Inequality.java
index 2977fea..9e85bfd 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Inequality.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Inequality.java
@@ -26,8 +26,8 @@ public enum Inequality {
/**
* Represents a strict inequality.
* <ul>
- * <li>{@code a < b}
- * <li>{@code a > b}
+ * <li>{@code a < b}</li>
+ * <li>{@code a > b}</li>
* </ul>
*/
STRICT,
@@ -35,8 +35,8 @@ public enum Inequality {
/**
* Represents a non-strict inequality (numbers may be equal).
* <ul>
- * <li>{@code a <= b}
- * <li>{@code a >= b}
+ * <li>{@code a <= b}</li>
+ * <li>{@code a >= b}</li>
* </ul>
*/
NON_STRICT
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
index 4993804..ce7cbbf 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
@@ -62,11 +62,11 @@ final class KolmogorovSmirnovDistribution {
* <ol>
* <li>Simard, R., & L’Ecuyer, P. (2011).
* <a href="https://doi.org/10.18637/jss.v039.i11">Computing the Two-Sided
Kolmogorov-Smirnov Distribution.</a>
- * Journal of Statistical Software, 39(11), 1–18.
+ * Journal of Statistical Software, 39(11), 1–18.</li>
* <li>
* Marsaglia, G., Tsang, W. W., & Wang, J. (2003).
* <a href="https://doi.org/10.18637/jss.v008.i18">Evaluating Kolmogorov's
Distribution.</a>
- * Journal of Statistical Software, 8(18), 1–4.
+ * Journal of Statistical Software, 8(18), 1–4.</li>
* </ol>
*
* <p>Note that [2] contains an error in computing h, refer to <a
@@ -665,10 +665,10 @@ final class KolmogorovSmirnovDistribution {
* <li>
* van Mulbregt, P. (2018).
* <a href="https://doi.org/10.48550/arxiv.1802.06966">Computing the
Cumulative Distribution Function and Quantiles of the One-sided
Kolmogorov-Smirnov Statistic</a>
- * arxiv:1802.06966.
+ * arxiv:1802.06966.</li>
* <li>Magg & Dicaire (1971).
* <a href="https://doi.org/10.1093/biomet/58.3.653">On Kolmogorov-Smirnov
Type One-Sample Statistics</a>
- * Biometrika 58.3 pp. 653–656.
+ * Biometrika 58.3 pp. 653–656.</li>
* </ol>
*
* @since 1.1
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovTest.java
index 644856c..4025231 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovTest.java
@@ -43,23 +43,23 @@ import org.apache.commons.rng.UniformRandomProvider;
* <li>
* Marsaglia, G., Tsang, W. W., & Wang, J. (2003).
* <a href="https://doi.org/10.18637/jss.v008.i18">Evaluating Kolmogorov's
Distribution.</a>
- * Journal of Statistical Software, 8(18), 1–4.
+ * Journal of Statistical Software, 8(18), 1–4.</li>
* <li>Simard, R., & L’Ecuyer, P. (2011).
* <a href="https://doi.org/10.18637/jss.v039.i11">Computing the Two-Sided
Kolmogorov-Smirnov Distribution.</a>
- * Journal of Statistical Software, 39(11), 1–18.
+ * Journal of Statistical Software, 39(11), 1–18.</li>
* <li>Sekhon, J. S. (2011).
* <a href="https://doi.org/10.18637/jss.v042.i07">
* Multivariate and Propensity Score Matching Software with Automated Balance
Optimization:
* The Matching package for R.</a>
- * Journal of Statistical Software, 42(7), 1–52.
+ * Journal of Statistical Software, 42(7), 1–52.</li>
* <li>Viehmann, T (2021).
* <a href="https://doi.org/10.48550/arXiv.2102.08037">
* Numerically more stable computation of the p-values for the two-sample
Kolmogorov-Smirnov test.</a>
- * arXiv:2102.08037
+ * arXiv:2102.08037</li>
* <li>Hodges, J. L. (1958).
* <a href="https://doi.org/10.1007/BF02589501">
* The significance probability of the smirnov two-sample test.</a>
- * Arkiv for Matematik, 3(5), 469-486.
+ * Arkiv for Matematik, 3(5), 469-486.</li>
* </ol>
*
* <p>Note that [1] contains an error in computing h, refer to <a
@@ -294,11 +294,11 @@ public final class KolmogorovSmirnovTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
- * <li>{@link PValueMethod#AUTO}
- * <li>{@link Inequality#NON_STRICT}
- * <li>{@linkplain #with(UniformRandomProvider) RNG = none}
- * <li>{@linkplain #withIterations(int) Iterations = 1000}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
+ * <li>{@link PValueMethod#AUTO}</li>
+ * <li>{@link Inequality#NON_STRICT}</li>
+ * <li>{@linkplain #with(UniformRandomProvider) RNG = none}</li>
+ * <li>{@linkplain #withIterations(int) Iterations = 1000}</li>
* </ul>
*
* @return default instance
@@ -396,9 +396,9 @@ public final class KolmogorovSmirnovTest {
* Computes the one-sample Kolmogorov-Smirnov test statistic.
*
* <ul>
- * <li>two-sided: \(D_n=\sup_x |F_n(x)-F(x)|\)
- * <li>greater: \(D_n^+=\sup_x (F_n(x)-F(x))\)
- * <li>less: \(D_n^-=\sup_x (F(x)-F_n(x))\)
+ * <li>two-sided: \(D_n=\sup_x |F_n(x)-F(x)|\)</li>
+ * <li>greater: \(D_n^+=\sup_x (F_n(x)-F(x))\)</li>
+ * <li>less: \(D_n^-=\sup_x (F(x)-F_n(x))\)</li>
* </ul>
*
* <p>where \(F\) is the distribution cumulative density function ({@code
cdf}),
@@ -428,9 +428,9 @@ public final class KolmogorovSmirnovTest {
* Computes the two-sample Kolmogorov-Smirnov test statistic.
*
* <ul>
- * <li>two-sided: \(D_{n,m}=\sup_x |F_n(x)-F_m(x)|\)
- * <li>greater: \(D_{n,m}^+=\sup_x (F_n(x)-F_m(x))\)
- * <li>less: \(D_{n,m}^-=\sup_x (F_m(x)-F_n(x))\)
+ * <li>two-sided: \(D_{n,m}=\sup_x |F_n(x)-F_m(x)|\)</li>
+ * <li>greater: \(D_{n,m}^+=\sup_x (F_n(x)-F_m(x))\)</li>
+ * <li>less: \(D_{n,m}^-=\sup_x (F_m(x)-F_n(x))\)</li>
* </ul>
*
* <p>where \(n\) is the length of {@code x}, \(m\) is the length of
{@code y}, \(F_n\) is the
@@ -462,11 +462,11 @@ public final class KolmogorovSmirnovTest {
* <ul>
* <li>Two-sided evaluates the null hypothesis that the two distributions
are
* identical, \(F_n(i) = F(i)\) for all \( i \); the alternative is that
the are not
- * identical. The statistic is \( max(D_n^+, D_n^-) \) and the sign of \(
D \) is provided.
+ * identical. The statistic is \( max(D_n^+, D_n^-) \) and the sign of \(
D \) is provided.</li>
* <li>Greater evaluates the null hypothesis that the \(F_n(i) <=
F(i)\) for all \( i \);
- * the alternative is \(F_n(i) > F(i)\) for at least one \( i \). The
statistic is \( D_n^+ \).
+ * the alternative is \(F_n(i) > F(i)\) for at least one \( i \). The
statistic is \( D_n^+ \).</li>
* <li>Less evaluates the null hypothesis that the \(F_n(i) >= F(i)\)
for all \( i \);
- * the alternative is \(F_n(i) < F(i)\) for at least one \( i \). The
statistic is \( D_n^- \).
+ * the alternative is \(F_n(i) < F(i)\) for at least one \( i \). The
statistic is \( D_n^- \).</li>
* </ul>
*
* <p>The p-value method defaults to exact. The one-sided p-value uses
Smirnov's stable formula:
@@ -520,11 +520,11 @@ public final class KolmogorovSmirnovTest {
* <ul>
* <li>Two-sided evaluates the null hypothesis that the two distributions
are
* identical, \(F_n(i) = F_m(i)\) for all \( i \); the alternative is that
they are not
- * identical. The statistic is \( max(D_n^+, D_n^-) \) and the sign of \(
D \) is provided.
+ * identical. The statistic is \( max(D_n^+, D_n^-) \) and the sign of \(
D \) is provided.</li>
* <li>Greater evaluates the null hypothesis that the \(F_n(i) <=
F_m(i)\) for all \( i \);
- * the alternative is \(F_n(i) > F_m(i)\) for at least one \( i \). The
statistic is \( D_n^+ \).
+ * the alternative is \(F_n(i) > F_m(i)\) for at least one \( i \). The
statistic is \( D_n^+ \).</li>
* <li>Less evaluates the null hypothesis that the \(F_n(i) >= F_m(i)\)
for all \( i \);
- * the alternative is \(F_n(i) < F_m(i)\) for at least one \( i \). The
statistic is \( D_n^- \).
+ * the alternative is \(F_n(i) < F_m(i)\) for at least one \( i \). The
statistic is \( D_n^- \).</li>
* </ul>
*
* <p>If the {@linkplain PValueMethod p-value method} is auto, then an
exact p computation
@@ -890,8 +890,8 @@ public final class KolmogorovSmirnovTest {
* or minimum long value. The {@code minus} should be negatively signed:
*
* <ul>
- * <li>greater: {@code plus} = D, {@code minus} = {@link Long#MIN_VALUE}
- * <li>greater: {@code minus} = -D, {@code plus} = {@link Long#MAX_VALUE}
+ * <li>greater: {@code plus} = D, {@code minus} = {@link
Long#MIN_VALUE}</li>
+ * <li>greater: {@code minus} = -D, {@code plus} = {@link
Long#MAX_VALUE}</li>
* </ul>
*
* <p>Note: This method has not been specialized for the one-sided case.
Specialization
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
index 32e8724..0751795 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/MannWhitneyUTest.java
@@ -132,10 +132,10 @@ public final class MannWhitneyUTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
- * <li>{@link PValueMethod#AUTO}
- * <li>{@link ContinuityCorrection#ENABLED}
- * <li>{@linkplain #withMu(double) mu = 0}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
+ * <li>{@link PValueMethod#AUTO}</li>
+ * <li>{@link ContinuityCorrection#ENABLED}</li>
+ * <li>{@linkplain #withMu(double) mu = 0}</li>
* </ul>
*
* @return default instance
@@ -234,11 +234,11 @@ public final class MannWhitneyUTest {
* <p>The test is defined by the {@link AlternativeHypothesis}.
* <ul>
* <li>'two-sided': the distribution underlying {@code (x - mu)} is not
equal to the
- * distribution underlying {@code y}.
+ * distribution underlying {@code y}.</li>
* <li>'greater': the distribution underlying {@code (x - mu)} is
stochastically greater than
- * the distribution underlying {@code y}.
+ * the distribution underlying {@code y}.</li>
* <li>'less': the distribution underlying {@code (x - mu)} is
stochastically less than
- * the distribution underlying {@code y}.
+ * the distribution underlying {@code y}.</li>
* </ul>
*
* <p>If the p-value method is {@linkplain PValueMethod#AUTO auto} an
exact p-value is
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/OneWayAnova.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/OneWayAnova.java
index c9e9115..643c7b4 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/OneWayAnova.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/OneWayAnova.java
@@ -200,9 +200,9 @@ public final class OneWayAnova {
* <p>Special cases:
* <ul>
* <li>If the value in each category is the same (no variance within
groups) but different
- * between groups, the f-value is {@linkplain Double#POSITIVE_INFINITY
infinity}.
+ * between groups, the f-value is {@linkplain Double#POSITIVE_INFINITY
infinity}.</li>
* <li>If the value in every group is the same (no variance within or
between groups),
- * the f-value is {@link Double#NaN NaN}.
+ * the f-value is {@link Double#NaN NaN}.</li>
* </ul>
*
* @param data Category summary data.
@@ -225,9 +225,9 @@ public final class OneWayAnova {
* <p>Special cases:
* <ul>
* <li>If the value in each category is the same (no variance within
groups) but different
- * between groups, the f-value is {@linkplain Double#POSITIVE_INFINITY
infinity} and the p-value is zero.
+ * between groups, the f-value is {@linkplain Double#POSITIVE_INFINITY
infinity} and the p-value is zero.</li>
* <li>If the value in every group is the same (no variance within or
between groups),
- * the f-value and p-value are {@link Double#NaN NaN}.
+ * the f-value and p-value are {@link Double#NaN NaN}.</li>
* </ul>
*
* @param data Category summary data.
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Searches.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Searches.java
index f374ff2..5fd02e1 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Searches.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/Searches.java
@@ -47,8 +47,8 @@ final class Searches {
* <p>The function is only evaluated between the closed interval {@code
[a, b]}.
* Special cases:
* <ul>
- * <li>If {@code value(a) <= x} the returned index is {@code a}.
- * <li>If {@code value(b) > x} the returned index is {@code b + 1}.
+ * <li>If {@code value(a) <= x} the returned index is {@code a}.</li>
+ * <li>If {@code value(b) > x} the returned index is {@code b + 1}.</li>
* </ul>
*
* @param a Lower limit (inclusive).
@@ -79,8 +79,8 @@ final class Searches {
* <p>The function is only evaluated between the closed interval {@code
[a, b]}.
* Special cases:
* <ul>
- * <li>If {@code value(a) > x} the returned index is {@code a - 1}.
- * <li>If {@code value(b) <= x} the returned index is {@code b}.
+ * <li>If {@code value(a) > x} the returned index is {@code a - 1}.</li>
+ * <li>If {@code value(b) <= x} the returned index is {@code b}.</li>
* </ul>
*
* @param a Lower limit (inclusive).
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
index 8b350b6..3ca5b82 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
@@ -87,7 +87,7 @@ final class SquareMatrixSupport {
* <li>
* Marsaglia, G., Tsang, W. W., & Wang, J. (2003).
* <a href="https://doi.org/10.18637/jss.v008.i18">Evaluating Kolmogorov's
Distribution.</a>
- * Journal of Statistical Software, 8(18), 1–4.
+ * Journal of Statistical Software, 8(18), 1–4.</li>
* </ul>
*/
private static class ArrayRealSquareMatrix implements RealSquareMatrix {
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/TTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/TTest.java
index 4590434..76d6b8e 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/TTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/TTest.java
@@ -27,10 +27,10 @@ import
org.apache.commons.statistics.distribution.TDistribution;
*
* <p>Tests can be:
* <ul>
- * <li>One-sample or two-sample
- * <li>One-sided or two-sided
- * <li>Paired or unpaired (for two-sample tests)
- * <li>Homoscedastic (equal variance assumption) or heteroscedastic (for two
sample tests)
+ * <li>One-sample or two-sample</li>
+ * <li>One-sided or two-sided</li>
+ * <li>Paired or unpaired (for two-sample tests)</li>
+ * <li>Homoscedastic (equal variance assumption) or heteroscedastic (for two
sample tests)</li>
* </ul>
*
* <p>Input to tests can be either {@code double[]} arrays or the mean,
variance, and size
@@ -96,9 +96,9 @@ public final class TTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
- * <li>{@link DataDispersion#HETEROSCEDASTIC}
- * <li>{@linkplain #withMu(double) mu = 0}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
+ * <li>{@link DataDispersion#HETEROSCEDASTIC}</li>
+ * <li>{@linkplain #withMu(double) mu = 0}</li>
* </ul>
*
* @return default instance
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/UnconditionedExactTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/UnconditionedExactTest.java
index c31375b..94a103d 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/UnconditionedExactTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/UnconditionedExactTest.java
@@ -75,17 +75,17 @@ import
org.apache.commons.statistics.inference.BrentOptimizer.PointValuePair;
* <li>
* Barnard, G.A. (1947).
* <a href="https://doi.org/10.1093/biomet/34.1-2.123">Significance tests for
2x2 tables.</a>
- * Biometrika, 34, Issue 1-2, 123–138.
+ * Biometrika, 34, Issue 1-2, 123–138.</li>
* <li>
* Boschloo, R.D. (1970).
* <a href="https://doi.org/10.1111/j.1467-9574.1970.tb00104.x">Raised
conditional level of
* significance for the 2 × 2-table when testing the equality of two
probabilities.</a>
- * Statistica neerlandica, 24(1), 1–9.
+ * Statistica neerlandica, 24(1), 1–9.</li>
* <li>
* Suisaa, A and Shuster, J.J. (1985).
* <a href="https://doi.org/10.2307/2981892">Exact Unconditional Sample Sizes
* for the 2 × 2 Binomial Trial.</a>
- * Journal of the Royal Statistical Society. Series A (General), 148(4),
317-327.
+ * Journal of the Royal Statistical Society. Series A (General), 148(4),
317-327.</li>
* </ol>
*
* @see FisherExactTest
@@ -162,9 +162,9 @@ public final class UnconditionedExactTest {
*
* <p>The more extreme tables are identified using the {@link
AlternativeHypothesis}:
* <ul>
- * <li>greater: \( T(X) \ge T(X_0) \)
- * <li>less: \( T(X) \le T(X_0) \)
- * <li>two-sided: \( | T(X) | \ge | T(X_0) | \)
+ * <li>greater: \( T(X) \ge T(X_0) \)</li>
+ * <li>less: \( T(X) \le T(X_0) \)</li>
+ * <li>two-sided: \( | T(X) | \ge | T(X_0) | \)</li>
* </ul>
*
* <p>The use of the Z statistic was suggested by Suissa and Shuster
(1985).
@@ -552,10 +552,10 @@ public final class UnconditionedExactTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
- * <li>{@link Method#BOSCHLOO}
- * <li>{@linkplain #withInitialPoints(int) points = 33}
- * <li>{@linkplain #withOptimize(boolean) optimize = true}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
+ * <li>{@link Method#BOSCHLOO}</li>
+ * <li>{@linkplain #withInitialPoints(int) points = 33}</li>
+ * <li>{@linkplain #withOptimize(boolean) optimize = true}</li>
* </ul>
*
* @return default instance
diff --git
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/WilcoxonSignedRankTest.java
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/WilcoxonSignedRankTest.java
index 65c40c2..8a558cf 100644
---
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/WilcoxonSignedRankTest.java
+++
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/WilcoxonSignedRankTest.java
@@ -123,10 +123,10 @@ public final class WilcoxonSignedRankTest {
* Return an instance using the default options.
*
* <ul>
- * <li>{@link AlternativeHypothesis#TWO_SIDED}
- * <li>{@link PValueMethod#AUTO}
- * <li>{@link ContinuityCorrection#ENABLED}
- * <li>{@linkplain #withMu(double) mu = 0}
+ * <li>{@link AlternativeHypothesis#TWO_SIDED}</li>
+ * <li>{@link PValueMethod#AUTO}</li>
+ * <li>{@link ContinuityCorrection#ENABLED}</li>
+ * <li>{@linkplain #withMu(double) mu = 0}</li>
* </ul>
*
* @return default instance
@@ -240,11 +240,11 @@ public final class WilcoxonSignedRankTest {
* <p>The test is defined by the {@link AlternativeHypothesis}.
*
* <ul>
- * <li>'two-sided': the distribution of the difference is not symmetric
about {@code mu}.
+ * <li>'two-sided': the distribution of the difference is not symmetric
about {@code mu}.</li>
* <li>'greater': the distribution of the difference is stochastically
greater than a
- * distribution symmetric about {@code mu}.
+ * distribution symmetric about {@code mu}.</li>
* <li>'less': the distribution of the difference is stochastically less
than a distribution
- * symmetric about {@code mu}.
+ * symmetric about {@code mu}.</li>
* </ul>
*
* <p>If the p-value method is {@linkplain PValueMethod#AUTO auto} an
exact p-value