III-Discrete Distributions
III-Discrete Distributions
Probability Distributions
3-1 Discrete Random Variables
3-2 Probability Distributions and
Probability Mass Functions
3-4 Mean and Variance of a
Discrete Random Variable
3-5 Discrete Uniform Distribution
3-6 Binomial Distribution
3-7 Geometric Distribution
5.
6.
Probability Distributions
A random variable is a function that assigns a
real number to each outcome in the sample
space of a random experiment.
The probability distribution of a random
variable X gives the probability for each value
of X.
Probability distributions can be shown by using a
graph or a table.
EXAMPLE 1
Consider three coins are tossed, the sample space is represented as TTT,
TTH, THT, HTT, HHT,HTH, THH, HHH; and if X is the random variable for
the number of heads, then X assumes the value 0, 1, 2, or 3.
Probabilities for the values of X can be determined as follows:
Hence, the probability of getting no heads is 1/8 , one head is 3/8 , two
heads is 3/8, and three heads is 1/8 . From these values, a probability
distribution can be constructed by listing the outcomes and assigning the
probability of each outcome, as shown below.
SOLUTION
Since the sample space is 1, 2, 3, 4, 5, 6 and each outcome has a
probability of 1/6, the distribution is as shown.
P(X =0) =
P(X =1) =
P(X =2) =
P(X =3) =
P(X =4) =
0.6561
0.2916
0.0486
0.0036
0.0001
1.0000
x
0
1
2
3
4
0.6561
0.2916
0.0486
0.0036
0.0001
1.0000
F ( x) P( X x) f ( xi )
xi x
800
850
799
849
0.886
50
P X 1 2 800
850 849 0.111
P X 2
50
850
49
849
0.003
Therefore,
F 0 P X 0 0.886
F 1 P X 1 0.997
F 2 P X 2 1.000
0
0.886
F ( x)
0.997
1
x0
0 x 1
1 x 2
2 x
(x -0.4)
f (x )
(x -0.4) f (x ) x f (x )
0.6561
0.0000
0.160
0.1050
0.0000
0.2916
0.2916
0.360
0.1050
0.2916
0.0486
0.0972
2.560
0.1244
0.1944
0.0036
0.0108
6.760
0.0243
0.0324
0.0001
0.0004
12.960
0.0013
0.0016
Total =
0.4000
0.3600
0.5200
= Mean
= Variance ( ) = E (x )
2 = E (x 2) - 2 = 0.3600
Computational formula
Remark
Example
Suppose two coins are tossed repeatedly, and the number of heads that
occurred is recorded. What will be the mean of the number of heads?
The sample space is HH, HT, TH, TT and each outcome has a probability of
1/4 . Now, in the long run, you would expect two heads (HH) to occur
approximately of the time, one head to occur approximately of the time
(HT or TH), and no heads (TT) to occur approximately of the time. Hence,
on average, you would expect the number of heads to be
That is, if it were possible to toss the coins many times or an infinite
number of times, the average of the number of heads would be 1.
Hence, to find the mean for a probability distribution, you must multiply
each possible outcome by its corresponding probability and find the
sum of the products.
f(xi) = 1/n