public class Statistics extends Object
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.commons.math3.stat.descriptive.DescriptiveStatistics[] |
descriptiveStats |
(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) |
Data |
geometricMean() |
int[] |
getNumGoodPoints()
get the number of non-missing points in each range component
|
double[][] |
getRngVals() |
double[][] |
getValues() |
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
|
private double[] |
removeMissing(double[] vals) |
private double[][] |
removeMissing(double[][] vals) |
private double[][] |
removeMissingAND(double[] vals_x,
double[] vals_y) |
Data |
skewness() |
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
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 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)