diff --git a/src/site/xdoc/userguide/filter.xml b/src/site/xdoc/userguide/filter.xml index 79fbc47b8..1dc7f04ad 100644 --- a/src/site/xdoc/userguide/filter.xml +++ b/src/site/xdoc/userguide/filter.xml @@ -144,7 +144,7 @@ for (int i = 0; i < 60; i++) { filter.correct(z); - double voltage = filter.getStateEstimation()[0]; + double voltage = filter.getStateEstimation()[0]; } @@ -214,8 +214,8 @@ for (int i = 0; i < 60; i++) { filter.correct(z); - double position = filter.getStateEstimation()[0]; - double velocity = filter.getStateEstimation()[1]; + double position = filter.getStateEstimation()[0]; + double velocity = filter.getStateEstimation()[1]; } diff --git a/src/site/xdoc/userguide/stat.xml b/src/site/xdoc/userguide/stat.xml index c395f05fb..eb68a76cc 100644 --- a/src/site/xdoc/userguide/stat.xml +++ b/src/site/xdoc/userguide/stat.xml @@ -804,37 +804,38 @@ new PearsonsCorrelation().correlation(ranking.rank(x), ranking.rank(y))

- The interfaces and implementations in the - - org.apache.commons.math3.stat.inference package provide + The + org.apache.commons.math3.stat.inference package provides implementations for Student's t, - Chi-Square and + Chi-Square, - One-Way ANOVA test statistics as well as + One-Way ANOVA, + + Mann-Whitney U and + + Wilcoxon signed rank test statistics as well as p-values associated with t-, - Chi-Square and One-Way ANOVA tests. The - interfaces are + Chi-Square, One-Way ANOVA, Mann-Whitney U + and Wilcoxon signed rank tests. The respective test classes are TTest, - ChiSquareTest, and + ChiSquareTest, - OneWayAnova with provided implementations - - TTestImpl, - - ChiSquareTestImpl and - - OneWayAnovaImpl, respectively. + OneWayAnova, + + MannWhitneyUTest, and + + WilcoxonSignedRankTest. The TestUtils class provides static methods to get test instances or to compute test statistics directly. The examples below all use the static methods in TestUtils to execute tests. To get test object instances, either use e.g., TestUtils.getTTest() - or use the implementation constructors directly, e.g. new TTestImpl(). + or use the implementation constructors directly, e.g. new TTest().

Implementation Notes