L8 Probability Distributionsv2
L8 Probability Distributionsv2
Probability Distributions
Dr Abdul Rehman Shahid
Today’s Learning Outcomes
flickr:pictcorrect/6366927999
Probability Quick Recap
3
Events
Mutually Exclusive Events
When two (or more) events cannot occur at the same time they are
mutually exclusive
E.g. a person cannot be over 60 and under 16 at the same time. Hence
P(A AND B) = 0
It follows that P(A OR B) = P(A) + P(B)
P(person is over 60) = 0.2
e.g.
A: candidate scored more than 60% in an exam
B: candidate is male
A AND B: candidate is male who scored more than 60%
6
Conditional Probability
Student is Male
Student is Finance
8
Venn Diagrams Example
Probability a
student likes only
Quantitative
Methods –
10
Find the probability that a student selected
at random likes Quantitative Methods, given
that he likes Interpreting Management
= 9/24 = 3/8
11
Using decision trees
12
An example…
In order to get a driving license, learners should pass both theory and
driving test
13
Tree Diagram
14
Random Variables: Definitions
Random
Variables
Discrete Continuous
Random Variable Random Variable
Random Variables: Definitions
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Normal
Poisson
The Binomial and Poisson Distributions
Binomial:
• Is a discrete probability distribution and is appropriate when:
• A variable can only take on one of two values.
• The probability of the two outcomes are constant from trial to
trail.
• Successive events are independent.
Poisson:
• It is good at modelling events that occur rarely and at random
(e.g. arrivals at a supermarket checkout).
Example of binomial distribution
1/9
0
P (Three P(Two P (One P (Zero
success) success) success) Success)
22
Formula for Binomial Distribution
24
Using Excel
=BINOM.DIST(5,10,0.5,FALSE)
25
Scenarios where there is no equal probability
When tossing a coin – there are two outcomes – Head and Tail
Both the outcomes have equal chance of getting ‘Head’ which is 0.5
However in many situations, there may not be equal chance
For e.g.
Joe Blogg says : After boxing day, 70% of the online orders will be returned.
Hence the next 7 out of 10 customers will be returning their orders.
What are the chances that Joe Blogg is correct?
Simplest way to find:
=BINOM.DIST(7,10,0.7,FALSE)
Answer - 0.2668 = 27%
26
The Normal Distribution
f(Z)
Z
0
f(X)
P (a ≤ X ≤ b )
= P (a < X < b )
(Note that the probability of
any individual value is zero)
X
a b
Probability as an Area Under the Curve
• The total area under the curve is 1.0, and the curve is
symmetric, so half is above the mean, half is below.
f(X)
P( X μ) 0.5 P(μ X ) 0.5
0.5 0.5
X
μ
P( X ) 1.0
The Standardised Normal Table
0.9772
Example:
P(Z < 2.00) = 0.9772
0 2.00 Z
The Standardised Normal Table
General Procedure for Finding Normal
Probabilities
X
18.0
18.6
Finding Normal Probabilities - Example
18 18.6 X 0 0.12 Z
P(X < 18.6)
Finding Normal Upper Tail Probabilities
X
18.0
18.6
Finding Normal Upper Tail Probabilities
0.5478
1.000 1.0 - 0.5478 =
0.4522
Z Z
0 0
0.12 0.12
Finding a Normal Probability Between
Two Values
Calculate Z-values:
X − μ 18 −1 8
Z= = =0
σ 5
18 18.6 X
X − μ 18.6 −1 8 0 0.12 Z
Z= = =0.12
σ 5 P(18 < X < 18.6)
P(18 < X < 18.6)
= P(0 < Z < 0.12)
= P(0 < Z < 0.12)
= P(Z < 0.12) – P(Z ≤ 0)
= 0.5478 - 0.5000 = 0.0478