Distributions
Binomial and Negative Binomial¶
Binomial Distribution¶
- distribution of number of success
given number of trails
Negative Binomial Distribution¶
- distribution of number of trails
given number of success- namely, distribution of number of failures
given number of success
- namely, distribution of number of failures
Geometric Distribution¶
- number of trails
until success
Generation Method¶
- CMF
let
thus
Poisson Distribution¶
- Considering events occur with rate
, with time interval , there would be average number of events per interval.- say that
, expected rate of occurrences - Split the time interval
in to pieces and make the sub-interval very small(i.e. very large). - if
, it approximates to do one Bernoulli trails in each time interval .
- say that
, indicates is the number of events occurs in unit time interval (and the event rate is ).
hint
Generation Method¶
- Generate several exponential random variable
- until
Exponential Distribution¶
- time between events in Poisson process
-
continuous analogue of the geometric distribution.
-
CDF
- take
- split unit time interval to
, where is large - then
- take
Generation Method¶
Since,
identically,