Description:
In this repository the Inverse-transform method is illustrated with
1. CDF
where
2. Binomial distribution (discrete) with a PMF
where the binomial coefficient combinatorial of
And generalized to the
Samplings made with numpy.random.random
& numpy.random.binomial
, validated with matplotlib
.
Results:
As it can be seen in from pdf
have a probability cdf
. The inverse transform can be used for the generation of random variables in