Professional Documents
Culture Documents
Week 1 2 Estimation
Week 1 2 Estimation
Week 1 2 Estimation
• Lesson 2 – Estimation
• Lesson 3 – Inference
• Lesson 4 – Introduction to R
SAMPLE POPULATION
mean 𝑥̅ 𝜇
sample size 𝑛 𝑁
variance 𝑠' 𝜎'
Standard deviation 𝑠 𝜎
∑.+,- 𝑥+ 𝑥- + 𝑥' + ⋯ + 𝑥.
𝑥̅ = 𝜇 = =
𝑛 𝑛
Where:
n is the total number of observations
1 is the SAMPLE mean
𝒙
𝝁 is the POPULATION mean
Dr. Maria Giamouzi
Exercise 1 - mean
We collected the weight in kilos of 10 postgraduate students from the MSc in Management at
the University of Bath.
Given the data from the table below, estimate the average weight of the sample.
weight in
n
kilos
1 50
2 55
3 60
4 76
5 47
6 58
7 64
8 72
9 80
10 59
Total 621
Advantages Disadvantages
Mean • All observations are used in the calculation • Affected by extreme values
• Useful for statistical analysis
• Easy to find for ungrouped data
50 60 70 80
var1
50 60 70 80
var1
50 60 70 80
var1
.05
.04
.06
.03
Density
Density
.04
.02
.02
.01
0
0
50 60 70 80 20 40 60 80 100
var1 var2
.05
.04
.06
.03
Density
Density
.04
.02
.02
.01
0
0
50 60 70 80 20 40 60 80 100
var1 var2
.05
.04
.06
.03
Density
Density
.04
.02
.02
.01
0
0
50 60 70 80 20 40 60 80 100
var1 var2
.05
A .04
B Which curve (A or B) do
.06
highest standard
.04
.02
deviation?
.02
.01
0
0
50 60 70 80 20 40 60 80 100
var1 var2
.05
A .04
B Which curve (A or B) do
you believe has the
.03
Density
highest standard
.02
deviation?
.01
0
20 40 60 80 100
. summ var2 var2
2620.92
𝒙
1 46.92 /(12-1)=238.27
Dr. Maria Giamouzi
Measure of Variability – Standard Deviation
A measure of variability found by taking the square root of the variance
𝑠= 𝑠'
𝑠= 𝑠 ' = 25 = 5
Stock, J.H. and Watson, M.W., 2019, Introduction to Econometrics, Global Edition, Pearson
Education Limited.
pp. 81-84, Section 2.5 (4 pages)
Therefore, we use terms like “confidence” – we won’t know things for sure, but we’ll be able
to learn quite a bit from unbiased samples.
Point estimate What is the average weight off
ALL postgraduate students at the
𝑠
1 = 𝟔𝟐. 𝟏
𝒙 University of Bath?
𝑥̅ ± 𝑡TU+V+TWX
𝑛
The average weight of the students
from the MSc in Management is
about 62 kilos.
Dr. Maria Giamouzi
Confidence Interval – Means
Sample Mean and
Standard Error
center of interval
𝑠
𝑥̅ ± 𝑡TU+V+TWX
𝑛
Critical T-value (depends
on confidence level)
𝑠
𝑥̅ ± 𝑡TU+V+TWX
𝑛
Critical T-value (depends
on confidence level) Margin of Error
Dr. Maria Giamouzi
𝑡TU+V+TWX
99%
99%
95%
90%
90%
95%
99%
• Step 3: Choose your desired confidence level (i.e. 90%, 95%, 99%).
These are the most commonly used, but you can
choose your confidence level to be any % that you like.
Dr. Maria Giamouzi
How to construct an 𝒙% Confidence Interval
for Means:
• Step 4: Calculate the standard error. You can find the standard error by using the
f f` f`
following formula 𝑆𝐸 = .
= .
= .
Source: Wooldridge, J., 2019, Introductory Econometrics: A Modern Approach,7th Ed., Cengage Learning, p. 786.
How to construct an 𝒙%
Confidence Interval for Means:
Source: Wooldridge, J., 2019, Introductory Econometrics: A Modern Approach,7th Ed., Cengage Learning, p. 786.
How to construct an 𝒙%
Confidence Interval for Means:
Source: Wooldridge, J., 2019, Introductory Econometrics: A Modern Approach,7th Ed., Cengage Learning, p. 786.
How to construct an 𝒙%
Confidence Interval for Means:
Source: Wooldridge, J., 2019, Introductory Econometrics: A Modern Approach,7th Ed., Cengage Learning, p. 786.
Reading List
Wooldridge, J., 2019, Introductory Econometrics: A Modern Approach,7th Ed., Cengage Learning.
pp. 727-733, Section C5 (7 pages)
Stock, J.H. and Watson, M.W., 2019, Introduction to Econometrics, Global Edition, Pearson
Education Limited.
pp. 117-118, Section 3.3 (2 pages)
'
𝑠q 𝑠r'
SE 𝑌oq − 𝑌or = +
𝑛q 𝑛r
Stock, J.H. and Watson, M.W., 2019, Introduction to Econometrics, Global Edition, Pearson
Education Limited.
pp. 120, Section 3.4 (1 page)
10.3 4.2 -6.1 18.1 7.3 -2.4 0.8 5.4 -1.0 10.7
A. Estimate the mean and variance of the population from which the sample is drawn.
B. Calculate a 99% confidence interval for the mean of the population from which the
sample is drawn.
C. Write a brief description of the calculated confidence interval.
∑.+,- 𝑥+
𝑥̅ =
𝑛
𝑛 =?
𝑥- =?
𝑥' =?
∑.+,- 𝑥+
𝑥̅ =
𝑛
𝑛 = 10
𝑥- = 10.3
𝑥' = 4.2
∑.+,- 𝑥+
𝑥̅ = 𝑥- + 𝑥' + 𝑥D + 𝑥E + 𝑥F + 𝑥v + 𝑥w + 𝑥x + 𝑥y + 𝑥-z
𝑛 𝑥̅ = =
10
𝑛 = 10
𝑥- = 10.3 10.3 + 4.2 + −6.1 + 18.1 + 7.3 + −2.4 + 0.8 + 5.4 + −1.0 + 10.7
𝑥' = 4.2 =
10
1 = 𝟒. 𝟕𝟑
𝒙
Therefore, the mean of the population from which the sample is drawn is equal to 4.73.
𝒏 𝟐
𝟐
∑ 1
𝒊,𝟏 𝒙𝒊 − 𝒙
𝒔 =
𝒏−𝟏
' '
𝑥- − 𝑥̅ + 𝑥' − 𝑥̅ + 𝑥D − 𝑥̅ ' + 𝑥E − 𝑥̅ '
+ ⋯ + 𝑥-z − 𝑥̅ '
𝑠' = =
10 − 1
∑ 𝒏 𝟐
𝟐
1
𝒊,𝟏 𝒙𝒊 − 𝒙
𝒔 =
𝒏−𝟏
10.3 − 4.73 ' + 4.2 − 4.73 ' + −6.1 − 4.73 ' + 𝑥E − 4.73 ' + ⋯ + 10.7 − 4.73 '
𝑠' = =
10 − 1
𝒔𝟐 = 𝟓𝟐. 𝟏𝟐𝟗
Therefore, the variance of the population from which the sample is drawn is equal to 52.129.
Dr. Maria Giamouzi
B. Calculate a 99% confidence interval for the mean of the population from which the sample is drawn.
Exercise 1 – Solution B
𝑥̅ ± 𝑡bc,W 𝑠. 𝑒. 𝑥̅
'
𝑠 52.129 7.22
𝑠. 𝑒. 𝑥̅ = = = = 2.283
𝑛 10 3.162
𝑡bc,W bc,.|-,y
'
𝑡 -% → 𝑡y,z.zzF = 3.250
y,
'
Exercise 1 – Solution B
𝑥̅ ± 𝑡bc,W 𝑠. 𝑒. 𝑥̅
'
1 = 𝟒. 𝟕𝟑
• 𝒙 • 𝒂 = 𝟏%
• 𝒔𝟐 = 𝟓𝟐. 𝟏𝟐𝟗 • 𝒏 = 𝟏𝟎
𝑠 52.129 7.22
𝑠. 𝑒. 𝑥̅ = = = = 2.283
𝑛 10 3.162
𝑡bc,W bc,.|-,y
'
𝑡 -% → 𝑡y,z.zzF = 3.250
y,
'
𝑠 52.129 7.22
𝑠. 𝑒. 𝑥̅ = = = = 2.283
𝑛 10 3.162
𝑡bc,W bc,.|-,y
'
𝑡 F% → 𝑡y,z.z'F = 2.262
y,
'
Exercise 1 – Solution C
𝟗𝟗% 𝑪𝑰 = −𝟐. 𝟔𝟗; 𝟏𝟐. 𝟏𝟓
Therefore, we are 99% confident that the population mean lies within the range
− 2.69 to 12.15.
The majority of this range is positive, but we cannot rule out the possibility of a
negative value for the population mean.
We are not certain that the population mean lies within this interval because it is
possible that our sample is amongst the 1% of samples.
Exercise 1 – Solution C
𝟗𝟗% 𝑪𝑰 = −𝟐. 𝟔𝟗; 𝟏𝟐. 𝟏𝟓
𝟗𝟓% 𝑪𝑰 = −𝟎. 𝟒𝟑𝟓; 𝟗. 𝟖𝟗𝟓
𝟗𝟓% 𝑪𝑰
Precision Accuracy
Precision vs Accuracy 95% CI high low
99% CI low high
Dr. Maria Giamouzi
Practice Problem: Estimation Exercises –
Exercise 2
Suppose that a sample of 20 AAA-rated corporate bonds has a mean return of 1.03% and variance
of 9, whereas a sample of the common stock of the same companies has a mean return
of 1.85% and variance of 25. Suppose also that the covariance of returns between the two samples
is −5.
A. Calculate a 90% confidence interval for the difference in population mean between stocks and bonds.
For the purposes of the question, suppose that the different bonds all have the same distribution and that the different
stocks all have the same distribution. This is arguably not very realistic but serves our purposes here.
B. Given the results, which of the asset classes would you prefer to invest in?
Exercise 2 – Solution A
90% CI → 𝑌oq − 𝑌or ± 𝑡TU+V+TWX SE 𝑌oq − 𝑌or
• 𝑌oq − 𝑌or → 𝑆̅ − 𝐵o = 1.85 − 1.03 = 0.82
`
f‚ `
fƒ f„` `
f… y 'F F
• SE 𝑌oq − 𝑌or = + → SE 𝑆̅ − 𝐵o = + = 𝑉𝑎𝑟 𝑆̅ + 𝑉𝑎𝑟 𝐵o − 2𝐶𝑜𝑣 𝑆,̅ 𝐵o = + −2 − = 2.2
.‚ .ƒ .„ .… 'z 'z 'z