aesara.tensor.random.chisquare

Contents

aesara.tensor.random.chisquare#

aesara.tensor.random.chisquare = <aesara.tensor.random.basic.ChiSquareRV object>[source]#

A chi square continuous random variable.

The probability density function for chisquare in terms of the number of degrees of freedom k is:

f(x; k) = \frac{(1/2)^{k/2}}{\Gamma(k/2)} x^{k/2-1} e^{-x/2}

for k > 2. \Gamma is the gamma function:

\Gamma(x) = \int_0^{\infty} t^{x-1} e^{-t} \mathrm{d}t

This variable is obtained by summing the squares k independent, standard normally distributed random variables.