Package org.drip.measure.gamma
Class R1ConsistentEstimator
java.lang.Object
org.drip.measure.gamma.R1ParameterEstimator
org.drip.measure.gamma.R1ConsistentEstimator
public class R1ConsistentEstimator extends R1ParameterEstimator
R1ConsistentEstimator implements the Mixed Type Log-Moment Parameter Estimator for a Sequence of
Observations. The References are:
- Devroye, L. (1986): Non-Uniform Random Variate Generation Springer-Verlag New York
- Gamma Distribution (2019): Gamma Distribution https://en.wikipedia.org/wiki/Chi-squared_distribution
- Louzada, F., P. L. Ramos, and E. Ramos (2019): A Note on Bias of Closed-Form Estimators for the Gamma Distribution Derived From Likelihood Equations The American Statistician 73 (2) 195-199
- Minka, T. (2002): Estimating a Gamma distribution https://tminka.github.io/papers/minka-gamma.pdf
- Ye, Z. S., and N. Chen (2017): Closed-Form Estimators for the Gamma Distribution Derived from Likelihood Equations The American Statistician 71 (2) 177-181
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd Continuous/Discrete Probability Measures
- Package = R1 Gamma Distribution Implementation/Properties
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1ConsistentEstimator(Sample sample)R1ConsistentEstimator Constructor -
Method Summary
Modifier and Type Method Description static R1ConsistentEstimatorFromRealizationArray(double[] realizationArray)Construct and Instance of R1ConsistentEstimator from the Array of RealizationsShapeScaleParametersinferShapeScaleParameter()Infer the Shape-Scale Parameter from the ObservationsdoublescaleBiasCorrectionFactor()Retrieve the Scale Bias Correction FactordoubleshapeBiasCorrectionAdjustment(double scaleEstimate)Compute the Shape Bias Correction AdjustmentMethods inherited from class org.drip.measure.gamma.R1ParameterEstimator
sampleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
R1ConsistentEstimator
R1ConsistentEstimator Constructor- Parameters:
sample- The Sample- Throws:
java.lang.Exception- Thrown of the Inputs are Invalid
-
-
Method Details
-
FromRealizationArray
Construct and Instance of R1ConsistentEstimator from the Array of Realizations- Parameters:
realizationArray- The Realization Array- Returns:
- Instance of R1ConsistentEstimator
-
inferShapeScaleParameter
Infer the Shape-Scale Parameter from the Observations- Specified by:
inferShapeScaleParameterin classR1ParameterEstimator- Returns:
- The Shape-Scale Parameter from the Observations
-
scaleBiasCorrectionFactor
public double scaleBiasCorrectionFactor()Retrieve the Scale Bias Correction Factor- Returns:
- The Scale Bias Correction Factor
-
shapeBiasCorrectionAdjustment
public double shapeBiasCorrectionAdjustment(double scaleEstimate) throws java.lang.ExceptionCompute the Shape Bias Correction Adjustment- Parameters:
scaleEstimate- The Scale Estimate- Returns:
- The Shape Bias Correction Adjustment
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-