SlideShare a Scribd company logo
1 of 24
Download to read offline
Taxi for Professor Evans
An introduction to inferential statistics
Anthony J. Evans
Professor of Economics, ESCP Europe
www.anthonyjevans.com
(cc) Anthony J. Evans 2019 | http://creativecommons.org/licenses/by-nc-sa/3.0/
Introduction
Professor Evans wants to learn more about the prices of taxi
journeys from his home in Hertfordshire to Heathrow airport.
He contacts the local taxi company, who give him the receipts
from 100 similar journeys (given in €). His aim is to use this
sample to make an inference about the market as a whole.
There are three main questions he wishes to understand:
1. What is his best estimate of the population average (µ)?
2. Within what range would he be reasonably confident of the
population average (µ) being?
3. Is the population average (µ) likely to be above €30.85?
2Download data set from: http://econ.anthonyjevans.com/cases
𝑛 = 100
𝑥̅ = 32.36
𝑠 = 7.13
1. What is his best estimate of the population average (µ)?
• The sample mean (x’) serves as a suitable best estimate of
the population average (µ), provided the population
distribution is:
– Symmetric
– No extreme outliers
• The mean is a measure of location
• We also need to understand a measure of dispersion
3
𝑥̅ = 32.36
𝑥̅ =
Σ𝑥.
𝑛
Statistical estimation - standard deviation
4S is a sample standard deviation, which is an estimate of σ.
Dividing by n-1 is Bessel's correction to compensate for the fact that it’s a biased estimate
Total 5028.26
Total/(n-1) 50.79
SQRT 7.13
i Xi Xi - X' (Xi - X')2
1 28.80 -3.56 12.66
2 24.00 -8.36 69.86
3 22.00 -10.36 107.29
4 42.00 9.64 92.97
5 34.00 1.64 2.70
6 47.60 15.24 232.32
7 50.40 18.04 325.51
8 39.20 6.84 46.81
9 40.60 8.24 67.93
10 51.80 19.44 377.99
… … … …
90 27.20 -5.16 26.60
91 28.80 -3.56 12.66
92 22.40 -9.96 99.16
93 23.20 -9.16 83.87
94 29.60 -2.76 7.61
95 24.00 -8.36 69.86
96 25.60 -6.76 45.67
97 25.60 -6.76 45.67
98 28.00 -4.36 18.99
99 28.80 -3.56 12.66
100 28.00 -4.36 18.99
𝑠 =
Σ 𝑥. − 𝑥̅ 0
𝑛 − 1
68% of values are within 1σ of µ
99.7% of values are within 3σ of µ
95% of values are within 2σ of µ
The normal distribution and the 68-95-99.7 rule
5Note: we can use this to say that 95% of the sample distribution will be 2 standard deviation (s) either side
of the sample mean (x’)
Standard error
• How precise are our estimates? The standard error
(SE) of a value is the estimated standard deviation of
the process by which it was generated, adjusted for
the sample size
• If a distribution is normal, 95% of observations are
within 2 standard deviations of the mean (95% are
x’±2σ)
• For a sample, 95% of the sample means are within 2
standard errors of the population mean (µ)
• Ideally you want a low standard error, i.e.
– A low sample standard deviation (s)
– A large sample size (n)
6For example, if n=200 then SE would fall to 7.13/(SQRT200) = 0.50
𝑆𝐸 =
𝑠
𝑛
2. Within what range would he be reasonably confident of the
population average (µ) being?
• 68% confidence interval
– 1 SE from the mean =
• 95% confidence interval
– 2 SE from the mean =
• 99.7% confidence interval
– 3 SE from the mean =
7A 95% confidence interval means “if you sampled many different populations and for each sample
constructed a 95% confidence interval, then 95% of the time the true population mean would lie within the
corresponding interval”
𝑥̅ = 32.36
1×
7.13
100
2×
7.13
100
3×
7.13
100
= ±0.71
= ±1.43
= ±2.14
= [31.65,33.07]
= [30.93,33.79]
= [30.22,34.50]
Aside: Why are 95% of values within 2SE of the mean?
8
Aside: Why are 95% of values within 2SE of the mean?
9
2
0.02275
0.02275
- 2
0.954
Summary
10
33.0730.93 31.65 33.7930.22 34.5032.36
−3𝑆𝐸 −2𝑆𝐸 −1𝑆𝐸 1𝑆𝐸 2𝑆𝐸 3𝑆𝐸𝑥̅
Confidence Intervals
• There is a probability, C that the interval given below
contains µ
• z* is the value on the standard normal curve with area C
between –z* and z*
11For simplicity we are assuming that σ is known
𝑥̅ ± 𝑧×
𝜎
𝑛
Statistical significance
• Let’s say we are especially interested to know whether the
true average is likely to be above €30.85
– For example, this is amount that can be claimed on
expenses
• The sample mean suggests this is the case, since €32.36 >
€30.85, but how likely is it that the population mean (µ) is
as well?
• The sample outcome is statistically significant if it falls
outside of our confidence interval
• A sample result is statistically significant at the 2.5% level
if the critical value falls outside a 95% confidence interval
12
3. Is the population average (µ) likely to be above €30.85?
13
95%
We are only 2.5%
confident that the
true population mean
would be within this
region
30.93 33.7932.36
Significance testing
• Let’s assume that the population mean is indeed €30.85
• What is the probability of finding a sample mean of €32.36?
• Step A: Calculate how many standard errors the sample
mean is from our hypothesis about the population mean
• Step B: Determine how likely this would be
14This is reversing the process we used when constructing a confidence interval. Then, we established a 95%
level of confidence (z=2) and calculated the corresponding vales. Now, we want to find the level of
confidence associated with a specific value
Step A: Calculate the z score
15For simplicity take the absolute value of Z
𝑧 =
𝑥̅ − 𝜇
𝑆𝐸
=
32.36 − 30.85
7.13
100
@
= 2.12
16
Step B: Determine how likely this would be
There is only a 1.7% chance of observing a sample mean this high
17
2.12
0.017
30.85 32.36
This is statistically significant at the 95% level
18
2.12
1.645
0.05
There is enough
evidence to reject the
assumption that this is
just a freak sample
This is not statistically significant at the 99% level
19
2.33
0.01
2.12
There is not enough
evidence to reject the
assumption that this is
just a freak sample
Solutions
1. What is his best estimate of the population average (µ)?
– €32.36
2. Within what range would he be reasonably confident of the
population average (µ) being?
– Between €30.93 and €33.79
3. Is the population average (µ) likely to be above €30.85?
– Yes, our sample provides a statistically significant
estimate that the true average is above €30.85 (at
the 95% level)
20
Discussion questions
• What if it isn’t normally distributed?
• What if the sample isn’t representative of the typical consumer?
– Maybe the receipts relate to different journeys
• What are the costs of a variable pricing model?
– Why don’t they charge a flat rate?
• Wouldn’t the price from the airport be more than the price to the
airport?
– Are these two different distributions?
• What if the underlying distribution changes?
– A new tax on petrol
– A train/tube strike that meant taxis were the only way to get
to the airport
• Even if it is statistically significant, does it have oomph?
21
The relationship between confidence level (C), p value (P) and Z for 1
and 2 tailed tests
At the 95% level, there is a 2.5% chance that we would see this result (or something even more extreme), if the
sample mean really is the population mean. Therefore a small p value tells us one of two things:
• Our observation is so extreme we can reject the hypothesis that the sample belongs to the overall population
• The hypothetical event is very unlikely to come given from the sample we have
Level of
confidence
C P2 Z2 Z1
A little 68% 0.16 1 -
Fairly 90% 0.05 1.645 1.282
Very 95% 0.025 1.96 1.645
Very 95.4% 0.023 2 -
Highly 99% 0.005 2.576 2.33
Extremely 99.7% 0.0015 3 -
22
The normal distribution
23
Other distributions
• Binomial
– Used when there are two possible outcomes and are
independent events
• Poisson
– Used to find the probability of a given event occurring
in a fixed interval of time
• T-distribution
– Used for small (n<30) sample sizes
24

