public class FittingLEcuyer
extends java.lang.Object
Constructor and Description |
---|
FittingLEcuyer()
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
darDistribuciones()
Returns the name of the distribution
|
FitResult |
fit(int n,
double[] d,
java.lang.String distribucion,
double p)
This method performs a GOF test and displays the result
|
FitResult |
fit(int n,
java.lang.String ruta,
java.lang.String distribucion,
double p)
This method performs a GOF test and displays the result
|
FitResult |
fitPhases(PhaseVarInfo var,
java.lang.String file,
int number,
double p)
This method performs a GOF test and displays the result
|
static cern.colt.list.DoubleArrayList |
ordenamiento(cern.colt.list.DoubleArrayList unift)
This method sorts a data List
|
public static cern.colt.list.DoubleArrayList ordenamiento(cern.colt.list.DoubleArrayList unift)
public FitResult fit(int n, java.lang.String ruta, java.lang.String distribucion, double p)
ruta
- Location of datan
- Number of groups for the Chi-Square testdistribucion
- Distribution used in the initial hypothesisp
- Percetage of data when the GOF is finishedpublic FitResult fit(int n, double[] d, java.lang.String distribucion, double p)
n
- Number of groups for the Chi-Square testd
- Data array used in the GOF testdistribucion
- Name of thed distribution used in the initial hypothesisp
- Percetage of data when the GOF is finishedpublic FitResult fitPhases(PhaseVarInfo var, java.lang.String file, int number, double p)
var
- Distribution used in the initial hypothesisfile
- Location of datanumber
- Number of groups for the Chi-Square testp
- Percetage of data when the GOF is finishedpublic java.util.ArrayList<java.lang.String> darDistribuciones()