java.lang.Object
org.apache.jena.sparql.expr.aggregate.lib.AccStatLib
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
calcVariancePopulation
(double sumSquared, double sum, long N) Calculate the variance (population)static double
calcVarianceSample
(double sumSquared, double sum, long count) Calculate the variance (sample)
-
Constructor Details
-
AccStatLib
public AccStatLib()
-
-
Method Details
-
calcVarianceSample
public static double calcVarianceSample(double sumSquared, double sum, long count) Calculate the variance (sample) -
calcVariancePopulation
public static double calcVariancePopulation(double sumSquared, double sum, long N) Calculate the variance (population)
-