More Related Content

What's hot

Continuous probability Business Statistics, Management
Continuous probability Business Statistics, ManagementContinuous probability Business Statistics, Management
Continuous probability Business Statistics, ManagementDebjit Das
 
Stat lesson 5.1 probability distributions
Stat lesson 5.1 probability distributionsStat lesson 5.1 probability distributions
Stat lesson 5.1 probability distributionspipamutuc
 
Psych stats Probability and Probability Distribution
Psych stats Probability and Probability DistributionPsych stats Probability and Probability Distribution
Psych stats Probability and Probability DistributionMartin Vince Cruz, RPm
 
Normal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of BusinessNormal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of BusinessArnab Roy Chowdhury
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsBabasab Patil
 
Probability Distribution
Probability DistributionProbability Distribution
Probability DistributionSarabjeet Kaur
 
Chapter2 slides-part 2-harish complete
Chapter2 slides-part 2-harish completeChapter2 slides-part 2-harish complete
Chapter2 slides-part 2-harish completeEasyStudy3
 
Chapter 06
Chapter 06Chapter 06
Chapter 06bmcfad01
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRohit kumar
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributionsRajaKrishnan M
 
Probability Distributions for Continuous Variables
Probability Distributions for Continuous VariablesProbability Distributions for Continuous Variables
Probability Distributions for Continuous Variablesgetyourcheaton
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionQ Dauh Q Alam
 
