public class FreedmanDiaconisBinCalculation extends java.lang.Object implements BinCalculation
Constructor and Description |
---|
FreedmanDiaconisBinCalculation(double n,
double min,
double max,
double q1,
double q3)
Create the Freedman-Diaconis class fro computing the number of bins.
|
Modifier and Type | Method and Description |
---|---|
double |
binWidth()
Gets the width of the bins according to the number of bins being used.
|
BinCalculationType |
getType() |
int |
numberOfBins()
Gets the number of bins calculated by the Freedman-Diaconis method.
|
public FreedmanDiaconisBinCalculation(double n, double min, double max, double q1, double q3)
public int numberOfBins()
numberOfBins
in interface BinCalculation
public double binWidth()
binWidth
in interface BinCalculation
public BinCalculationType getType()
getType
in interface BinCalculation