Log-likelihood of the length of chains with geometric offspring distribution
.geom_length_ll(x, prob)
x
: A numeric vector of chain lengths.prob
: The probability of the geometric distribution with mean 1/prob
. A single numeric value between 0 and 1.A numeric vector of log-likelihood values.
Sebastian Funk James M. Azam
Useful links