Probability distribution
Probability distributionProbability distribution
Probability distributionPunit Raut
 
Basic Probability Distribution
Basic Probability Distribution Basic Probability Distribution
Basic Probability Distribution Sreeraj S R
 
7. binomial distribution
7. binomial distribution7. binomial distribution
7. binomial distributionKaran Kukreja
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theoryKaimrc_Rss_Jd
 

What's hot (20)

Continuous probability Business Statistics, Management
Continuous probability Business Statistics, ManagementContinuous probability Business Statistics, Management
Continuous probability Business Statistics, Management
 
Stat lesson 5.1 probability distributions
Stat lesson 5.1 probability distributionsStat lesson 5.1 probability distributions
Stat lesson 5.1 probability distributions
 
Psych stats Probability and Probability Distribution
Psych stats Probability and Probability DistributionPsych stats Probability and Probability Distribution
Psych stats Probability and Probability Distribution
 
Discrete Probability Distributions.
Discrete Probability Distributions.Discrete Probability Distributions.
Discrete Probability Distributions.
 
Normal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of BusinessNormal distribution - Unitedworld School of Business
Normal distribution - Unitedworld School of Business
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Chapter2 slides-part 2-harish complete
Chapter2 slides-part 2-harish completeChapter2 slides-part 2-harish complete
Chapter2 slides-part 2-harish complete
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Chapter 05
Chapter 05 Chapter 05
Chapter 05
 
Different types of distributions
Different types of distributionsDifferent types of distributions
Different types of distributions
 
Probability Distributions for Continuous Variables
Probability Distributions for Continuous VariablesProbability Distributions for Continuous Variables
Probability Distributions for Continuous Variables
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson Distribution
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Basic Probability Distribution
Basic Probability Distribution Basic Probability Distribution
Basic Probability Distribution
 
7. binomial distribution
7. binomial distribution7. binomial distribution
7. binomial distribution
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theory
 
Les5e ppt 04
Les5e ppt 04Les5e ppt 04
Les5e ppt 04
 

Similar to Taxi for Professor Evans

