PLSC214 Topic 5
PLSC214 Topic 5
PLSC214 Topic 5
3
STATISTICAL METHODS
Topic 5
Discrete Random Variables and Their Probability
Distributions
Topic 5
A. Random variables
B. Probability distribution of a discrete random
variable
§ Mean and standard deviation of a discrete random
variable
C. Binomial probability distribution
§ Mean and standard deviation of a binomial probability
distribution
D. Poisson probability distribution
§ Mean and standard deviation of a Poisson probability
distribution
E. Review Questions
Tables Needed!
A. Random Variables
Random Variables
A random variable is variable whose value is determined
by the outcome of a random experiment.
There are two types of random variables:
Random
Variables
1. Discrete
2. Continuous
Test your knowledge: What type of variable is the following?
Weights of cats owned by a sample of 100 people.
1. Discrete
2. Continuous
B. Probability Distribution of a
Discrete Random Variable
Probability Distribution of a
Discrete Random Variable
The probability distribution of a discrete random variable lists all
the possible values that the random variable can assume and
their corresponding probabilities.
Table 1. Frequency and relative frequency distribution of the number of
vehicles per apartment in residence (maximum 4 students per residence).
Number of Relative
Vehicles Frequency Frequency
0 30
1 470
2 850
3 490
4 160
N = 2000 Sum = 1.000
Test your knowledge: The relative frequency
approach to probability in Topic 4 taught us that:
Probability
0 0.015 0.300
1 0.235
0.150
2 0.425
3 0.245
0.000
4 0.080 0 1 2 3 4
SP(X) = 1.000
Number of
Vehicles
Test your knowledge: Probability from
Topic 4 stated this about outcomes:
1. Every probability for an outcome must be
between 0 and 1
2. The probabilities of all the possible outcomes
must add to 1.
3. Both of the above.
Two Characteristics of a Probability Distribution:
s = å x p( x) - µ
2 2 Variance (s2) is standard
deviation squared.
%
Formula as seen in some textbooks: 𝜎! = #(𝑥" −𝜇)! 𝑃(𝑋 = 𝑥" )
"#$
Table 3. The following table gives the probability distribution of
the number of cell phones sold on a given day at store.
S xP(x)= S x2P(x)=
Table 3. The following table gives the probability distribution of
the number of cell phones sold on a given day at store.
s = å x 2 p( x) - µ 2
Table 4. The following table gives the probability distribution of the
number of wallets sold on a given day at a department store.
µ = S x P(x) =
s = å x 2 p( x) - µ 2
You start a new life insurance company for pet owners. If their pet dies accidently,
you pay $1,000 and if the pet dies of disease or old age, you pay nothing. The
statistics of your consumer base have come in. Your findings show that 8 out of 10
pets in your area die of accidental causes. You decide that:
µ = S x P(x) =
The company expects to pay $20 per policy and charges $50
per policy.
s = å x 2 p( x) - µ 2 𝜎 = 386.8
The standard deviation in this case is quite large (and so is the risk). This gives an indication that it’s no sure thing to
make $50 (even though 997 out of 1000 the company would).
C. The Binomial Probability
Distribution
The Binomial Probability Distribution
nCx
n denotes the x denotes the number of
total number of elements selected per
elements selection
10
Probability of Success and the Shape of the
Binomial Distribution
X P(x) 0. 4 Fig. Bar graph
0 0.0625 for the
0. 35
Table 1: 0. 3
probability
0. 25
Probability 1 0.2500 0. 2
distribution of
0. 15
distribution of x 2 0.3750
0. 1
Table 1.
0. 05
for n = 4 3 0.2500
1 2 3 4 5
Fig. Bar
Table 2:
0. 4
0. 3
Probability 0. 25
probability
1 0.4116
0. 2
distribution of x
0. 15
0. 1
distribution of
for n = 4 2 0.2646 0. 05
0
1 2 3 4 5
Table 2.
And p =.30 3 0.0756
4 0.0081 Skewed to right
(p<0.5)
0. 45
Table 3: 0. 4
Fig. Bar
Probability 0 0.0016 0. 35
0. 3
graph for the
1 0.0256 probability
0. 25
distribution of x 0. 2
0. 15
2 0.1536 Distribution of
for n = 4
0. 1
Table 3.
0. 05
Example: It is known that 2% of students will be done their labs before the first
midterm. What is the probability that 1 out of 10 students will be done before
the first midterm?
Example: It is known that 2% of students will be done their labs before the first
midterm. What is the probability that at most 1 student out of 10 will be done
before the first midterm?
P(x = 1)+P(x = 0) = .1667 + 10C0 0.0200.9810-0 =
Binomial Tables and Calculators
¨ For our class, we can use the tables provided.
¨ Excel can also be used.
¨ Many free online calculators available.
Using the Table of Binomial
Probabilities
P(x) = nCx pxqn-x The table gives the binomial probability given: n = total number of trials,
p = probability of success, and x = number of successes in n trials.
Example: It is known that 50% of dogs will dig holes in their owners yards.
What is the probability that 1 out of 5 dogs will dig a hole?
using the table: n=5, x=1,p=0.5
P(x = 1) =
Example: It is known that 50% of dogs will dig holes in their owners yards.
What is the probability that at least 3 dogs out of 5 will dig holes?
µ = np
s = npq
D. The Poisson Probability
Distribution
Poisson Probability Distribution
¨ An important probability distribution of
discrete random variable.
¨ The only thing we have to know to specify the
Poisson distribution is the mean number of
occurrences for which the symbol lambda (λ ) is
often used.
Poisson Probability Distribution
lx e - l
P( x) = = (9.5)6 e -9.5 /6! =
x!
Or use the table of Poisson probabilities and get the same answer!
Poisson Probability Distribution
Example: A car salesperson sells on average 0.5 cars a day.
What is the probability that the salesperson will sell no more
than 1 car today? Phrase Math Symbol
“at least” or “no less than” ≥
= “exactly” =
µ =l
s =l
2
s = l
Poisson Probability Distribution
Mean and Standard Deviation
For the Poisson Distribution the mean and the
variance are both equal to l.
s =l
2 and standard deviation for that salesperson?
µ=l=
s = l
s=Ö l =