I get 0
p=Distributions.Hypergeometric(100, 100, 200)
Hypergeometric(ns=100, nf=100, n=200)
pdf(p,4)
0.0
I get 0
p=Distributions.Hypergeometric(100, 100, 200)
Hypergeometric(ns=100, nf=100, n=200)
pdf(p,4)
0.0
Well, 0.0
is the correct answer. As you have:
julia> pdf(p,100)
1.0
For details on this distribution, press ?
in REPL and then Distributions.Hypergeometric(100, 100, 200)
. The description will make it clear.
of course, ok silly mistake. thanks.