Probability density function for the Student's t-distribution.
(x, df)
| 918 | return (1 / sqrt(2*pi) * abs(sigma)) * exp(-u*u / 2) |
| 919 | |
| 920 | def tpdf(x, df): |
| 921 | """ Probability density function for the Student's t-distribution. |
| 922 | """ |
| 923 | return gamma((df+1) * 0.5) / (sqrt(pi * df) * gamma(df * 0.5) * (1 + x**2.0 / df) ** ((df+1) * 0.5)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…