Class R1GammaToExponential

java.lang.Object

public class R1GammaToExponential
extends R1ShapeScaleDistribution
R1GammaToExponential implements the R1 Exponential Distribution in Terms of the R1 Gamma Distribution. 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


Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • R1GammaToExponential

      public R1GammaToExponential​(double scaleParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator) throws java.lang.Exception
      R1GammaToExponential Constructor
      Parameters:
      scaleParameter - Scale Parameter
      gammaEstimator - Gamma Estimator
      digammaEstimator - Digamma Estimator
      lowerIncompleteGammaEstimator - Lower Incomplete Gamma Estimator
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • iidDistribution

      public R1ShapeScaleDistribution iidDistribution​(int n)
      Construct a Gamma Distribution Based of n i.i.d. Exponential Distributions
      Parameters:
      n - n
      Returns:
      The Gamma Distribution