The following functions are associated with the geometric equation:
The parameter q is the probability of success.
• dgeom(k, q)—Returns the probability density for value k.
• pgeom(k, q)—Returns the cumulative probability distribution for value k.
• qgeom(p, q)—Returns the inverse cumulative probability distribution for probability p.
• rgeom(m, q)—Returns a vector of m random numbers having the geometric distribution.
Arguments
• k is a scalar or vector of real values, k > 0. To allow integration and other operations over this argument, values outside of the stated range are allowed, but they produce a 0 result.