Class Coxian

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Cox2

public class Coxian extends Markovian
A general Coxian distribution with n phases.
See Also:
  • Constructor Details

  • Method Details

    • fitMeanAndSCV

      public static Coxian fitMeanAndSCV(double mean, double var, double skew)
    • fitCentral

      public static Coxian fitCentral(double mean, double var, double skew)
    • fitMeanAndSCV

      public static Coxian fitMeanAndSCV(double mean, double SCV)
    • sample

      public double[] sample(int n)
      Overrides:
      sample in class Markovian
    • sample

      public double[] sample(int n, Random random)
      Overrides:
      sample in class Markovian
    • getMean

      public double getMean()
      Overrides:
      getMean in class Markovian
    • getRate

      public double getRate()
      Overrides:
      getRate in class Markovian
    • getSCV

      public double getSCV()
      Overrides:
      getSCV in class Markovian
    • getVar

      public double getVar()
      Overrides:
      getVar in class Markovian
    • getSkewness

      public double getSkewness()
      Overrides:
      getSkewness in class Markovian
    • evalCDF

      public double evalCDF(double t)
      Overrides:
      evalCDF in class Markovian
    • evalLST

      public double evalLST(double s)
      Overrides:
      evalLST in class Markovian
    • getNumberOfPhases

      public long getNumberOfPhases()
      Overrides:
      getNumberOfPhases in class Markovian
    • getMu

      public Matrix getMu()
      Overrides:
      getMu in class Markovian
    • getPhi

      public Matrix getPhi()
      Overrides:
      getPhi in class Markovian