Home > Software engineering >  Sample from Binomial(n, p) whose mean equals 1 / (1 - p)
Sample from Binomial(n, p) whose mean equals 1 / (1 - p)

Time:07-30

Write an R function that draws samples from a Binomial(n, p) distribution whose mean equals 1 / (1 - p).

This is motivated by histograms

  • Related