javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141342 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6e21d23996
commit
d7bc4a2d8e
|
@ -34,8 +34,10 @@ import org.apache.commons.math.stat.univariate.AbstractStorelessUnivariateStatis
|
|||
* <li>For each additional value, update using <br>
|
||||
* <code>m = m + (new value - m) / (number of observations)</code></li>
|
||||
* </ol>
|
||||
* <p>
|
||||
* Returns <code>Double.NaN</code> if the dataset is empty.
|
||||
*
|
||||
* @version $Revision: 1.16 $ $Date: 2004/06/27 19:37:51 $
|
||||
* @version $Revision: 1.17 $ $Date: 2004/06/29 02:14:17 $
|
||||
*/
|
||||
public class FirstMoment extends AbstractStorelessUnivariateStatistic implements Serializable{
|
||||
|
||||
|
|
|
@ -38,8 +38,11 @@ import java.io.Serializable;
|
|||
* <p>
|
||||
* new value = old value - 4 * (dev/n) * m3 + 6 * (dev/n)^2 * m2 + <br>
|
||||
* [n^2 - 3 * (n-1)] * dev^4 * (n-1) / n^3
|
||||
* <p>
|
||||
* Returns <code>Double.NaN</code> if no data values have been added and
|
||||
* returns <code>0</code> if there is just one value in the data set.
|
||||
*
|
||||
* @version $Revision: 1.18 $ $Date: 2004/06/27 19:37:51 $
|
||||
* @version $Revision: 1.19 $ $Date: 2004/06/29 02:14:17 $
|
||||
*/
|
||||
public class FourthMoment extends ThirdMoment implements Serializable{
|
||||
|
||||
|
|
|
@ -30,8 +30,11 @@ import java.io.Serializable;
|
|||
* Then
|
||||
* <p>
|
||||
* new value = old value + dev^2 * (n -1) / n.
|
||||
* <p>
|
||||
* Returns <code>Double.NaN</code> if no data values have been added and
|
||||
* returns <code>0</code> if there is just one value in the data set.
|
||||
*
|
||||
* @version $Revision: 1.17 $ $Date: 2004/06/27 19:37:51 $
|
||||
* @version $Revision: 1.18 $ $Date: 2004/06/29 02:14:17 $
|
||||
*/
|
||||
public class SecondMoment extends FirstMoment implements Serializable {
|
||||
|
||||
|
|
|
@ -31,8 +31,11 @@ import java.io.Serializable;
|
|||
* Then
|
||||
* <p>
|
||||
* new value = old value - 3 * (dev/n) * m2 + (n-1) * (n -2) * (dev^3/n^2)
|
||||
* <p>
|
||||
* Returns <code>Double.NaN</code> if no data values have been added and
|
||||
* returns <code>0</code> if there is just one value in the data set.
|
||||
*
|
||||
* @version $Revision: 1.17 $ $Date: 2004/06/27 19:37:51 $
|
||||
* @version $Revision: 1.18 $ $Date: 2004/06/29 02:14:17 $
|
||||
*/
|
||||
public class ThirdMoment extends SecondMoment implements Serializable {
|
||||
|
||||
|
|
Loading…
Reference in New Issue