Biostatics part 7.pdf
Biostatics part 7.pdfBiostatics part 7.pdf
Biostatics part 7.pdfNatiphBasha
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
 
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdf
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdf
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdfEmersonRosal1
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.pptAndrei33323
 
Role of estimation in statistics
Role of estimation in statisticsRole of estimation in statistics
Role of estimation in statisticsNadeem Uddin
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciSelvin Hadi
 
L10 confidence intervals
L10 confidence intervalsL10 confidence intervals
L10 confidence intervalsLayal Fahad
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan EkonometrikaXYZ Williams
 
Statistics for Journalists
Statistics for JournalistsStatistics for Journalists
Statistics for Journalistswritethinking
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceLong Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Long Beach City College
 

Similar to Taxi for Professor Evans (20)

Practice Test 3B Solution
Practice Test 3B SolutionPractice Test 3B Solution
Practice Test 3B Solution
 
Biostatics part 7.pdf
Biostatics part 7.pdfBiostatics part 7.pdf
Biostatics part 7.pdf
 
QT1 - 07 - Estimation
QT1 - 07 - EstimationQT1 - 07 - Estimation
QT1 - 07 - Estimation
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdf
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdflecture13MWF.pdf
lecture13MWF.pdflecture13MWF.pdflecture13MWF.pdf
 
101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt101_sampling__population_Sept_2020.ppt
101_sampling__population_Sept_2020.ppt
 
Role of estimation in statistics
Role of estimation in statisticsRole of estimation in statistics
Role of estimation in statistics
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ci
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
Presentation_advance_1n.pptx
Presentation_advance_1n.pptxPresentation_advance_1n.pptx
Presentation_advance_1n.pptx
 
Estimation
EstimationEstimation
Estimation
 
L10 confidence intervals
L10 confidence intervalsL10 confidence intervals
L10 confidence intervals
 
227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf
 
Pengenalan Ekonometrika
Pengenalan EkonometrikaPengenalan Ekonometrika
Pengenalan Ekonometrika
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
Statistics for Journalists
Statistics for JournalistsStatistics for Journalists
Statistics for Journalists
 
Inorganic CHEMISTRY
Inorganic CHEMISTRYInorganic CHEMISTRY
Inorganic CHEMISTRY
 
A+.pptx
A+.pptxA+.pptx
A+.pptx
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 

More from Anthony J. Evans (13)

Time Series
Time SeriesTime Series
Time Series
 
Correlation
Correlation Correlation
Correlation
 
Nonparametric Statistics
Nonparametric StatisticsNonparametric Statistics
Nonparametric Statistics
 
Student's T Test
Student's T TestStudent's T Test
Student's T Test
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Probability Theory
Probability Theory Probability Theory
Probability Theory
 
Descriptive Statistics
Descriptive StatisticsDescriptive Statistics
Descriptive Statistics
 
Statistical Literacy
Statistical Literacy Statistical Literacy
Statistical Literacy
 
Quantitative Methods
Quantitative Methods Quantitative Methods
Quantitative Methods
 
Collecting and Presenting Data
Collecting and Presenting DataCollecting and Presenting Data
Collecting and Presenting Data
 
Numeracy Skills 1
Numeracy Skills 1Numeracy Skills 1
Numeracy Skills 1
 
The Dynamic AD AS Model
The Dynamic AD AS ModelThe Dynamic AD AS Model
The Dynamic AD AS Model
 
Numeracy Skills 2
Numeracy Skills 2Numeracy Skills 2
Numeracy Skills 2
 

Recently uploaded

Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Onlineanilsa9823
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 

