Package jline.api.mam

Class Aph2_adjustKt

    • 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
    • Method Summary

      Modifier and Type Method Description
      final static Map<Integer, Double> aph2_adjust(Double M1, Double M2, Double M3, String method) Adjusts the second and third moments (M2 and M3) of a distribution using the default "simple" method for fitting an APH(2) distribution.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • aph2_adjust

         final static Map<Integer, Double> aph2_adjust(Double M1, Double M2, Double M3, String method)

        Adjusts the second and third moments (M2 and M3) of a distribution using the default "simple" method for fitting an APH(2) distribution.

        This method calls aph2_adjust with the "simple" adjustment method, which is designed to ensure that the moments are within feasible bounds for fitting an APH(2) distribution. This adjustment helps in stabilizing the fitting process by correcting moments that may otherwise be infeasible.

        Parameters:
        M1 - the first moment (mean) of the distribution
        M2 - the second moment of the distribution
        M3 - the third moment of the distribution
        Returns:

        a map with keys 0 and 1, representing the adjusted M2 and M3, respectively