public class MomentsECPositiveFit extends MomentsContPhaseFitter
Constructor and Description |
---|
MomentsECPositiveFit(double[] data) |
MomentsECPositiveFit(double m1,
double m2,
double m3) |
Modifier and Type | Method and Description |
---|---|
ContPhaseVar |
fit()
Fits a Phase Type distribution with no mass at zero
from a set of moments with the
Positive method described by Osogami et al.
|
double[] |
getParam()
Solves the equation system to get the parameters of the distribution,
if the moments are feasible
|
getLogLikelihood
public MomentsECPositiveFit(double[] data)
public MomentsECPositiveFit(double m1, double m2, double m3)
public ContPhaseVar fit()
fit
in interface PhaseFitter
fit
in class ContPhaseFitter
PhaseFitter.fit()
public double[] getParam() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException