This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _continuous_distns / invgauss_gen

class

scipy.stats._continuous_distns:invgauss_gen

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_continuous_distns.py:5030

Signature

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

Members

Summary

An inverse Gaussian continuous random variable.

Extended Summary

%(before_notes)s

Notes

The probability density function for invgauss is:

for and .

invgauss takes mu as a shape parameter for .

%(after_notes)s

A common shape-scale parameterization of the inverse Gaussian distribution has density

Using nu for and lam for , this parameterization is equivalent to the one above with mu = nu/lam, loc = 0, and scale = lam.

This distribution uses routines from the Boost Math C++ library for the computation of the ppf and isf methods. [1]

Aliases

  • scipy.stats._continuous_distns.invgauss_gen