public class Statistics extends Object
Modifier and Type | Field and Description |
---|---|
private static List<Character> |
CHARS |
(package private) org.apache.commons.math3.stat.descriptive.DescriptiveStatistics[] |
descriptiveStats |
private static org.slf4j.Logger |
logger |
(package private) int[] |
numGoodPoints |
(package private) int |
numPoints |
(package private) org.apache.commons.math3.stat.correlation.PearsonsCorrelation |
pCorrelation |
(package private) int |
rngTupLen |
(package private) double[][] |
rngVals |
(package private) MathType |
statType |
(package private) double[][] |
values_x |
Constructor and Description |
---|
Statistics(FlatField fltFld) |
Modifier and Type | Method and Description |
---|---|
Data |
correlation(FlatField fltFld) |
static String |
describe(FlatField... fields) |
static String |
describe(FlatField field) |
Data |
geometricMean() |
int[] |
getNumGoodPoints()
get the number of non-missing points in each range component
|
double[][] |
getRngVals() |
double[][] |
getValues() |
static Long[] |
histogram(FlatField field,
int bins) |
Data |
kurtosis() |
private Data |
makeStat(double[] stats) |
Data |
max() |
Data |
mean() |
Data |
median() |
Data |
min() |
int |
numPoints()
get the number of points in the domain of the FlatField
|
Data |
percentile(double p) |
private double[] |
removeMissing(double[] vals) |
private double[][] |
removeMissing(double[][] vals) |
private double[][] |
removeMissingAND(double[] vals_x,
double[] vals_y) |
Data |
skewness() |
static String |
sparkline(FlatField... fields) |
static String |
sparkline(FlatField field) |
Data |
standardDeviation() |
Data |
variance() |
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics[] descriptiveStats
double[][] values_x
double[][] rngVals
int rngTupLen
int numPoints
int[] numGoodPoints
org.apache.commons.math3.stat.correlation.PearsonsCorrelation pCorrelation
private static final org.slf4j.Logger logger
public Statistics(FlatField fltFld) throws VisADException, RemoteException
VisADException
RemoteException
public int numPoints()
public int[] getNumGoodPoints()
public double[][] getRngVals()
public double[][] getValues()
private double[] removeMissing(double[] vals)
private double[][] removeMissing(double[][] vals)
public Data mean() throws VisADException, RemoteException
VisADException
RemoteException
public Data geometricMean() throws VisADException, RemoteException
VisADException
RemoteException
public Data max() throws VisADException, RemoteException
VisADException
RemoteException
public Data min() throws VisADException, RemoteException
VisADException
RemoteException
public Data median() throws VisADException, RemoteException
VisADException
RemoteException
public Data percentile(double p) throws VisADException, RemoteException
VisADException
RemoteException
public Data variance() throws VisADException, RemoteException
VisADException
RemoteException
public Data kurtosis() throws VisADException, RemoteException
VisADException
RemoteException
public Data standardDeviation() throws VisADException, RemoteException
VisADException
RemoteException
public Data skewness() throws VisADException, RemoteException
VisADException
RemoteException
public Data correlation(FlatField fltFld) throws VisADException, RemoteException
VisADException
RemoteException
private Data makeStat(double[] stats) throws VisADException, RemoteException
VisADException
RemoteException
private double[][] removeMissingAND(double[] vals_x, double[] vals_y)
public static Long[] histogram(FlatField field, int bins) throws VisADException, RemoteException
VisADException
RemoteException
public static String describe(FlatField field) throws VisADException, RemoteException
VisADException
RemoteException
public static String describe(FlatField... fields) throws VisADException, RemoteException
VisADException
RemoteException
public static String sparkline(FlatField field) throws VisADException, RemoteException
VisADException
RemoteException
public static String sparkline(FlatField... fields) throws VisADException, RemoteException
VisADException
RemoteException