Skip to content

Commit abb151c

Browse files
authored
Remove docstring for cdf(::Skellam, ::Real) (#1986)
1 parent 46bb0c3 commit abb151c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/univariate/discrete/skellam.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,13 @@ function cf(d::Skellam, t::Real)
9191
exp(μ1 * (cis(t) - 1) + μ2 * (cis(-t) - 1))
9292
end
9393

94-
"""
95-
cdf(d::Skellam, t::Real)
96-
94+
#=
9795
Implementation based on SciPy: https://github.com/scipy/scipy/blob/v0.15.1/scipy/stats/_discrete_distns.py
9896
9997
Refer to Eqn (5) in On an Extension of the Connexion Between Poisson and χ2 Distributions, N.L Johnson(1959)
10098
Vol 46, No 3/4, doi:10.2307/2333532
10199
It relates the Skellam and Non-central chisquare PDFs, which is very similar to their CDFs computation as well.
102-
103-
Computing cdf of the Skellam distribution.
104-
"""
100+
=#
105101
function cdf(d::Skellam, t::Integer)
106102
μ1, μ2 = params(d)
107103
return if t < 0

0 commit comments

Comments
 (0)