Object MMPP2

  • All Implemented Interfaces:

    
    public class MMPP2
    
                        

    Facade object for MMPP2 fitting functions. Accessed by the wrapper via: jline.lib.kpctoolbox.MMPP2

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static MMPP2 INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static MatrixCell fit(Matrix moments) Fits MMPP2 from moments (3-element Matrix).
      final static MatrixCell fit(Matrix moments, Double acf1) Fits MMPP2 from moments and autocorrelation decay.
      final static MatrixCell fit1(Matrix moments) Fits MMPP2 from mean, SCV, skewness, and IDC.
      final static MatrixCell fit2(Matrix moments, Double acf1) Fits MMPP2 from mean, SCV, skewness, and lag-1 autocorrelation.
      final static MatrixCell fit3(Matrix moments, Double acf1, Double acf2) Fits MMPP2 from moments and two autocorrelation values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fit

         final static MatrixCell fit(Matrix moments)

        Fits MMPP2 from moments (3-element Matrix). Wrapper calls: MMPP2.fit(momentsMatrix)

        Parameters:
        moments - Matrix containing E1, E2, E3
        Returns:

        Fitted MAP as MatrixCell {D0, D1}

      • fit

         final static MatrixCell fit(Matrix moments, Double acf1)

        Fits MMPP2 from moments and autocorrelation decay. Wrapper calls: MMPP2.fit(momentsMatrix, acf1)

        Parameters:
        moments - Matrix containing E1, E2, E3
        acf1 - Lag-1 autocorrelation
        Returns:

        Fitted MAP as MatrixCell {D0, D1}

      • fit1

         final static MatrixCell fit1(Matrix moments)

        Fits MMPP2 from mean, SCV, skewness, and IDC. Wrapper calls: MMPP2.fit1(momentsMatrix)

        Parameters:
        moments - Matrix containing mean, scv, skew, idc
        Returns:

        Fitted MAP as MatrixCell {D0, D1}

      • fit2

         final static MatrixCell fit2(Matrix moments, Double acf1)

        Fits MMPP2 from mean, SCV, skewness, and lag-1 autocorrelation. Wrapper calls: MMPP2.fit2(momentsMatrix, acf1)

        Parameters:
        moments - Matrix containing mean, scv, skew
        acf1 - Lag-1 autocorrelation
        Returns:

        Fitted MAP as MatrixCell {D0, D1}

      • fit3

         final static MatrixCell fit3(Matrix moments, Double acf1, Double acf2)

        Fits MMPP2 from moments and two autocorrelation values. Wrapper calls: MMPP2.fit3(momentsMatrix, acf1, acf2)

        Parameters:
        moments - Matrix containing mean, scv, skew
        acf1 - Lag-1 autocorrelation
        acf2 - Lag-2 autocorrelation (used to estimate G2)
        Returns:

        Fitted MAP as MatrixCell {D0, D1}