Package jline.api.mam
Class Amap2_fit_gamma
java.lang.Object
jline.api.mam.Amap2_fit_gamma
Top-level functions for AMAP2 gamma fitting.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTriple holder for adjustment results. -
Method Summary
Modifier and TypeMethodDescriptionstatic Amap2_fit_gamma.Tripleamap2_adjust_gamma(double M1, double M2, double M3, double GAMMA) static Amap2_fit_gamma.Tripleamap2_adjust_gamma(double M1, double M2, double M3, double GAMMA, double[] weights, int method, int constraints) Nearest feasible (M2, M3, GAMMA) for an AMAP(2).static MatrixCellamap2_assemble(double l1, double l2, double p1, double p2, int form) static Pair<MatrixCell,List<MatrixCell>> amap2_fit_gamma(double M1, double M2, double M3, double GAMMA) Finds an AMAP(2) fitting the given characteristics.static List<MatrixCell>amap2_fitall_gamma(double M1, double M2, double M3, double GAMMA) Finds all AMAP(2) solutions for given moments and correlation.
-
Method Details
-
amap2_fit_gamma
public static Pair<MatrixCell,List<MatrixCell>> amap2_fit_gamma(double M1, double M2, double M3, double GAMMA) Finds an AMAP(2) fitting the given characteristics. -
amap2_fitall_gamma
Finds all AMAP(2) solutions for given moments and correlation. -
amap2_assemble
-
amap2_adjust_gamma
public static Amap2_fit_gamma.Triple amap2_adjust_gamma(double M1, double M2, double M3, double GAMMA) -
amap2_adjust_gamma
public static Amap2_fit_gamma.Triple amap2_adjust_gamma(double M1, double M2, double M3, double GAMMA, double[] weights, int method, int constraints) Nearest feasible (M2, M3, GAMMA) for an AMAP(2).- Parameters:
weights- weights of M2, M3, GAMMA (default {10, 1, 10})method- 1: search on (M2, M3, GAMMA); 2: keep M2, search on (M3, GAMMA); 3: prioritize M2, M3, GAMMA in closed form; 4: prioritize M2, GAMMA, M3constraints- methods 1 and 2: 2 uses the theoretical AMAP(2) region, 1 additionally requires amap2_fitall_gamma to return an AMAP(2) at the point
-