geometric distribution probabilities
r = geometric_prob(n,p,k)
positive integer
real number
integer
real number or vector of real numbers
geometric_prob(n,p)
returns a row vector of probabilities
p(X=k)
for k
beginning
at 0 to n
when X
follows a geometric distribution with
parameters n
and p
.
geometric_prob(n,p,k)
returns the probability
p(X=k)
for k
between 0 and n
when
X
follows a geometric distribution with parameters n
and p
.