Skip to content

Commit 5f2b79e

Browse files
committed
Correct javadoc typo
1 parent b5cf98e commit 5f2b79e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commons-statistics-interval/src/main/java/org/apache/commons/statistics/interval/NormalConfidenceInterval.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Interval create(double mean, double variance, long n, double alpha) {
5959
* distributed population with the given error rate.
6060
*
6161
* <p>The error rate {@code alpha} is related to the confidence level that the
62-
* interval contains the true probability of success as
62+
* interval contains the true value as
6363
* {@code alpha = 1 - confidence}, where {@code confidence} is the confidence level
6464
* in {@code [0, 1]}. For example a 95% confidence level is an {@code alpha} of 0.05.
6565
*
@@ -69,7 +69,7 @@ Interval create(double mean, double variance, long n, double alpha) {
6969
* @param mean Sample mean.
7070
* @param variance Unbiased sample variance.
7171
* @param n Sample size.
72-
* @param alpha Desired error rate that the true probability of success falls
72+
* @param alpha Desired error rate that the true value falls
7373
* <em>outside</em> the returned interval.
7474
* @return Confidence interval containing the target with error rate {@code alpha}
7575
* @throws IllegalArgumentException if {@code n <= 1}, or if {@code alpha} is not in

0 commit comments

Comments
 (0)