Professional Documents
Culture Documents
Chap3 Discreate
Chap3 Discreate
D.R.
D.R. variables
variables Definition
PMF & CDF A discrete random variable is a random variable with a
finite or countably infinite range.
Mean & Variance
Example
Uniform Dis.
1. Roll a die twice: Let X be the number of times 4
Binomial Dis. comes up then X could be 0, 1, or 2 times.
Poisson Dis.
2. Toss a coin 5 times: Let X be the number of heads then
X = 0, 1, 2, 3, 4, or 5.
Summary 3. X = The number of stocks in the Dow Jones Industrial
Average that have share price increases on a given day
then X is a discrete random variable because whose share
price increases can be counted.
24/09/2022 Department of Mathematics 2/20
Discrete Random Variables
D.R.
D.R. variables
variables Determining a Discrete Random Variable
PMF & CDF Let X be a discrete random variable with possible
Mean & Variance
outcomes x1, x2, … , xn.
1. Find the probability of each possible outcome.
Uniform Dis.
2. Check that each probability is between 0 and 1 and
Binomial Dis.
that the sum is 1.
Poisson Dis. 3. Summarizing results in following table:
Summary
X x1 x2 …. xn
P(x) p1 p2 …. pn
D.R.
D.R. variables
variables Example
Let the random variable X denote the number of heads in
PMF & CDF
three tosses of a fair coin. Determine the probability
Mean & Variance distribution of X.
Uniform Dis.
The sample space:
Binomial Dis. S = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}.
Poisson Dis. The events: [X = 0] = {TTT} [X = 1] = {HTT,THT,TTH}
Summary
[X = 2] = {HHT, HTH,THH} [X = 3] = {HHH}
X 0 1 2 3
P(x) 1/8 3/8 3/8 1/8
xi £ x
Uniform Dis.
For a discrete random variable X, F(x) satisfies
Binomial Dis. the following properties.
Poisson Dis. (1) 0 ≤ F(x) ≤1
Summary (2) If x ≤ y, then F(x) ≤ F(y)
D.R. variables
Uniform Dis.
Binomial Dis.
Poisson Dis.
Summary ì0 if x<0
X 0 1 2 ï0.886
ï if 0 £ x<1
F ( x) = í
f(x) 0.886 0.111 0.003 1£ x< 2
ï0.997 if
ïî1 if x³2
24/09/2022 Department of Mathematics 8/20
Cumulative distribution function
Poisson Dis.
Summary
f(-2) =0.2-0=0.2
f(0) =0.7-0.2=0.5
f(2) =1.0-0.7=0.3
Uniform Dis. i
The variance of X, denoted as σ2 or V(X) is
Binomial Dis.
σ2 = V(X) = E(X - µ)2
Poisson Dis. = å xi2 f ( xi ) - µ 2
i
Summary The standard deviation of X is σ.
Poisson Dis. Determine the mean and standard deviation of the number
of messages sent per hour.
Summary
Uniform Dis.
E[h( x)] = å h( xi ) f ( xi )
i
Binomial Dis.
Corollary
Poisson Dis.
12
D.R. variables
Uniform Dis.
Binomial Dis.
Binomial Dis.
Poisson Dis.
Summary
D.R. variables Solution. Let X = the number of samples that contain the
pollutant in the next 18 samples analyzed. Then X is a
PMF & CDF
binomial random variable with p = 0.1 and n = 18.
Mean & Variance
(a) æ18ö 2
P( x = 2) = çç ÷÷ 0.1 (1- 0.1)18-2 = 0.284
Uniform Dis.
è2 ø
Binomial Dis.
Binomial Dis.
æ 18 ö x
(b) P ( x ³ 4 ) = å çç ÷÷ 0 .1 (1 - 0 .1)18 - x = 0 .098
Poisson Dis. x³4 è x ø
Summary
6
æ 18 ö
(c) P ( 3 £ x < 7 ) = å çç ÷÷ 0 . 1 x (1 - 0 . 1) 18 - x = 0 . 265
x=3 è x ø
Poisson Dis.
Summary
Uniform Dis.
b) Let X denote the number of flaws in 2 millimeters of
wire. Then, X has a Poisson distribution with
Binomial Dis.
Poisson Dis.
Poisson Dis.
Summary Therefore,
D.R. variables
7) Compute the probability of obtaining
PMF & CDF three defectives in a sample of size 10
Mean & Variance
taken without replacement from a box of
twenty components containing four
Uniform Dis.
defectives. Answer: 0.2477
Binomial Dis.
Poisson Dis.
Summary
D.R. variables
Definition
PMF & CDF
A set of N objects contains
Mean & Variance K objects classified as successes
N − K objects classified as failures
Uniform Dis.
Uniform Dis. A sample of size n objects is selected randomly (without
replacement) from the N objects where K ≤ N and n ≤ N.
Binomial Dis. The random variable X that equals the number of successes in the
sample is a hypergeometric random variable and
Poisson Dis.
Summary
Uniform Dis.
Binomial Dis.
11) An urn contains 30 red and 20 green
Poisson Dis.
balls. A sample of 5 balls is selected at
Summary random, without replacement. Find the mean
and standard deviation of the number of red
balls in the sample. Answer: 3; 1.05
Poisson Dis.
Summary
D.R. variables
Mean and Variance
PMF & CDF
Uniform Dis.
Uniform Dis.
Binomial Dis.
Poisson Dis.
Summary
Uniform Dis.
Uniform Dis.
b) How many times on average does that man
have to flip to get four heads?
Binomial Dis.
c) Find standard deviation of the number of flips
Poisson Dis.
until that man gets four heads.
Summary
Answer: 0.109; 8; 2.83
Summary
D.R. variables
Mean and Variance
PMF & CDF
Uniform Dis.
Binomial Dis.
Poisson Dis.
Summary