SlideShare a Scribd company logo
Sisir Sarma 18.318: Introduction to Econometrics
What is Heteroskedasticity
• Recall the assumption of homoskedasticity
implied that conditional on the explanatory
variables, the variance of the unobserved error, ε,
was constant
• If this is not true, that is if the variance of ε is
different for different values of the x’s, then the
errors are heteroskedastic
• Example: estimating returns to education and
ability is unobservable, and think the variance in
ability differs by educational attainment
Sisir Sarma 18.318: Introduction to Econometrics
.
xx1 x2
y
f(y|x)
Example of Heteroskedasticity
x3
.
. E(y|x) = β0 + β1x
Sisir Sarma 18.318: Introduction to Econometrics
Why Worry About
Heteroskedasticity?
• OLS is still unbiased and consistent, even if
we do not assume homoskedasticity
• The standard errors of the estimates are
biased if we have heteroskedasticity
• If the standard errors are biased, we can not
use the usual t statistics or F statistics for
drawing inferences
Sisir Sarma 18.318: Introduction to Econometrics
Robust Standard Errors
• Find consistent estimate of the variance
• The square root can be used as a standard
error for inference
• Typically call these robust standard errors
• Sometimes the estimated variance is
corrected for degrees of freedom by
multiplying by n/(n – k – 1)
• As n → ∞ it’s all the same, though
Sisir Sarma 18.318: Introduction to Econometrics
Robust Standard Errors (cont)
• Important to remember that these robust
standard errors only have asymptotic
justification – with small sample sizes t
statistics formed with robust standard errors
will not have a distribution close to the t,
and inferences will not be correct
• In Eviews, robust standard errors are easily
obtained using the white option
Sisir Sarma 18.318: Introduction to Econometrics
Testing for Heteroskedasticity
• Essentially want to test H0: Var(ε|x1, x2,…,
xk) = σ2
, which is equivalent to H0: E(ε2
|x1, x2,
…, xk) = E(ε2
) = σ2
• If assume the relationship between ε2
and xj
will be linear, can test as a linear restriction
• So, for ε2
= δ0 + δ1x1 +…+ δk xk + v) this
means testing H0: δ1 = δ2 = … = δk = 0
Sisir Sarma 18.318: Introduction to Econometrics
The Breusch-Pagan Test
• Don’t observe the error, but can estimate it with
the residuals from the OLS regression
• After regressing the residuals squared on all of
the x’s, can use the R2
to form an F or LM test
• The F statistic is just the reported F statistic for
overall significance of the regression, F = [R2
/k]/
[(1 – R2
)/(n – k – 1)], which is distributed Fk, n–k-1
• The LM statistic is LM = nR2
, which is distributed
χ2
k
Sisir Sarma 18.318: Introduction to Econometrics
The White Test
• The Breusch-Pagan test will detect any
linear forms of heteroskedasticity
• The White test allows for nonlinearities by
using squares and crossproducts of all the x’s
• Still just using an F or LM to test whether
all the xj, xj
2
, and xjxh are jointly significant
• This can get to be unwieldy pretty quickly
Sisir Sarma 18.318: Introduction to Econometrics
Alternate form of the White test
• Consider that the fitted values from OLS, ŷ,
are a function of all the x’s
• Thus, ŷ2
will be a function of the squares
and crossproducts and ŷ and ŷ2
can proxy
for all of the xj, xj
2
, and xjxh, so
• Regress the residuals squared on ŷ and ŷ2
and use the R2
to form an F or LM statistic
• Note only testing for 2 restrictions now
Sisir Sarma 18.318: Introduction to Econometrics
Weighted Least Squares
• While it’s always possible to estimate
robust standard errors for OLS estimates, if
we know something about the specific form
of the heteroskedasticity, we can obtain
more efficient estimates than OLS
• The basic idea is going to be to transform
the model into one that has homoskedastic
errors – called weighted least squares

More Related Content

What's hot

Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
Madurai Kamaraj University
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
Pabitra Mishra
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
Muhammad Ali
 
Dummy variables
Dummy variablesDummy variables
Dummy variables
Irfan Hussain
 
Heteroscedasticity | Eonomics
Heteroscedasticity | EonomicsHeteroscedasticity | Eonomics
Heteroscedasticity | Eonomics
Transweb Global Inc
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
Irfan Hussain
 
Dummy variable
Dummy variableDummy variable
Dummy variableAkram Ali
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
Yugesh Dutt Panday
 
Introduction to Econometrics
Introduction to EconometricsIntroduction to Econometrics
Introduction to Econometrics
Almaszabeen Badekhan
 
Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
PatilDevendra5
 
