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.

  1. 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.

  2. 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, where p is the success probability in each trial.

  3. The definition of hyper-geometric is the same as common but be careful with the parameters!