Package jline.lang.processes
Class Coxian
java.lang.Object
jline.lang.processes.Distribution
jline.lang.processes.ContinuousDistribution
jline.lang.processes.Markovian
jline.lang.processes.Coxian
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Cox2
A general Coxian distribution with n phases.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
evalCDF
(double t) double
evalLST
(double s) static Coxian
fitCentral
(double mean, double var, double skew) static Coxian
fitMeanAndSCV
(double mean, double SCV) static Coxian
fitMeanAndSCV
(double mean, double var, double skew) double
getMean()
getMu()
long
getPhi()
double
getRate()
double
getSCV()
double
double
getVar()
double[]
sample
(int n) double[]
Methods inherited from class jline.lang.processes.Markovian
D, evalCDF, evalMeanT, evalVarT, getACF, getEmbedded, getEmbeddedProb, getIDC, getIDI, getInitProb, getMoments, getProcess, getSubgenerator, getVariance, setMean, setProcess, setRate
Methods inherited from class jline.lang.processes.Distribution
evalProbInterval, getName, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, setNumParams, setParam
-
Constructor Details
-
Coxian
-
Coxian
-
-
Method Details
-
fitMeanAndSCV
-
fitCentral
-
fitMeanAndSCV
-
sample
public double[] sample(int n) -
sample
-
getMean
public double getMean() -
getRate
public double getRate() -
getSCV
public double getSCV() -
getVar
public double getVar() -
getSkewness
public double getSkewness()- Overrides:
getSkewness
in classMarkovian
-
evalCDF
public double evalCDF(double t) -
evalLST
public double evalLST(double s) -
getNumberOfPhases
public long getNumberOfPhases()- Overrides:
getNumberOfPhases
in classMarkovian
-
getMu
-
getPhi
-