jphase.fit
Class MomentsACPH2Fit
java.lang.Object
jphase.fit.ContPhaseFitter
jphase.fit.MomentsContPhaseFitter
jphase.fit.MomentsACPH2Fit
- All Implemented Interfaces:
- PhaseFitter
public class MomentsACPH2Fit
- extends MomentsContPhaseFitter
This class implements the Matching Moments method
proposed by Telek and Heindl in "Matching Moments for Acyclic
discrete and continuous Phase-Type distributions of
Second order", 2002. This is for the continuous case.
- Author:
- Juan Fernando Perez
|
Field Summary |
static double |
precision
TODO get precision
precision for calculations and convergence criterion |
|
Method Summary |
ContPhaseVar |
fit()
Executes the fitting procedure to find the parameter set |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
precision
public static double precision
- TODO get precision
precision for calculations and convergence criterion
MomentsACPH2Fit
public MomentsACPH2Fit(double[] data)
- Parameters:
data - Data to be fitted
MomentsACPH2Fit
public MomentsACPH2Fit(double m1,
double m2,
double m3)
- Parameters:
m1 - m2 - m3 -
fit
public ContPhaseVar fit()
- Description copied from interface:
PhaseFitter
- Executes the fitting procedure to find the parameter set
- Specified by:
fit in interface PhaseFitter- Specified by:
fit in class ContPhaseFitter
- Returns:
- Phase variable found
- See Also:
PhaseFitter.fit()