@Reference(authors="J. R. M. Hosking, J. R. Wallis, E. F. Wood",title="Estimation of the generalized extreme-value distribution by the method of probability-weighted moments.",booktitle="Technometrics 27.3",url="https://doi.org/10.1080/00401706.1985.10488049",bibkey="doi:10.1080/00401706.1985.10488049") @Reference(authors="J. R. M. Hosking",title="Fortran routines for use with the method of L-moments Version 3.03",booktitle="IBM Research Technical Report",bibkey="tr/ibm/Hosking00") public final class ProbabilityWeightedMoments extends java.lang.Object
Reference:
J. R. M. Hosking, J. R. Wallis, E. F. Wood
Estimation of the generalized extreme-value distribution by the method of
probability-weighted moments.
Technometrics 27.3
Also based on:
J. R. M. Hosking
Fortran routines for use with the method of L-moments Version 3.03
IBM Research.
Modifier | Constructor and Description |
---|---|
private |
ProbabilityWeightedMoments()
Private constructor, use static methods!
|
Modifier and Type | Method and Description |
---|---|
static <A> double[] |
alphaBetaPWM(A data,
NumberArrayAdapter<?,A> adapter,
int nmom)
Compute the alpha_r and beta_r factors in parallel using the method of
probability-weighted moments.
|
static <A> double[] |
alphaPWM(A data,
NumberArrayAdapter<?,A> adapter,
int nmom)
Compute the alpha_r factors using the method of probability-weighted
moments.
|
static <A> double[] |
betaPWM(A data,
NumberArrayAdapter<?,A> adapter,
int nmom)
Compute the beta_r factors using the method of probability-weighted
moments.
|
private static void |
normalizeLMR(double[] sum,
int nmom)
Normalize the moments
|
static <A> double[] |
samLMR(A sorted,
NumberArrayAdapter<?,A> adapter,
int nmom)
Compute the sample L-Moments using probability weighted moments.
|
private ProbabilityWeightedMoments()
public static <A> double[] alphaPWM(A data, NumberArrayAdapter<?,A> adapter, int nmom)
data
- Presorted data array.adapter
- Array adapter.nmom
- Number of moments to computepublic static <A> double[] betaPWM(A data, NumberArrayAdapter<?,A> adapter, int nmom)
data
- Presorted data array.adapter
- Array adapter.nmom
- Number of moments to computepublic static <A> double[] alphaBetaPWM(A data, NumberArrayAdapter<?,A> adapter, int nmom)
data
- Presorted data array.adapter
- Array adapter.nmom
- Number of moments to computepublic static <A> double[] samLMR(A sorted, NumberArrayAdapter<?,A> adapter, int nmom)
sorted
- Presorted data array.adapter
- Array adapter.nmom
- Number of moments to computeprivate static void normalizeLMR(double[] sum, int nmom)
sum
- Sumsnmom
- Number of momentsCopyright © 2019 ELKI Development Team. License information.