public class Statistics extends Object
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
static double |
erf(double z)
Calculates an estimate of the upper tail cumulative normal distribution
(which is simply the complementary error function with linear scalings
of x and y axis).
|
static double |
phi(double z)
Calculates phi, which is the area of the Gaussian standard
distribution from minus infinity to the query value in units
of standard derivation.
|
static double |
phi(double z,
double mean,
double sd)
Calculates phi, but with a Gaussian distribution defined by
its mean and its standard derivation.
|
static double |
stdDeviation(List<Double> values)
Calculates the standard deviation of a list of values.
|
public static double erf(double z)
public static double phi(double z)
z
- The point of interestpublic static double phi(double z, double mean, double sd)
z
- The point of interestmean
- The mean of the distributionsd
- The standard derivation of the distributionCopyright © 2015–2021 Fiji. All rights reserved.