The lecture "Discrete Random Variables in Probability, Statistics & Random Processes" at HCMIU introduces the concept of discrete random variables and their applications. It covers probability mass functions, expected values, and variances for distributions like binomial, Poisson, and ...
The lecture "Discrete Random Variables in Probability, Statistics & Random Processes" at HCMIU introduces the concept of discrete random variables and their applications. It covers probability mass functions, expected values, and variances for distributions like binomial, Poisson, and geometric. Students learn to model real-world scenarios, such as customer arrivals or equipment failures, using these distributions. The lecture emphasizes calculations and problem-solving, with practical examples and tools like Python or R for analyzing discrete random processes.
Size: 316.71 KB
Language: en
Added: May 22, 2025
Slides: 42 pages
Slide Content
Discreterandomvariables
October19,2023
1 / 38
Objectives
1Understandrandomvariables2FordiscreterandomvariablesaDetermine probabilities from probability mass
functions and the reverse
bDetermine probabilities from cumulative
distribution functions and cumulative
distribution functions from probability mass
functions, and the reverse
2 / 38
Example
Rolltwofairdice
Ω ={(1,1,),...,(6,6)}={(i,j) :1≤i,j≤6}
LetXbe the largest of numbers on two dice, i.e
iftherollingresultis(i,j)then
X(i,j) = max(i,j)
15 / 38
TablevaluesofX
16 / 38
AllpossiblevaluesofXis
Range(X) ={1,2,3,4,5,6}
soXisadiscreterandomvariable.
In order to determine the pmf ofX, we need to
findalltheprobabilities
P(X=1),P(X=2),...,P(X=6)
17 / 38
X=1ifandonlyiftheoutcomeis(1,1). So
P(X=1) =P((1,1)) =1/36
X=2 if and only if the outcomes is one of
(1,2),(2,2),(2,2). So
P(X=2) =P({(1,2),(2,1),(2,2)})
=P((1,2))+P((2,1))+P((2,2) =3/36
18 / 38
Illustrationtocalculatepmf
For each possible valuex, we collect all the outcomes that
give rise toX=xand add their probabilities to obtain
pX(x) =P(X=x). 20 / 38
One can use p.m.f of the discrete random vari-
ableXtoansweranyquestionofXsuchas
P(1<X<4) =P(X=2orX=3)
=P(X=2)+P(X=3) =3/36+5/36
usingadditiverulefordisjoinset
P(A∪B) =P(A)+P(B)ifA∩B=∅
forA={X=2},B={X=3}
21 / 38
Practice
Probabilitymassfunctionofdiscreterandomvari-
ableXis
x -2-1012
p(x) =P(X=x)1/82/82/82/81/8
Determine
1P(X≤ −1orX=2)2P(−1≤X≤1)
22 / 38
Practice
A shipment of 20 similar laptop computers to a
retail outlet contains 3 that are defective. If a
school makes a random purchase of 2 of these
computers,find the probability mass function
(p.m.f)for.
23 / 38
Practice
An urn contains 11 balls, 3 white, 3 red, and 5
blue balls. Take out 3 balls at random, without
replacement. You win $1 for each red ball you
select and lose a $1 for each white ball you se-
lect. Determinethep.m.fofyourloss/profitX.
24 / 38
Solution
Graph ofF(x)is
P(X=a) =F(a)−F(a
−
)isnonzeroatthepoints−2,0,2.
The p.m.f at each point is the change (jump size) of c.d.f
at the point 34 / 38
Keywords
•pmf of a discrete RV with range{x1,...,xn,...}
p(xi) =P(X=xi)
•0≤p(xi)≤1
•
P
p(xi) =1
•P(X∈A) =
P
xi∈A
p(xi)
•cdf
F(x) =P(X≤x) =
X
xi≤x
p(xi)
38 / 38