Lecture Topic 4
Lecture Topic 4
Statistics
Topic 4: Some Important Probability Distributions
1 / 60
Probability Distributions
2 / 60
The Binomial Distribution
The trials are independent – that is, the result of one trial does
not affect the result of any other trials.
3 / 60
The Binomial Distribution
4 / 60
Binomial Random Variable
n!
P(X = x) = px (1 − p)n−x
x!(n − x)!
Note: n! = n × (n − 1) × (n − 2)...2 × 1
5 / 60
Binomial Random Variable
Example:
A student sitting an econometric quiz decides to answer each of the
10 multiple choice questions entirely by chance.
6 / 60
Example cont.
n!
P(X = x) = px (1 − p)n−x
x!(n − x)!
10!
P(X = 0) = 0.20 (1 − 0.2)10−0
0!(10 − 0)!
= 1 × 1 × 0.810
= 0.10737(5 dp)
7 / 60
Example cont.
P (X ≥ 5) = P (X = 5) + P (X = 6) + P (X = 7)
+ P (X = 8) + P (X = 9) + P (X = 10)
= a lot of formulas to calculate!
P (X ≥ 5) = 1 − P (X ≤ 4) = 1 − P (X = 4) + P (X = 3)
+ P (X = 2) + P (X = 1) + P (X = 0)
8 / 60
Using Excel
=binomdist(x,n,p,Cumulative)
P(X≤4)=binomdist(4,10,0.2,TRUE)=0.9672
=1-binomdist(4,10,0.2,1)=1-0.9672=0.0328
P(X=5)=binomdist(5,10,0.2,FALSE)=0.026424
9 / 60
Binomial Tables
Binomial Tables (available on iLearn)
give P(X ≤k) for different values of k, n, and p.
10 / 60
Binomial Tables
11 / 60
I The probability that the student passes:
P (X ≥ 5) = 1 − P (X ≤ 4) = 1 = 0.967 = 0.033
P (X = 2) = P (X ≤ 2) − P (X ≤ 1)
= 0.6778 − 0.3758
= 0.3020
12 / 60
Binominal Distribution
µ=E(X)=np
σ 2 =V(X)=np(1-p)
p
σ =SD(X)= np(1 − p)
13 / 60
Probability Density Function (PDF)
I A function f(x) is called a probability density function if it
satisfies the following requirements:
14 / 60
Notes
Evaluate as
Z b
P (a < X < b) = f (x)dx
a
Notice that this shows the link between probabilities and pdf.
15 / 60
2. For a continuous pdf, the probability that X will take any
specific value is zero. Let a → b − see that area → 0
16 / 60
The Normal Distribution
Notation: X∼N(µ, σ 2 ).
1 1 x−µ 2
f (x) = √ e− 2 ( σ ) , −∞ < x < ∞
σ 2π
17 / 60
The Normal Distribution cont.
18 / 60
Characteristics of the Normal Distribution
19 / 60
Normal Distribution cont.
20 / 60
Probabilities from the Normal Distribution
21 / 60
Probabilities from the Normal Distribution
Z b
I Probability P(a < X < b) = f(x)dx
a
22 / 60
Area under the curve
Z b Z b
1 1 x−u 2
P(a < X < b) = f(x)dx = √ e− 2 ( σ ) dx
a a σ 2π
Not easy!
I Statistical tables are available that will tell us the P(X≤x) for a
normal distribution.
23 / 60
The Standard Normal Distribution
24 / 60
Standardizing a Normal Distribution
25 / 60
Standardizing a Normal Distribution
X −µ
Z= ∼ N (0, 1)
σ
26 / 60
Z-Table
27 / 60
Z-Table (Cumulative Standardised Normal
Distribution)
28 / 60
Finding areas using Z-Table
P(Z<1.5)=?
29 / 60
Finding areas using Z-Table
P(Z<1. 5)=0.9332
30 / 60
Finding areas using Z-Table
P(Z>1)=?
31 / 60
Finding areas using Z-Table
32 / 60
Finding areas using Z-Table
P(Z< -1.52)=P(Z>1.52). The normal distribution is sym-
metrical.
33 / 60
Finding areas using Z-Table
34 / 60
Finding areas using Z-Table
P(1<Z<1.5)=P(Z<1.5) - P(Z<1)
35 / 60
Finding areas using Z-Table
36 / 60
Application Example 1
37 / 60
Application Example 1
38 / 60
Application Example 1
X −µ 98 − 100
Z= = √ = −1.33
σ 2.25
I Standardize X = 103
X −µ 103 − 100
Z= = √ =2
σ 2.25
39 / 60
Application Example 1
40 / 60
Application Example 1
41 / 60
Application Example 2
42 / 60
Application Example 2
X −µ 0 − 10
P(X<0)=P ( < )
σ 5
=P(Z<-2)
=0.0228
43 / 60
Application Example 2
X∼N(10,102 )
P(X<0)=?
44 / 60
Application Example 3
Salaries of workers in a factory are normally distributed with mean
$48,000 and standard deviation $3,500. What is the minimum
salary of the top 20% of workers?
I X∼ N(48000, 35002 )
I find P(X>x)=0.2
We essentially have to work “backwards” i.e. start with the
probability, find the z-statistic, de-standardize it to arrive at the
associated X-value ($$$).
45 / 60
Application Example 3
46 / 60
Application Example 3
P(Z<z) = 0.8
z=0. 84
47 / 60
Application Example 3
48 / 60
Using Excel
49 / 60
Linear Combinations of Normal Distributions
I Thus if
X ∼ N µx , σx2 2
and Y ∼ N µy , σY
(αX ± βY) ∼ N αµx ± βµy , α2 σx2 + β 2 σy2 ± 2αβσxy
50 / 60
Example
51 / 60
Example
I Let X be the number of cans of cola sold in a day and Y be the
number of cans of lemonade sold in a day. Then, it is known
that
X ∼N(200, 502 ) Y∼N(180, 302 )
I Normal distribution
I Standard normal distribution
I Linear combinations of normal distributions
53 / 60
Chi-Squared Distribution
X∼χ2 (k)
54 / 60
Chi-Squared Distribution
55 / 60
Student t Distribution
56 / 60
Student t Distribution
I The Student t distribution is “mound” shaped and symmetrical
about its mean of zero.
57 / 60
F Distribution
X ∼ Fv1,v2
58 / 60
F Distribution
I The F distribution is similar to the Chi-squared distribution
in that its starts at zero (is non-negative) and is not symmetrical.
59 / 60
Summary
60 / 60