jphase.fit
Class MomentsADPH2Fit

java.lang.Object
  extended by jphase.fit.DiscPhaseFitter
      extended by jphase.fit.MomentsDiscPhaseFitter
          extended by jphase.fit.MomentsADPH2Fit
All Implemented Interfaces:
PhaseFitter

public class MomentsADPH2Fit
extends MomentsDiscPhaseFitter

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 discrete case.

Author:
Juan Fernando Perez

Field Summary
 
Fields inherited from class jphase.fit.MomentsDiscPhaseFitter
m1, m2, m3
 
Fields inherited from class jphase.fit.DiscPhaseFitter
data, var
 
Constructor Summary
MomentsADPH2Fit(double m1, double m2, double m3)
           
MomentsADPH2Fit(int[] data)
           
 
Method Summary
 DiscPhaseVar fit()
          Executes the fitting procedure to find the parameter set
 
Methods inherited from class jphase.fit.DiscPhaseFitter
getLogLikelihood
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MomentsADPH2Fit

public MomentsADPH2Fit(int[] data)
See Also:
MomentsDiscPhaseFitter.MomentsDiscPhaseFitter(int[])

MomentsADPH2Fit

public MomentsADPH2Fit(double m1,
                       double m2,
                       double m3)
See Also:
MomentsDiscPhaseFitter.MomentsDiscPhaseFitter(double, double, double)
Method Detail

fit

public DiscPhaseVar 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 DiscPhaseFitter
Returns:
Phase variable found
See Also:
PhaseFitter.fit()