Package jline.api.mam
Class Aph2_adjustKt
-
- All Implemented Interfaces:
public final class Aph2_adjustKt
-
-
Method Summary
-
-
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 distributionM2
- the second moment of the distributionM3
- the third moment of the distribution- Returns:
a map with keys 0 and 1, representing the adjusted M2 and M3, respectively
-
-
-
-