You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/02/21 20:51:08 UTC
svn commit: r1291972 - in
/commons/proper/math/trunk/src/site/xdoc/userguide: filter.xml stat.xml
Author: tn
Date: Tue Feb 21 19:51:08 2012
New Revision: 1291972
URL: http://svn.apache.org/viewvc?rev=1291972&view=rev
Log:
Updated user guide for stat.inference and filter package.
Modified:
commons/proper/math/trunk/src/site/xdoc/userguide/filter.xml
commons/proper/math/trunk/src/site/xdoc/userguide/stat.xml
Modified: commons/proper/math/trunk/src/site/xdoc/userguide/filter.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/userguide/filter.xml?rev=1291972&r1=1291971&r2=1291972&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/userguide/filter.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/userguide/filter.xml Tue Feb 21 19:51:08 2012
@@ -144,7 +144,7 @@ for (int i = 0; i < 60; i++) {
filter.correct(z);
- double voltage = filter.getStateEstimation()[0];
+ double voltage = filter.getStateEstimation()[0];
}
</source>
</dd>
@@ -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];
}
</source>
</dd>
Modified: commons/proper/math/trunk/src/site/xdoc/userguide/stat.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/userguide/stat.xml?rev=1291972&r1=1291971&r2=1291972&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/userguide/stat.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/userguide/stat.xml Tue Feb 21 19:51:08 2012
@@ -804,37 +804,38 @@ new PearsonsCorrelation().correlation(ra
</subsection>
<subsection name="1.8 Statistical tests">
<p>
- The interfaces and implementations in the
- <a href="../apidocs/org/apache/commons/math3/stat/inference/">
- org.apache.commons.math3.stat.inference</a> package provide
+ The <a href="../apidocs/org/apache/commons/math3/stat/inference/">
+ org.apache.commons.math3.stat.inference</a> package provides implementations for
<a href="http://www.itl.nist.gov/div898/handbook/prc/section2/prc22.htm">
Student's t</a>,
<a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda35f.htm">
- Chi-Square</a> and
+ Chi-Square</a>,
<a href="http://www.itl.nist.gov/div898/handbook/prc/section4/prc43.htm">
- One-Way ANOVA</a> test statistics as well as
+ One-Way ANOVA</a>,
+ <a href="http://www.itl.nist.gov/div898/handbook/prc/section3/prc35.htm">
+ Mann-Whitney U</a> and
+ <a href="http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test">
+ Wilcoxon signed rank</a> test statistics as well as
<a href="http://www.cas.lancs.ac.uk/glossary_v1.1/hyptest.html#pvalue">
p-values</a> associated with <code>t-</code>,
- <code>Chi-Square</code> and <code>One-Way ANOVA</code> tests. The
- interfaces are
+ <code>Chi-Square</code>, <code>One-Way ANOVA</code>, <code>Mann-Whitney U</code>
+ and <code>Wilcoxon signed rank</code> tests. The respective test classes are
<a href="../apidocs/org/apache/commons/math3/stat/inference/TTest.html">
TTest</a>,
<a href="../apidocs/org/apache/commons/math3/stat/inference/ChiSquareTest.html">
- ChiSquareTest</a>, and
+ ChiSquareTest</a>,
<a href="../apidocs/org/apache/commons/math3/stat/inference/OneWayAnova.html">
- OneWayAnova</a> with provided implementations
- <a href="../apidocs/org/apache/commons/math3/stat/inference/TTestImpl.html">
- TTestImpl</a>,
- <a href="../apidocs/org/apache/commons/math3/stat/inference/ChiSquareTestImpl.html">
- ChiSquareTestImpl</a> and
- <a href="../apidocs/org/apache/commons/math3/stat/inference/OneWayAnovaImpl.html">
- OneWayAnovaImpl</a>, respectively.
+ OneWayAnova</a>,
+ <a href="../apidocs/org/apache/commons/math3/stat/inference/MannWhitneyUTest.html">
+ MannWhitneyUTest</a>, and
+ <a href="../apidocs/org/apache/commons/math3/stat/inference/WilcoxonSignedRankTest.html">
+ WilcoxonSignedRankTest</a>.
The <a href="../apidocs/org/apache/commons/math3/stat/inference/TestUtils.html">
TestUtils</a> class provides static methods to get test instances or
to compute test statistics directly. The examples below all use the
static methods in <code>TestUtils</code> to execute tests. To get
test object instances, either use e.g., <code>TestUtils.getTTest()</code>
- or use the implementation constructors directly, e.g. <code>new TTestImpl()</code>.
+ or use the implementation constructors directly, e.g. <code>new TTest()</code>.
</p>
<p>
<strong>Implementation Notes</strong>