Econometrics lecture 1st
Econometrics lecture 1stEconometrics lecture 1st
Econometrics lecture 1stIshaq Ahmad
 
Ols
OlsOls
Autocorrelation
AutocorrelationAutocorrelation
AutocorrelationAkram Ali
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8kit11229
 
Autocorrelation- Concept, Causes and Consequences
Autocorrelation- Concept, Causes and ConsequencesAutocorrelation- Concept, Causes and Consequences
Autocorrelation- Concept, Causes and Consequences
Shilpa Chaudhary
 
Econometrics ch12
Econometrics ch12Econometrics ch12
Econometrics ch12
Baterdene Batchuluun
 
Econometrics
EconometricsEconometrics
Econometrics
GarimaGupta229
 
Overview of econometrics 1
Overview of econometrics 1Overview of econometrics 1
Overview of econometrics 1
Emeni Joshua
 

What's hot (20)

Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
 
Ols by hiron
Ols by hironOls by hiron
Ols by hiron
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Dummy variables
Dummy variablesDummy variables
Dummy variables
 
Heteroscedasticity | Eonomics
Heteroscedasticity | EonomicsHeteroscedasticity | Eonomics
Heteroscedasticity | Eonomics
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
 
Dummy variable
Dummy variableDummy variable
Dummy variable
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
 
Introduction to Econometrics
Introduction to EconometricsIntroduction to Econometrics
Introduction to Econometrics
 
Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
 
Econometrics lecture 1st
Econometrics lecture 1stEconometrics lecture 1st
Econometrics lecture 1st
 
Ols
OlsOls
Ols
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8
 
Autocorrelation- Concept, Causes and Consequences
Autocorrelation- Concept, Causes and ConsequencesAutocorrelation- Concept, Causes and Consequences
Autocorrelation- Concept, Causes and Consequences
 
Econometrics ch12
Econometrics ch12Econometrics ch12
Econometrics ch12
 
Econometrics
EconometricsEconometrics
Econometrics
 
Overview of econometrics 1
Overview of econometrics 1Overview of econometrics 1
Overview of econometrics 1
 

Viewers also liked

20150404 rm - autocorrelation
20150404   rm - autocorrelation20150404   rm - autocorrelation
20150404 rm - autocorrelation
Qatar University
 
Econ304 2 - Index Number
Econ304 2 - Index NumberEcon304 2 - Index Number
Econ304 2 - Index Number
Chiang Mai University
 
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
Jonathan Zimmermann
 
Indian agribusiness
Indian agribusinessIndian agribusiness
Indian agribusiness
Desh Deepak Sharma
 
Chapter8
Chapter8Chapter8
Chapter8
Vu Vo
 
gls
glsgls
Agribusiness status in india dell
Agribusiness status in india  dellAgribusiness status in india  dell
Agribusiness status in india delldonadelze
 
Agribusiness in india a overview
Agribusiness in india a overviewAgribusiness in india a overview
Agribusiness in india a overviewAbdul Ali
 
Econometrics project final edited
Econometrics project final editedEconometrics project final edited
Econometrics project final edited
Prashanth Pamidipati
 
Features of agribusiness
Features of agribusinessFeatures of agribusiness
Features of agribusiness
satyamachiraju
 
Econometrics Project
Econometrics ProjectEconometrics Project
Econometrics Project
Uday Tharar
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
Nivedita Sharma
 
Tut10 heteroskedasticity
Tut10 heteroskedasticityTut10 heteroskedasticity
Tut9 multicollinearity
Tut9 multicollinearityTut9 multicollinearity
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Muhammad Ali
 

Viewers also liked (18)

Heteroskedasticity
HeteroskedasticityHeteroskedasticity
Heteroskedasticity
 
20150404 rm - autocorrelation
20150404   rm - autocorrelation20150404   rm - autocorrelation
20150404 rm - autocorrelation
 
20120140503019
2012014050301920120140503019
20120140503019
 
Econ304 2 - Index Number
Econ304 2 - Index NumberEcon304 2 - Index Number
Econ304 2 - Index Number
 
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
Problem set 4 - Statistics and Econometrics - Msc Business Analytics - Imperi...
 
Indian agribusiness
Indian agribusinessIndian agribusiness
Indian agribusiness
 
Chapter8
Chapter8Chapter8
Chapter8
 
gls
glsgls
gls
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Agribusiness status in india dell
Agribusiness status in india  dellAgribusiness status in india  dell
Agribusiness status in india dell
 
Agribusiness in india a overview
Agribusiness in india a overviewAgribusiness in india a overview
Agribusiness in india a overview
 
