2 writes to M2
Microsoft.ML.Core (2)
Utilities\SummaryStatistics.cs (2)
110
M2
+= Count * delta * r;
141
M2
+= s.M2 + delta * delta * na * nb / nx;
14 references to M2
Microsoft.ML.Core (14)
Utilities\SummaryStatistics.cs (14)
26
s.Mean == Mean && s.
M2
==
M2
&& s.Min == Min
33
Count, Mean,
M2
, Min, Max, NonzeroCount);
64
public double SampleVariance => (
M2
/ Count) * RawCount / (RawCount - 1);
141
M2 += s.
M2
+ delta * delta * na * nb / nx;
218
public double Skewness => Math.Sqrt(Count) * _m3 / Math.Pow(
M2
, 1.5);
223
public double Kurtosis => Count * _m4 / (
M2
*
M2
) - 3;
331
+ 6 * deltaN2 * w * w *
M2
333
_m3 += term1 * deltaN * (Count - w) - 3 * w * deltaN *
M2
;
355
6 * (na * na * s.
M2
+ nb * nb *
M2
)) / nx +
357
_m3 += s._m3 + delta * (delta * delta * na * nb * (na - nb) / nx + 3 * (na * s.
M2
- nb *
M2
)) / nx;