/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
Mean.java | 17 package org.apache.commons.math.stat.descriptive.moment; 65 /** First moment on which this statistic is based. */ 66 protected FirstMoment moment; field in class:Mean 79 moment = new FirstMoment(); 83 * Constructs a Mean with an External Moment. 85 * @param m1 the moment 88 this.moment = m1; 108 moment.increment(d); 118 moment.clear(); 127 return moment.m1 [all...] |
Kurtosis.java | 17 package org.apache.commons.math.stat.descriptive.moment; 52 /**Fourth Moment on which this statistic is based */ 53 protected FourthMoment moment; field in class:Kurtosis 68 moment = new FourthMoment(); 72 * Construct a Kurtosis from an external moment 74 * @param m4 external Moment 78 this.moment = m4; 97 moment.increment(d); 110 if (moment.getN() > 3) { 111 double variance = moment.m2 / (moment.n - 1) [all...] |
Skewness.java | 17 package org.apache.commons.math.stat.descriptive.moment; 46 /** Third moment on which this statistic is based */ 47 protected ThirdMoment moment = null; field in class:Skewness 62 moment = new ThirdMoment(); 66 * Constructs a Skewness with an external moment 67 * @param m3 external moment 71 this.moment = m3; 90 moment.increment(d); 104 if (moment.n < 3) { 107 double variance = moment.m2 / (moment.n - 1) [all...] |
Variance.java | 17 package org.apache.commons.math.stat.descriptive.moment; 74 protected SecondMoment moment = null; field in class:Variance 78 * the second moment, this evaluates to false when this Variance is 95 moment = new SecondMoment(); 99 * Constructs a Variance based on an external second moment. 106 this.moment = m2; 118 moment = new SecondMoment(); 124 * property and the supplied external second moment. 133 this.moment = m2; 159 moment.increment(d) [all...] |
SecondMoment.java | 17 package org.apache.commons.math.stat.descriptive.moment; 22 * Computes a statistic related to the Second Central Moment. Specifically, 50 /** second moment of values that have been added */
|
VectorialMean.java | 17 package org.apache.commons.math.stat.descriptive.moment;
|
FirstMoment.java | 17 package org.apache.commons.math.stat.descriptive.moment; 23 * Computes the first moment (arithmetic mean). Uses the definitional formula: 57 /** First moment of values that have been added */ 61 * Deviation of most recently added value from previous first moment. 67 * Deviation of most recently added value from previous first moment,
|
FourthMoment.java | 17 package org.apache.commons.math.stat.descriptive.moment; 22 * Computes a statistic related to the Fourth Central Moment. Specifically, 58 /** fourth moment of values that have been added */
|
GeometricMean.java | 17 package org.apache.commons.math.stat.descriptive.moment;
|
StandardDeviation.java | 17 package org.apache.commons.math.stat.descriptive.moment; 59 * Constructs a StandardDeviation from an external second moment. 61 * @param m2 the external moment 93 * <code>isBiasCorrected</code> property and the supplied external moment. 100 * @param m2 the external moment
|
ThirdMoment.java | 17 package org.apache.commons.math.stat.descriptive.moment; 23 * Computes a statistic related to the Third Central Moment. Specifically, 52 /** third moment of values that have been added */ 57 * moment, normalized by previous sample size. Retained to prevent
|
SemiVariance.java | 18 package org.apache.commons.math.stat.descriptive.moment;
|
VectorialCovariance.java | 17 package org.apache.commons.math.stat.descriptive.moment;
|
/external/opencv/cv/src/ |
cvmoments.cpp | 197 /* summarizes moment values for all tiles */ 354 ////////////////////////////////// IPP moment functions ////////////////////////////////// 511 // mState - moment structure filled by one of the icvMoments[Binary]*** function 567 // Purpose: Returns spatial moment(x_order, y_order) which is determined as: 572 // mom - moment structure filled by one of the icvMoments[Binary]*** function 573 // x_order - x order of the moment 574 // y_order - y order of the moment 576 // moment value or large negative number (-DBL_MAX) if error 583 double moment = -DBL_MAX; local 594 moment = (&(moments->m00))[order + (order >> 1) + (order > 2) * 2 + y_order] [all...] |
/external/toolchain-utils/cros_utils/ |
stats.py | 72 MOMENTS: moment 224 ## fixed both moment and amoment (two errors) 388 def lmoment(inlist, moment=1): 390 Calculates the nth moment about the mean for a sample (defaults to 391 the 1st moment). Used to calculate coefficients of skewness and kurtosis. 393 Usage: lmoment(inlist,moment=1) 394 Returns: appropriate moment (r) from ... 1/n * SUM((inlist(i)-mean)**r) 396 if moment == 1: 403 s = s + (x - mn)**moment 424 return moment(inlist, 3) / pow(moment(inlist, 2), 1.5 1924 moment = Dispatch((lmoment, (ListType, TupleType)),) variable 4384 moment = Dispatch((lmoment, (ListType, TupleType)), (amoment, (N.ndarray,))) variable [all...] |