Econometrics project final edited
Econometrics project final editedEconometrics project final edited
Econometrics project final edited
 
Features of agribusiness
Features of agribusinessFeatures of agribusiness
Features of agribusiness
 
Econometrics Project
Econometrics ProjectEconometrics Project
Econometrics Project
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
 
Tut10 heteroskedasticity
Tut10 heteroskedasticityTut10 heteroskedasticity
Tut10 heteroskedasticity
 
Tut9 multicollinearity
Tut9 multicollinearityTut9 multicollinearity
Tut9 multicollinearity
 
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
 

Similar to Heteroskedasticity

Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Maninda Edirisooriya
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
마이캠퍼스
 
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part I
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part INon-Gaussian Methods for Learning Linear Structural Equation Models: Part I
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part I
Shiga University, RIKEN
 
Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018
Jason Riedy
 
Sharear jaman dip(stastics)
Sharear jaman dip(stastics)Sharear jaman dip(stastics)
Sharear jaman dip(stastics)
sharear15
 
1602 parametric equations
1602 parametric equations1602 parametric equations
1602 parametric equations
Dr Fereidoun Dejahang
 
Lecture 4-5.pptx
Lecture 4-5.pptxLecture 4-5.pptx
Lecture 4-5.pptx
Mariia Kashcha
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
Rufesh
 
Elliptic Curve Cryptography
Elliptic Curve CryptographyElliptic Curve Cryptography
Elliptic Curve Cryptography
Adri Jovin
 
Regression_1.pdf
Regression_1.pdfRegression_1.pdf
Regression_1.pdf
Amir Saleh
 
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
The Statistical and Applied Mathematical Sciences Institute
 
Lec 1.0.pptx
Lec 1.0.pptxLec 1.0.pptx
Lec 1.0.pptx
AsifullahKhan14
 
Machine learning mathematicals.pdf
Machine learning mathematicals.pdfMachine learning mathematicals.pdf
Machine learning mathematicals.pdf
King Khalid University
 
Regression
Regression  Regression
Intro to Quant Trading Strategies (Lecture 7 of 10)
Intro to Quant Trading Strategies (Lecture 7 of 10)Intro to Quant Trading Strategies (Lecture 7 of 10)
Intro to Quant Trading Strategies (Lecture 7 of 10)
Adrian Aley
 
Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
Anusuya123
 
1​A linear regression· ​gives a relationship between thre.docx
1​A linear regression· ​gives a relationship between thre.docx1​A linear regression· ​gives a relationship between thre.docx
1​A linear regression· ​gives a relationship between thre.docx
felicidaddinwoodie
 
Tutorial Equivariance in Imaging ICMS 23.pptx
Tutorial Equivariance in Imaging ICMS 23.pptxTutorial Equivariance in Imaging ICMS 23.pptx
Tutorial Equivariance in Imaging ICMS 23.pptx
Julián Tachella
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
ShivankAggatwal
 
Accuracy
AccuracyAccuracy
Accuracyesraz
 

Similar to Heteroskedasticity (20)

Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
 
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)슬로우캠퍼스:  scikit-learn & 머신러닝 (강박사)
슬로우캠퍼스: scikit-learn & 머신러닝 (강박사)
 
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part I
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part INon-Gaussian Methods for Learning Linear Structural Equation Models: Part I
Non-Gaussian Methods for Learning Linear Structural Equation Models: Part I
 
Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018Augmented Arithmetic Operations Proposed for IEEE-754 2018
Augmented Arithmetic Operations Proposed for IEEE-754 2018
 
Sharear jaman dip(stastics)
Sharear jaman dip(stastics)Sharear jaman dip(stastics)
Sharear jaman dip(stastics)
 
1602 parametric equations
1602 parametric equations1602 parametric equations
1602 parametric equations
 
Lecture 4-5.pptx
Lecture 4-5.pptxLecture 4-5.pptx
Lecture 4-5.pptx
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 
Elliptic Curve Cryptography
Elliptic Curve CryptographyElliptic Curve Cryptography
Elliptic Curve Cryptography
 
Regression_1.pdf
Regression_1.pdfRegression_1.pdf
Regression_1.pdf
 
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
MUMS: Transition & SPUQ Workshop - Some Strategies to Quantify Uncertainty fo...
 
Lec 1.0.pptx
Lec 1.0.pptxLec 1.0.pptx
Lec 1.0.pptx
 
Machine learning mathematicals.pdf
Machine learning mathematicals.pdfMachine learning mathematicals.pdf
Machine learning mathematicals.pdf
 
Regression
Regression  Regression
Regression
 