Taxi for Professor Evans

  • 1. Taxi for Professor Evans An introduction to inferential statistics Anthony J. Evans Professor of Economics, ESCP Europe www.anthonyjevans.com (cc) Anthony J. Evans 2019 | http://creativecommons.org/licenses/by-nc-sa/3.0/
  • 2. Introduction Professor Evans wants to learn more about the prices of taxi journeys from his home in Hertfordshire to Heathrow airport. He contacts the local taxi company, who give him the receipts from 100 similar journeys (given in €). His aim is to use this sample to make an inference about the market as a whole. There are three main questions he wishes to understand: 1. What is his best estimate of the population average (µ)? 2. Within what range would he be reasonably confident of the population average (µ) being? 3. Is the population average (µ) likely to be above €30.85? 2Download data set from: http://econ.anthonyjevans.com/cases 𝑛 = 100 𝑥̅ = 32.36 𝑠 = 7.13
  • 3. 1. What is his best estimate of the population average (µ)? • The sample mean (x’) serves as a suitable best estimate of the population average (µ), provided the population distribution is: – Symmetric – No extreme outliers • The mean is a measure of location • We also need to understand a measure of dispersion 3 𝑥̅ = 32.36 𝑥̅ = Σ𝑥. 𝑛
  • 4. Statistical estimation - standard deviation 4S is a sample standard deviation, which is an estimate of σ. Dividing by n-1 is Bessel's correction to compensate for the fact that it’s a biased estimate Total 5028.26 Total/(n-1) 50.79 SQRT 7.13 i Xi Xi - X' (Xi - X')2 1 28.80 -3.56 12.66 2 24.00 -8.36 69.86 3 22.00 -10.36 107.29 4 42.00 9.64 92.97 5 34.00 1.64 2.70 6 47.60 15.24 232.32 7 50.40 18.04 325.51 8 39.20 6.84 46.81 9 40.60 8.24 67.93 10 51.80 19.44 377.99 … … … … 90 27.20 -5.16 26.60 91 28.80 -3.56 12.66 92 22.40 -9.96 99.16 93 23.20 -9.16 83.87 94 29.60 -2.76 7.61 95 24.00 -8.36 69.86 96 25.60 -6.76 45.67 97 25.60 -6.76 45.67 98 28.00 -4.36 18.99 99 28.80 -3.56 12.66 100 28.00 -4.36 18.99 𝑠 = Σ 𝑥. − 𝑥̅ 0 𝑛 − 1
  • 5. 68% of values are within 1σ of µ 99.7% of values are within 3σ of µ 95% of values are within 2σ of µ The normal distribution and the 68-95-99.7 rule 5Note: we can use this to say that 95% of the sample distribution will be 2 standard deviation (s) either side of the sample mean (x’)
  • 6. Standard error • How precise are our estimates? The standard error (SE) of a value is the estimated standard deviation of the process by which it was generated, adjusted for the sample size • If a distribution is normal, 95% of observations are within 2 standard deviations of the mean (95% are x’±2σ) • For a sample, 95% of the sample means are within 2 standard errors of the population mean (µ) • Ideally you want a low standard error, i.e. – A low sample standard deviation (s) – A large sample size (n) 6For example, if n=200 then SE would fall to 7.13/(SQRT200) = 0.50 𝑆𝐸 = 𝑠 𝑛
  • 7. 2. Within what range would he be reasonably confident of the population average (µ) being? • 68% confidence interval – 1 SE from the mean = • 95% confidence interval – 2 SE from the mean = • 99.7% confidence interval – 3 SE from the mean = 7A 95% confidence interval means “if you sampled many different populations and for each sample constructed a 95% confidence interval, then 95% of the time the true population mean would lie within the corresponding interval” 𝑥̅ = 32.36 1× 7.13 100 2× 7.13 100 3× 7.13 100 = ±0.71 = ±1.43 = ±2.14 = [31.65,33.07] = [30.93,33.79] = [30.22,34.50]
  • 8. Aside: Why are 95% of values within 2SE of the mean? 8
  • 9. Aside: Why are 95% of values within 2SE of the mean? 9 2 0.02275 0.02275 - 2 0.954
  • 10. Summary 10 33.0730.93 31.65 33.7930.22 34.5032.36 −3𝑆𝐸 −2𝑆𝐸 −1𝑆𝐸 1𝑆𝐸 2𝑆𝐸 3𝑆𝐸𝑥̅
  • 11. Confidence Intervals • There is a probability, C that the interval given below contains µ • z* is the value on the standard normal curve with area C between –z* and z* 11For simplicity we are assuming that σ is known 𝑥̅ ± 𝑧× 𝜎 𝑛
  • 12. Statistical significance • Let’s say we are especially interested to know whether the true average is likely to be above €30.85 – For example, this is amount that can be claimed on expenses • The sample mean suggests this is the case, since €32.36 > €30.85, but how likely is it that the population mean (µ) is as well? • The sample outcome is statistically significant if it falls outside of our confidence interval • A sample result is statistically significant at the 2.5% level if the critical value falls outside a 95% confidence interval 12
  • 13. 3. Is the population average (µ) likely to be above €30.85? 13 95% We are only 2.5% confident that the true population mean would be within this region 30.93 33.7932.36
  • 14. Significance testing • Let’s assume that the population mean is indeed €30.85 • What is the probability of finding a sample mean of €32.36? • Step A: Calculate how many standard errors the sample mean is from our hypothesis about the population mean • Step B: Determine how likely this would be 14This is reversing the process we used when constructing a confidence interval. Then, we established a 95% level of confidence (z=2) and calculated the corresponding vales. Now, we want to find the level of confidence associated with a specific value
  • 15. Step A: Calculate the z score 15For simplicity take the absolute value of Z 𝑧 = 𝑥̅ − 𝜇 𝑆𝐸 = 32.36 − 30.85 7.13 100 @ = 2.12
  • 16. 16 Step B: Determine how likely this would be
  • 17. There is only a 1.7% chance of observing a sample mean this high 17 2.12 0.017 30.85 32.36
  • 18. This is statistically significant at the 95% level 18 2.12 1.645 0.05 There is enough evidence to reject the assumption that this is just a freak sample
  • 19. This is not statistically significant at the 99% level 19 2.33 0.01 2.12 There is not enough evidence to reject the assumption that this is just a freak sample
  • 20. Solutions 1. What is his best estimate of the population average (µ)? – €32.36 2. Within what range would he be reasonably confident of the population average (µ) being? – Between €30.93 and €33.79 3. Is the population average (µ) likely to be above €30.85? – Yes, our sample provides a statistically significant estimate that the true average is above €30.85 (at the 95% level) 20
  • 21. Discussion questions • What if it isn’t normally distributed? • What if the sample isn’t representative of the typical consumer? – Maybe the receipts relate to different journeys • What are the costs of a variable pricing model? – Why don’t they charge a flat rate? • Wouldn’t the price from the airport be more than the price to the airport? – Are these two different distributions? • What if the underlying distribution changes? – A new tax on petrol – A train/tube strike that meant taxis were the only way to get to the airport • Even if it is statistically significant, does it have oomph? 21
  • 22. The relationship between confidence level (C), p value (P) and Z for 1 and 2 tailed tests At the 95% level, there is a 2.5% chance that we would see this result (or something even more extreme), if the sample mean really is the population mean. Therefore a small p value tells us one of two things: • Our observation is so extreme we can reject the hypothesis that the sample belongs to the overall population • The hypothetical event is very unlikely to come given from the sample we have Level of confidence C P2 Z2 Z1 A little 68% 0.16 1 - Fairly 90% 0.05 1.645 1.282 Very 95% 0.025 1.96 1.645 Very 95.4% 0.023 2 - Highly 99% 0.005 2.576 2.33 Extremely 99.7% 0.0015 3 - 22
  • 24. Other distributions • Binomial – Used when there are two possible outcomes and are independent events • Poisson – Used to find the probability of a given event occurring in a fixed interval of time • T-distribution – Used for small (n<30) sample sizes 24