Professional Documents
Culture Documents
COMM5005 Lecture 6
COMM5005 Lecture 6
COMM5005 Lecture 6
for Business
COMM5005
Lecture 6
Statistics Flow Chart
Statistics
Lecture 5
Probability
Descriptive Inferential
Lecture 8
i =1
i =1
N
σ =
2
åX
i =1
i
2
P ( X i ) - E(X) 2
𝜎"# = $ 𝑋$ − 𝐸 𝑋 𝑌$ − 𝐸 𝑌 𝑃(𝑋$ , 𝑌$ )
$%&
𝜎"# = $ 𝑋$ 𝑌$ 𝑃 𝑋$ , 𝑌$ − 𝐸 𝑋 𝐸 𝑌
$%&
where 𝑋! , 𝑌! = the ith outcome of the discrete random variables X and Y,
respectively
𝑃 𝑋! , 𝑌! = probability of the ith occurrence of X and Y
Computing the Mean for Investment Returns
• Return per $1,000 for two types of investments
Investment
&
𝜎!" = # 𝑋# 𝑌# 𝑃 𝑋# , 𝑌# − 𝐸 𝑋 𝐸 𝑌
#$%
σ XY = [( -25 * -200 * 0.2) + (50 * 60 * 0.5) + (100 * 350 * 0.3)] - [(50 * 95)]
= 8250
Interpreting the Results for Mean Returns
E(P) = w E ( X ) + (1 - w) E (Y )
• Portfolio risk: measure of the variation of investment returns
σ P = w 2σ 2X + (1 - w )2 σ 2Y + 2w(1 - w)σ XY
Where E(P) = portfolio expected return
w = portion of portfolio value in asset X
(1 − w) = portion of portfolio value in asset Y
Example
æ nö n!
ç ÷ = nC x =
èXø X !(n - X )!
where
n! =(n)(n − 1)(n − 2) . . . (2)(1)
X! = (X)(X − 1)(X − 2) . . . (2)(1)
0! = 1 (by definition)
The Binomial Distribution Formula
n!
P( X ) = p X (1 - p)n - X
X !(n - X )!
μ = E(x) = np
• Variance and standard deviation
σ 2 = np(1 - p)
σ = np(1 - p)
Where n = sample size
p = probability of success
(1 – p) = probability of failure
2. Continuous Probability Distributions
• A continuous random variable is a variable that can assume any value
on a continuum (can assume an infinite number of values).
• These can potentially take on any value, depending only on the ability to
measure accurately:
• thickness of an item
• time required to complete a task
• weight, in grams
• height, in centimetres
Three continuous distributions
The Normal Distribution
• Bell-shaped
• Symmetrical
• Mean, median and mode are
equal.
• Central location is
determined by the mean, µ.
• Spread is determined by the
standard deviation, σ .
• The random variable X has
an infinite theoretical range:
+ ¥ to - ¥ .
Relative frequency histogram and polygon of the thickness of 10,000 brass washers
The Normal Probability Density Function
• The formula for the normal probability function is:
1 2
f(X) = e -(1/2)[(X -μ)/σ]
2πs
1 2
f(Z) = e -(1/2)Z
2π
Thus, P(X < 7.88) = P((X-2)/3 < (7.88 -2)/3) = P(Z < 1.96)
Note: t - distribution (Student) (1/2)
• As we will see in the next lecture on hypothesis testing, in certain
cases, we will use a t-distribution instead of a standard normal
distribution.
• The pdf of the t-distribution has a similar shape to that of the
standard normal distribution but more spread out and fatter tails.
• as nà∞ it approaches the normal.
t - distribution (Student) (2/2)
The Uniform Distribution (1 of 2)
• The uniform distribution is a probability
distribution that has equal probabilities for all
possible outcomes of the random variable.
• It is also called a rectangular distribution.
The Uniform Distribution (2 of 2)
• The continuous uniform distribution
1
if a £ X £ b
b-a
f(X) =
0 otherwise
• Where
• f(X) = value of the density function at any X value
• a = minimum value of X
• b = maximum value of X
Characteristics of the Uniform Distribution
a+b
µ=
2
P(X < A) = 1 - e - λA
μ=
åX i
N
18 + 20 + 22 + 24
= = 21
4
σ=
å (X i - μ)2
= 2.236
N
Uniform Distribution
Developing a Sampling Distribution (3 of 5)
Now consider all possible samples of size n=2
1st 2nd Observation
Obs 18 20 22 24
18 18,18 18, 20 18, 22 18, 24
20 20,18 20, 20 20, 22 20, 24
22 22,18 22, 20 22, 22 22, 24 1st 2nd Observation
24 24,18 24, 20 24, 22 24,24 Obs 18 20 22 24
18 18 19 20 21
16 possible samples (sampling with
20 19 20 21 22
replacement
22 20 21 22 23
Resulting in 16 sample means 24 21 22 23 24
Developing a Sampling Distribution (4 of 5)
μX =
å X i
=
18 + 19 + 21 + ! + 24
= 21
N 16
σX =
å ( X i - μ X
) 2
Different samples of the same size from the same population will
yield different sample means.
A measure of the variability in the mean from sample to sample is
given by the Standard Error of the Mean.
σ
σX =
n
σ
μx = μ σx =
n
Sampling distribution of the mean for different populations for samples of n = 2, 5 and 30