
Discrete and Continuous Probability Distributions
Are these correct?
Discrete
No. of people dying each day
Number of heads in successive tosses.
Heights of people in Bangladesh
Continuous
GPA of students
Grade of students in individual subjects
Income tax paid by people
\(f(x) \to I \to D \to f(x)\)
Test with \(f(x) = x^2\)
Source: hyperphysics
Results of an unbiased die throw
| x | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| P | \(\frac 1 6\) | \(\frac 1 6\) | \(\frac 1 6\) | \(\frac 1 6\) | \(\frac 1 6\) | \(\frac 1 6\) |
Biased
| x | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| P | \(\frac 1 7\) | \(\frac 2 7\) | \(\frac 1 7\) | \(\frac 1 7\) | \(\frac 1 7\) | \(\frac 1 7\) |
A coin is tossed twice
S = {HH, HT, TH, TT}
Fill the probabilities
| x | 0 | 1 | 2 |
|---|---|---|---|
| p(x) |

Continuous
PMF

Discrete
PMF

Probability Density Function (continuous)
Probability Mass Function (discrete)
\(\displaystyle P(x) = \frac{x+1}{k}; x= 1,2,3,4\)
Given, \(P(x) = \frac{2x+k}{56}; x = -3, -2, -1, 0, 1, 2, 3\)
Discrete or Continuous?
An unbiased coin is tossed four times and the number of times the heads are obtained is denoted by x. Determine the probability mass function.
\(\displaystyle f(x) = kx(x-1); 1\le x \le 5\)
\(f(x) = k(x+1); 0\lt x \lt 1\)
- \(P(X=2)=?\)
- \(k=?\)
- \(P(0.4 \lt X \lt 2)=?\)
- \(\int_{0.4}^1 f(x) + \int_{1}^2 f(x) \to 0\)
F(x) or cdf accumulates all of the probability less than or equal to.
| x | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| P (x) | \(\frac 1 7\) | \(\frac 1 7\) | \(\frac 2 7\) | \(\frac 1 7\) | \(\frac 1 7\) | \(\frac 1 7\) |
| F (x) | \(\frac 1 7\) | \(\frac 2 7\) | \(\frac 4 7\) | \(\frac 5 7\) | \(\frac 6 7\) | \(1\) |
Find
\(F_X(x) = P(X\le x)\)
Discrete
\[F(x) = \sum_{X\le x} P(x)\]
Continuous
\[\begin{eqnarray} F(x) = \begin{cases} x^2/2, & 0\le x \le 1 \\ 0, & \text{otherwise} \end{cases} \end{eqnarray}\]
Let, \(I = Infected\), and \(V = Vaccinated\)
| \(I\) | \(\bar I\) | Total | |
|---|---|---|---|
| \(V\) | 3 | 276 | 279 |
| \(\bar V\) | 66 | 473 | 539 |
| Total | 69 | 749 | 818 |
Find the probability that
Let, \(I = Infected\), and \(V = Vaccinated\)
| \(I\) | \(\bar I\) | Total | |
|---|---|---|---|
| \(V\) | 3 | 276 | 279 |
| \(\bar V\) | 66 | 473 | 539 |
| Total | 69 | 749 | 818 |
Find the probabilities that
| Die/Coin | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| H (1) | H1 | H2 | H3 | H4 | H5 | H6 |
| T (0) | T1 | T2 | T3 | T4 | T5 | T6 |
X = Outcome of coin toss
Y = Outcome of die throw
x = 0, 1; y = 1, 2, 3, 4, 5, 6
Construct the distribution.
| Exam (X) \(\to\) Result (Y) \(\downarrow\) |
PSC | JSC | SSC | HSC | Total |
|---|---|---|---|---|---|
| Passed | 30 | 26 | 23 | 25 | 104 |
| Failed | 12 | 13 | 10 | 14 | 49 |
| Absent | 5 | 2 | 3 | 4 | 14 |
| Total | 47 | 41 | 36 | 43 | 167 |
Consider the previous table
Joint probability: \(P(x_i, y_j); i = 1,2, \cdots m; j = 1,2, \cdots n\)
Marginal probability \(\to P(x_i) \leftarrow P(x_i, y_j)\)
Summing marginal probabilities will give 1.
\(P(x,y) = \frac{x+y}{9}; x=0,1,2; y = 0, 1\)
\(P(x,y) = \frac{x+y}{28}; x=0,1,; y = 0, 1,2,3\)
\(f(x,y) = \frac{2x+y}{3}; 0 \le x \le 1.5\) and \(0 \le y \le 1\)
Like Bayes Theorem
\(P(X_i|y_j) = \frac{P(x_i,y_j)}{P(y_j)}; P(y_j) \gt 0\)
Properties
\(P(x,y) = \frac{x+y}{9}; x=0,1,2; y = 0, 1\)
Find \(P(X|Y)\) and \(P(Y|X)\)
Find for continuous X as well.
\(f(x) = kx^2+kx+\frac 1 8; 0 \lt x \lt 2\)

www.statmania.info | Abdullah Al Mahmud | Press space or arrow to change slides