|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.science.DistributionFit
bb.science.GaussianFit
public class GaussianFit
Subclass of DistributionFit that is customized for the fitting of a Gaussian distribution to data
as performed by Math2.gaussianFit
.
This class adds no new instance state to its superclass. Instead, it merely offers a more convenient constructor and accesor methods.
Field Summary | |
---|---|
private static String[] |
fitMeasureLabels
|
private static String[] |
paramLabels
|
Constructor Summary | |
---|---|
GaussianFit(double mean,
double sd,
double andersonDarling,
double kolmogorovSmirnov,
double[] bounds,
double[] pdfObserved,
double[] pdfTheory)
|
Method Summary | |
---|---|
double |
getAndersonDarling()
Returns the Anderson-Darling goodness of fit measure. |
double |
getKolmogorovSmirnov()
Returns the Kolmogorov-Smirnov goodness of fit measure. |
double |
getMean()
Returns the mean parameter of the fitted Gaussian. |
double |
getSd()
Returns the sd parameter of the fitted Gaussian. |
Methods inherited from class bb.science.DistributionFit |
---|
getBounds, getFitMeasureLabels, getFitMeasures, getParamLabels, getParams, getPdfObserved, getPdfTheory, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final String[] paramLabels
private static final String[] fitMeasureLabels
Constructor Detail |
---|
public GaussianFit(double mean, double sd, double andersonDarling, double kolmogorovSmirnov, double[] bounds, double[] pdfObserved, double[] pdfTheory) throws IllegalArgumentException
IllegalArgumentException
Method Detail |
---|
public double getMean()
public double getSd()
public double getAndersonDarling()
Anderson-Darling
goodness of fit measure.
public double getKolmogorovSmirnov()
Kolmogorov-Smirnov
goodness of fit measure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |