Distributions in R
Posted on Nov 05, 2012 in Computer Science
Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.
-
The definition of geometric distribution in R is not the same as the common definition. A random variable of geometric distribution in R starts from zero, i.e. geometric distribution in R is defined as the number of failures before we succeed.
-
A random variable of negative binomial distribution \(NB(r,p)\) in R is defined as the number of failures before we succeed for
r
times, wherep
is the success probability in each trial. -
The definition of hyper-geometric is the same as common but be careful with the parameters!