Intro to Quant Trading Strategies (Lecture 7 of 10)
Intro to Quant Trading Strategies (Lecture 7 of 10)Intro to Quant Trading Strategies (Lecture 7 of 10)
Intro to Quant Trading Strategies (Lecture 7 of 10)
 
Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
 
1​A linear regression· ​gives a relationship between thre.docx
1​A linear regression· ​gives a relationship between thre.docx1​A linear regression· ​gives a relationship between thre.docx
1​A linear regression· ​gives a relationship between thre.docx
 
Tutorial Equivariance in Imaging ICMS 23.pptx
Tutorial Equivariance in Imaging ICMS 23.pptxTutorial Equivariance in Imaging ICMS 23.pptx
Tutorial Equivariance in Imaging ICMS 23.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
Accuracy
AccuracyAccuracy
Accuracy
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 

Recently uploaded (20)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 

Heteroskedasticity

  • 1. Sisir Sarma 18.318: Introduction to Econometrics What is Heteroskedasticity • Recall the assumption of homoskedasticity implied that conditional on the explanatory variables, the variance of the unobserved error, ε, was constant • If this is not true, that is if the variance of ε is different for different values of the x’s, then the errors are heteroskedastic • Example: estimating returns to education and ability is unobservable, and think the variance in ability differs by educational attainment
  • 2. Sisir Sarma 18.318: Introduction to Econometrics . xx1 x2 y f(y|x) Example of Heteroskedasticity x3 . . E(y|x) = β0 + β1x
  • 3. Sisir Sarma 18.318: Introduction to Econometrics Why Worry About Heteroskedasticity? • OLS is still unbiased and consistent, even if we do not assume homoskedasticity • The standard errors of the estimates are biased if we have heteroskedasticity • If the standard errors are biased, we can not use the usual t statistics or F statistics for drawing inferences
  • 4. Sisir Sarma 18.318: Introduction to Econometrics Robust Standard Errors • Find consistent estimate of the variance • The square root can be used as a standard error for inference • Typically call these robust standard errors • Sometimes the estimated variance is corrected for degrees of freedom by multiplying by n/(n – k – 1) • As n → ∞ it’s all the same, though
  • 5. Sisir Sarma 18.318: Introduction to Econometrics Robust Standard Errors (cont) • Important to remember that these robust standard errors only have asymptotic justification – with small sample sizes t statistics formed with robust standard errors will not have a distribution close to the t, and inferences will not be correct • In Eviews, robust standard errors are easily obtained using the white option
  • 6. Sisir Sarma 18.318: Introduction to Econometrics Testing for Heteroskedasticity • Essentially want to test H0: Var(ε|x1, x2,…, xk) = σ2 , which is equivalent to H0: E(ε2 |x1, x2, …, xk) = E(ε2 ) = σ2 • If assume the relationship between ε2 and xj will be linear, can test as a linear restriction • So, for ε2 = δ0 + δ1x1 +…+ δk xk + v) this means testing H0: δ1 = δ2 = … = δk = 0
  • 7. Sisir Sarma 18.318: Introduction to Econometrics The Breusch-Pagan Test • Don’t observe the error, but can estimate it with the residuals from the OLS regression • After regressing the residuals squared on all of the x’s, can use the R2 to form an F or LM test • The F statistic is just the reported F statistic for overall significance of the regression, F = [R2 /k]/ [(1 – R2 )/(n – k – 1)], which is distributed Fk, n–k-1 • The LM statistic is LM = nR2 , which is distributed χ2 k
  • 8. Sisir Sarma 18.318: Introduction to Econometrics The White Test • The Breusch-Pagan test will detect any linear forms of heteroskedasticity • The White test allows for nonlinearities by using squares and crossproducts of all the x’s • Still just using an F or LM to test whether all the xj, xj 2 , and xjxh are jointly significant • This can get to be unwieldy pretty quickly
  • 9. Sisir Sarma 18.318: Introduction to Econometrics Alternate form of the White test • Consider that the fitted values from OLS, ŷ, are a function of all the x’s • Thus, ŷ2 will be a function of the squares and crossproducts and ŷ and ŷ2 can proxy for all of the xj, xj 2 , and xjxh, so • Regress the residuals squared on ŷ and ŷ2 and use the R2 to form an F or LM statistic • Note only testing for 2 restrictions now
  • 10. Sisir Sarma 18.318: Introduction to Econometrics Weighted Least Squares • While it’s always possible to estimate robust standard errors for OLS estimates, if we know something about the specific form of the heteroskedasticity, we can obtain more efficient estimates than OLS • The basic idea is going to be to transform the model into one that has homoskedastic errors – called weighted least squares