Skip to main content
QUICK REVIEW

[Paper Review] Estimating an Inverse Gamma distribution

Alberto Llera, Christian F. Beckmann|arXiv (Cornell University)|May 3, 2016
Bayesian Methods and Mixture ModelsComputer Science17 references19 citations
TL;DR

This paper introduces five novel algorithms—method of moments, maximum likelihood, and Bayesian estimation—for estimating inverse gamma distribution parameters, including the first conjugate prior for the shape parameter enabling analytical Bayesian inference. The key contribution is a computationally efficient Bayesian approach with fast convergence, validated via synthetic data and KL divergence metrics, showing low bias and high accuracy, especially with larger sample sizes.

ABSTRACT

In this paper we introduce five different algorithms based on method of moments, maximum likelihood and full Bayesian estimation for learning the parameters of the Inverse Gamma distribution. We also provide an expression for the KL divergence for Inverse Gamma distributions which allows us to quantify the estimation accuracy of each of the algorithms. All the presented algorithms are novel. The most relevant novelties include the first conjugate prior for the Inverse Gamma shape parameter which allows analytical Bayesian inference, and two very fast algorithms, a maximum likelihood and a Bayesian one, both based on likelihood approximation. In order to compute expectations under the proposed distributions we use the Laplace approximation. The introduction of these novel Bayesian estimators opens the possibility of including Inverse Gamma distributions into more complex Bayesian structures, e.g. variational Bayesian mixture models. The algorithms introduced in this paper are computationally compared using synthetic data and interesting relationships between the maximum likelihood and the Bayesian approaches are derived.

Motivation & Objective

  • To address the lack of efficient, analytical methods for estimating inverse gamma distribution parameters, especially for the shape parameter.
  • To develop novel maximum likelihood and Bayesian estimation algorithms that improve accuracy over traditional method of moments.
  • To introduce the first conjugate prior for the inverse gamma shape parameter, enabling analytical posterior computation.
  • To evaluate and compare the performance of these algorithms using synthetic data and KL divergence as a metric.
  • To enable integration of inverse gamma distributions into complex Bayesian models, such as variational Bayesian mixture models.

Proposed method

  • Proposes a method of moments (MM) estimator using sample mean and variance to initialize parameter estimates for shape and scale parameters.
  • Introduces two maximum likelihood (ML) algorithms: ML1 uses iterative optimization, while ML2 uses a likelihood approximation for faster convergence.
  • Develops two Bayesian learning (BL) approaches: BL1 uses a novel conjugate prior for the shape parameter to enable analytical posterior estimation; BL2 uses likelihood approximation with a non-informative prior.
  • Applies Laplace approximation to compute expectations under the inverse gamma distribution, improving computational efficiency.
  • Uses KL divergence between inverse gamma distributions as a metric to quantify estimation accuracy across algorithms.
  • Employs synthetic data with varying sample sizes (N=500, 2500, 5000) to compare computational cost, bias, and convergence behavior.

Experimental results

Research questions

  • RQ1Can a conjugate prior be derived for the inverse gamma shape parameter to enable analytical Bayesian inference?
  • RQ2How do the performance and convergence speed of likelihood approximation-based ML and BL algorithms compare to standard iterative methods?
  • RQ3What is the bias behavior of MM, ML, and BL estimators across different sample sizes?
  • RQ4How does the choice of hyperparameters in the novel conjugate prior affect estimation accuracy?
  • RQ5Can the proposed Bayesian estimators be effectively integrated into complex Bayesian models like variational Bayesian mixture models?

Key findings

  • The method of moments (MM) provides a fast, closed-form solution but exhibits higher bias and skewness in parameter estimates, especially with small sample sizes.
  • Maximum likelihood and Bayesian estimators (ML1 and BL1) converge to the same solution, with ML2 and BL2 achieving comparable accuracy in just 4 iterations on average.
  • ML2 and BL2 demonstrate a significant computational advantage over ML1 and BL1, with mean convergence times under 1 second for all sample sizes.
  • Bias in ML and BL estimators is approximately normally distributed and decreases with increasing sample size, approaching zero asymptotically.
  • The MM estimator shows higher variance and more outliers in bias distributions, while ML and BL methods produce more consistent, symmetric error distributions.
  • The introduction of a conjugate prior for the shape parameter enables the first analytical Bayesian inference for inverse gamma distributions, opening pathways for use in hierarchical Bayesian models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.