Class MVPHKt

  • All Implemented Interfaces:

    
    public final class MVPHKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • mvph_joint

         final static Double mvph_joint(DoubleArray alpha, Matrix S, Matrix T, Matrix D, Integer n1, Integer n2)

        Computes the joint moment EX^n1 * Y^n2 of a bivariate phase-type distribution.

        The bivariate phase-type distribution has:

        • Initial vector alpha

        • First phase transition matrix S (for X)

        • Transition matrix D between phases (from X completion to Y start)

        • Second phase transition matrix T (for Y)

        Formula: EX^n1 * Y^n2 = n1! * n2! * alpha * inv(-S)^(n1+1) * D * inv(-T)^(n2+1) * (-T) * e

        Parameters:
        alpha - Initial probability vector
        S - First phase generator matrix (for X)
        T - Second phase generator matrix (for Y)
        D - Transition matrix between phases
        n1 - Power for first variable X
        n2 - Power for second variable Y
        Returns:

        Joint moment EX^n1 * Y^n2