This repository contains simulation files of important discrete RVs in MATLAB, and here the results of simulation have been shown.
Figure 1 shows the CDF of maximum and minimum of $X_1$ , $X_2$ and $X_3$ ; in which $X_i$ are independent.
The CDF of
![]() |
![]() |
Figure 2 shows the CDF and PMF of Bernoulli(p = 0.75) distribution.
![]() |
![]() |
The CDF and PMF of Binomial(n = 10, p = 0.5) distribution have been shown in figure 3.
![]() |
![]() |
Figure 4 shows the fact that when n -> $\infty$ and p -> 0 => Binomial(n, p) -> Poisson(λ = n $\times$ p)
This figure has been plotted for n = 50 and p = 0.01.
The PMF of Multinomial distribution X where X =
The CDF abd PMF of Geometric distribution with p = 0.5 have been shown in figure 6.
![]() |
![]() |
The CDF and PMF of Negative Binomial distribution with R=3 and p = 0.5 have been shown in figure 7.
![]() |
![]() |
The CDF and PMF of Poisson distribution with λ=5 has been shown in figure 8.
![]() |
![]() |
. Press the Fork button in order to save copy of this repo on your account.
. Download the files by pressing download button or clone this repo by the the following command in your git bash:
https://github.com/Taabannn/discrete-random-variables.git
. Open project in jupyter notebook.
. Make a new branch.
git checkout -b branch-name
. Make new changes of repository on new branch.
. Push the changes.
git add .
git commit -m "Your commit Message"
git push origin branch-name
. Make a pull request.
. ⭐ this repository.