{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _continuous_distns / invgamma_gen

class

scipy.stats._continuous_distns:invgamma_gen

source: /scipy/stats/_continuous_distns.py :4902

Signature

class   invgamma_gen ( momtype = 1 a = None b = None xtol = 1e-14 badvalue = None name = None longname = None shapes = None seed = None )

Members

Summary

An inverted gamma continuous random variable.

Extended Summary

%(before_notes)s

Notes

The probability density function for invgamma is:

for , . is the gamma function (scipy.special.gamma).

invgamma takes a as a shape parameter for .

invgamma is a special case of gengamma with c=-1, and it is a different parameterization of the scaled inverse chi-squared distribution. Specifically, if the scaled inverse chi-squared distribution is parameterized with degrees of freedom and scaling parameter , then it can be modeled using invgamma with a= and scale= .

%(after_notes)s

%(example)s

Aliases

  • scipy.stats._continuous_distns.invgamma_gen