Professional Documents
Culture Documents
Chapter3 - Discrete Random Variables - Latest Version
Chapter3 - Discrete Random Variables - Latest Version
P( X x) = 1
n
p i
i = 1, i = 1, 2, ..., n or
allx
Example 3.1
Tossing a die:
______________________________________________________________________________________
1
BITI2233 Statistics And Probability
Theorem :
A function f(x) is a probability distribution function (pdf) for the discrete
random variable X if, for each possible outcome xi :
1. 0< f(xi) < 1.
2. f(xi) = 1.
Theorem :
The cumulative distribution function (CDF) F(x) of a discrete random
variable X with probability density function f(x) is defined by
t
1. F(t) = P(X < t) = P ( X x)
x x1
t x1 , x 2 ,...., x n
Note2.: f Capital
( xi ) F (letters, x 1 ) as X, Y, Z, … will be used to denote random
xi ) F (such
variables. The lower casei letters x, y, z, … will be used to denote possible
values that the corresponding random variables can attain.
The mean, (or expected value) of a discrete random variable X, is equal to the sum of
the products of each value of x and the corresponding P(x)
E( X ) xP( x)
Definition of variance
The variance, 2 of a discrete random variable X is equal to the sum of the products of
(x- )2 and the corresponding value of P(x) :
2 ( x ) 2 P( x) x 2 P( x) 2 E( X 2 ) ( E( X )) 2
The standard deviation , of a random variable X is equal to the positive square root of
the variance.
______________________________________________________________________________________
2
BITI2233 Statistics And Probability
Example 3.2
______________________________________________________________________________________
3
BITI2233 Statistics And Probability
3.2
______________________________________________________________________________________
4
BITI2233 Statistics And Probability
______________________________________________________________________________________
5
BITI2233 Statistics And Probability
______________________________________________________________________________________
6
BITI2233 Statistics And Probability
Binomial Distribution
Binomial distribution is a commonly used discrete probability distribution
since many statistical problems are deal with the situations referred to as repeated
trial. For example, we may want to know the probability that 9 of 10 VCRs will
run at least 1,000 hours or the probability that 45 out of 300 drivers stopped at a
road block will be wearing seatbelts. Those experiment that possess the following
properties are called binomial experiment :
Let S and F (success and failure) denote the two possible categories of all
outcomes. Then
P(S) = p
P(F) = 1- p = q
n n!
b(x; n, p) = f(x) = P(X=x) = p x q n x p x q n x x = 0, 1, 2,…, n
x ( n x )! x!
x
B(x; n, p) = F(x) = P(X x) = b(k ; n, p)
k 0
x = 0, 1, 2,…, n
Mean : = n.p
Variance
where :
n = number oftrails
2 = n. p.q
Note :
(i) A short notation to designate that X has the binomial distribution with
parameter n and p is
X ~ BIN (n, p)
______________________________________________________________________________________
7
BITI2233 Statistics And Probability
Example 3.3 :
Find the probability of getting 3 left-handed students in a class of 15
students, given that 10% of us are left-handed.
Solution :
Given p = 0.1 q = 0.9 n = 15 x=3
15
P(X=3) = f(3) = b(3, 15, 0.1) = 0.13 (0.9) 153 0.129
3
Example 3.4
The National Television Violence Study claims that 6 out of 10 shows contain violent
acts. Assume that this result is true for the current population of all such television shows.
a) Using the binomial formula, find the probability that in a random sample of 10
such shows, the number that contain violent acts is
i) exactly 4
ii) exactly 10
b) Find the mean.
c) Find the standard deviation.
Solution
We know that n=10 , p = 0.6 , q= 0.4
a.i) P(x=4)
10C4 (0.6)4 (0.4)10 4
= 0.1115
a.ii) P(x=10)
10 C 0 (0.4) 0 (0.6) 10 0
= 0.0060
c) np d) npq
=10 x 0.6 = 10 x 0.6 x 0.4
=6 = 2.4
This means if we take many samples of 10 shows, we expect that each sample will
contain an average of 6 shows with a standard deviation of 2.4 which would contain
violent acts.
______________________________________________________________________________________
8
BITI2233 Statistics And Probability
Poisson Distribution
The Poisson distribution is a discrete probability distribution that applies to
occurrences of some event over a specific interval. The random variable X is the
number of occurrences of the event in an interval. The interval can be time,
distance, area, volume, or some similar unit. Those experiment that possess the
following properties are called Poisson experiment :
e x
f(x; ) = x = 0, 1, 2, … and 0
x!
Mean :
Variance : 2 =
Note :
A short notation to designate that X has the poisson distribution with
parameter is
X ~ POI ()
______________________________________________________________________________________
9
BITI2233 Statistics And Probability
Example 3.5 :
The mean number of bacteria per mililiter of a liquid is known to be 4.
Assuming that the number of bacteria follows a poisson distribution, find
the probability that
(a) In 1 ml of liquid, there will be 4 bacteria.
(b) In 3 ml of liquid, there will be less than 2 bacteria.
(c) In 1 2 ml of liquid, there will be more than 2 bacteria.
Solution :
X ~ POI (4)
e 4 ( 4 ) 4
(a) P(X = 4) = 0.1954
4!
______________________________________________________________________________________
10
BITI2233 Statistics And Probability
Example 3.6
On average, 20 households in 50 own answering machines.
a) Using the Poisson formula, find the probability that in a random sample of 50
households, exactly 25 will own answering machines.
b) Using the Poisson probabilities table, find the probability that the number of
households in 50 who own answering machines is
i) at most 12
ii) 13 to 17
iii) at least 30
c) Find the mean.
d) Find the standard deviation.
Solution
Let x be the household who own the answering machines , =20 ,
x e
Poisson formula =
x!
( 20 ) 25 e 20
a) P( x = 25 ) =
25!
=0.0446
b.i) P( x 12 ) = 0.0390
b.ii) P( 13 x 17) = P( x 17 ) – P( x 12 )
= 1 – 0.9782 = 0.0218
c) 20 d) 20 = 4.5
______________________________________________________________________________________
11
BITI2233 Statistics And Probability
N, k n, x
______________________________________________________________________________________
12
BITI2233 Statistics And Probability
N, k n, x
______________________________________________________________________________________
13
BITI2233 Statistics And Probability
N, k n, x
______________________________________________________________________________________
14