SlideShare a Scribd company logo
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
1
Autocorrelation
Definition
The classical assumptions in the linear regression are that the errors terms i have zero mean and
constant variance and are uncorrelated [E( i) = 0, Var( i) = δ2
, and E( i 	j ) = 0 ]. For the
construction of Confidence Interval, and Testing of hypothesis about the regression coefficients
we add the assumption of normality. so that i are NID(0, δ2
). Some applications of regression
involve regressor and response variables that have a natural sequential order over time. Such data
are called time series data. Regression models using time series data occur relatively often in
economics, business, and some fields of engineering. The assumption of uncorrelated or
independent errors for time series data is often not appropriate. Usually the errors in time series
data exhibit serial correlation, that is, E( i 	j ) ≠ 0. Such error terms are said to be
autocorrelated. Autocorrelation sometimes called "lagged correlation or "serial correlation".
Causes of Autocorrelation
Specification Bias:
a) Excluded Variables Case
There are several causes of autocorrelation. Perhaps the primary cause of
autocorrelation in regression problems involving time series data is failure to include one
or more important regressors in the model. For example suppose that we wish to regress
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
2
annual sales of a soft drink company against the annual advertising expenditure for that
product. Now the growth in population over the period of time used in the study will also
influence the product sales. If population size is not included in the model, this may cause
the errors in the model to be positively autocorrelated, because population size is
positively correlated with product sales.
Consider the true model:
Sale (Yt) = β0 + β1X1t + β2X2t + εt ---------------------- ( I )
Where Y is the sale, X1 is the advertising expenditure, X2 is the population size.
However for some reason we run the following regression:
Sale (Yt) = β0 + β1X1t + υt ---------------------- ( II )
As model ( I ) is a true model and we run model ( II ), and hence the error or disturbance
term υ will be autocorrelated.
b) Incorrect Functional Form:
Consider the following cost and output model:
Yt = β1 + β2 X1 + β3 X2
2
+ υt ------------------- ( III )
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
3
Instead of using the above form which is considered to be correct, if we fit the
following model:
Yt = β1 + β2 X1 + β3 X2 + υt ----------------( IV)
In this case, υ will reflect autocorrelation because of the use of an incorrect
functional form.
Theoretical consequences of autocorrelation
The presence of autocorrelation in the errors has several effects on the ordinary least-squares
regression procedures. These are summarized as follows:
1. Ordinary least-squares regression coefficients are still unbiased.
2. OLS regression coefficients are no longer efficient i..e. they are no longer minimum
variance estimates. We say that these estimates are inefficient.
3. The residual mean square MSres may seriously underestimate δ2
. Consequently, the
standard errors of the regression coefficients may be too small. Thus, confidence intervals
are shorter than they really should be, and tests of hypothesis on individual regression
coefficients may indicate that one or more regression contribute significantly to the
model when they really do not. Generally, underestimating δ2
gives the researcher a false
impression of accuracy.
4. The confidence intervals and tests of hypothesis based on the t and F distributions are no
longer appropriate.
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
4
OLS estimates in presence of autocorrelation
There are three main consequences of autocorrelation on the ordinary least squares estimates.
1. Ordinary least squares regression coefficients are still unbiased even if the disturbance
term is autocorrelated. i.e.
We know that
( )
( ) ( )
( )
εβ
εβ
εβ
εβεβ
β
XXX
XXXI
XXXXXXX
XYXXXX
YXXX
′′+=
′′+=
′′+′′=
+=∴+′′=
′′=
−
−
−−
−
−
1
1
11
1
1
)(
)(
)()(
ˆ
Taking expectation on both sides of the above equation #1, assuming that E(ε) = 0 i.e.
β
β
εββ
=
+=
′+= −
0
)()()ˆ( 1
XEXXE
Hence in the presence of autocorrelation the OLS estimates are still unbiased.
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
5
2. The residual mean square underestimate δ2
result in small standard errors of the
regression coefficients.
We know that variance of the OLS estimate is:
)(ˆ
Putˆ
(B)equationinvaluesthese
1and0
)(
/
)(
)(
;
ereWh;
0)(X
)(
)(
)(
)()(
)(
))((ˆ
)(]ˆ[)ˆ(
11
2
2
10
10
2
2
i2
22
2
cw
w
Putting
Xw
x
XX
xxwSince
BwXww
Xw
x
x
wYw
XXx
x
xY
X
XX
XXY
XX
XXYXXY
XX
YYXX
Since
AEVar
ii
ii
ii
i
i
iii
iiiii
iii
i
i
iii
ii
i
ii
i
ii
i
iii
i
ii
−−−−−−−−∑=−
=∑+=
=∑=
∑
−∑
=∑∑=∑
−−−−−−−∑+∑+∑=
++∑=
∑
=∴∑=
−=
∑
∑
=
=−∑∴
−∑
−∑
=
−∑
−∑−−∑
=
−∑
−−∑
=
−−−−−−=
εββ
ββεββ
εββ
εββ
β
βββ
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
6
Putting the values of equation ( c) in equation (A).
[ ] [ ]
[ ]
[ ]
∑ ∑= <
−−
−−
+=
+++++++=
+++++++=
+++=∑=
n
i
n
ji
jijiii
nnnnnn
nnnnnn
iniiii
wwEwE
wwwwwwwwwE
wwwwwwwwwE
wwwEwEVar
1
22
1131312121
222
2
2
2
2
1
2
1
1131312121
222
2
2
2
2
1
2
1
2
22
2
][2][
...[2]...
2...22...
...)ˆ(
εεε
εεεεεεεεε
εεεεεεεεε
εεεεβ
∑ ∑= <
−−−−−−+=
n
i
n
ji
jijiii DEwwEw
1
22
)()(2)( εεε
If there is no correlation between error terms i.e. E( 0) =jiεε then equation (D)
becomes:
( )
)(
)(
/
)(
0)()ˆ(
2
2
22
22
2
2
2
2
222
22
1
22
E
XX
x
x
x
x
x
w
wEwVar
i
i
i
i
i
i
i
i
n
i
ii
−−−−−
−∑
=∑=
∑
∑
=
∑
∑=∑=
∑=+= ∑=
δ
δδ
δδ
δεβ
Now we have to find ( )βˆVar when the errors are autocorrected. i.e. errors are AR(1).
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
7
Under AR (1)
= + 			 	 	 (0,
( = ( + ( = 0
( = ( + (
= +
− =
=
1 −
As ( = ( = ( = ( =
Now ( = ( + ( = ( + ( =
!
"!
#$%&'(1 = )
∑ +
∑ +
, = )
∑ + + 2∑+ +
(∑ +
, =
∑ +
+
2∑+ +
(∑ + 1 −
=
1
∑ + 1 −
+
2∑+ +
(∑ + 1 −
=
1 −
1
∑ +
)1 +
2∑+ +
∑ +
, − − − − − (.
It is clear from equation (E) and (F) that 1)ˆ()ˆ( 22 ARVarVar ββ < . Therefore, if we use )ˆ( 2βVar ,
we shall inflate the precision or accuracy of the estimator 2
ˆβ . As a result, the t ratio will be
overestimated.
Methods of detection of Autocorrelation
Following are the methods of detecting the problem of autocorrelation:
1. Residual plots: Residuals plots can be useful for the detection of autocorrelation. The
most meaningful display is the plot of residuals versus time. If there is positive
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
8
autocorrelation, residuals of identical sign occur in clusters. That is, there are not
enough changes of sign in the pattern of residuals. On the other hand, if there is negative
autocorrelation, the residuals will alternate signs too rapidly.
2. The Runs Test: The Run test having the following steps.
Step1. Write down the plus and minus sign's of the residuals.
Step2. Count the number of plus signs, negative signs and total number of runs( A run is
a sequence of either positive or negative signs without interruption). Now let
N= Total number of observations= N1+N2
N1=Number of + symbols (i.e. + residuals)
N2=Number of - symbols (i.e. - residuals)
R= number of runs
Step3. Compare the value of 'R' with that of the tabulated value, if it is less than the
smaller tabulated value or greater that the larger tabulated value then we have to reject
the hypothesis that pattern of errors are random i.e. H0; The sequence of errors are
random. In other words, the residuals exhibit autocorrelation.
Special case: If N1 > 20 or N2 > 20 or both then the number of runs is asymptotically
normally distributed with
Mean: 1
2 21
+=
N
NN
Rµ & Variance:
)1()(
)2(2
2
21212
−
−
=
NN
NNNNN
Rδ
Testing of hypothesis procedure is the same as of the Z-test.
Note that the run test sometimes also known as the Geary test, a nonparametric test.
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
9
3. Duban-Watson d Test: This test is based on the assumption that the errors in the
regression model are generated by a first-order autoregressive process observed at
equally spaced time periods, i.e.
= + --------------( i )
where 	 is the error term in the model at time t, is an NID(0,/2
ε) random variable,
and ρ is the autocorrelation parameter. Thus, a simple linear regression model with first-
order autoregressive errors would be
yt = β0 + β1 xt + εt---------------( ii )
Where yt and xt are the observations on the response and regressor variables at time
period t. The hypothesis usually considered in the Dubrin-Watson test are
Ho: ρ = 0
H1: ρ > 0
The test statistic is
( )
2
2
2
1
t
n
t
tt
e
ee
d
∑
−
=
∑=
−
The value of the d statistic lies between two bounds, say dL and dU, such that if d is
outside these limits, a conclusion regarding the hypothesis can be reached. The decision
procedure is as follows:
Reject H0 if:
0 ≤ d ≤ dL Evidence of positive autocorrelation
4−dL ≤ d ≤ 4 Evidence of negative autocorrelation
Muhammad Ali
Lecturer in Statistics
GPGC Mardan.
10
Do not reject H0 if:
dU ≤ d ≤ 4−dU
Zone of indecision if:
dL ≤ d ≤ dU or 4−dU ≤ d ≤ 4− dL
Values of dL and dU can be obtained from the Durban-Watson table.
Situation where negative autocorrelation occurs are not often encountered. However, if a
test for negative autocorrelation is desired, one can use the statistic 4−d, where d is
defined above, then the decision rules for H0 : ρ = 0 versus H1 : ρ < 0 are the same as
those used in testing for positive autocorrelation. It is also possible to conduct a two-
sided ( H0 : ρ = 0 versus H1 : ρ ≠ 0 ) by using both one-sided tests simultaneously. If this
is done, the two-sided procedure has Type I error 2α, where α is the Type I error used for
each one-sided test.

More Related Content

What's hot

Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
PatilDevendra5
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
Pabitra Mishra
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8kit11229
 
Dummy variable
Dummy variableDummy variable
Dummy variableAkram Ali
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
Manokamna Kochar
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
Muhammad Ali
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
GunjanKhandelwal13
 
Heteroskedasticity
HeteroskedasticityHeteroskedasticity
Heteroskedasticityhalimuth
 
Chapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptxChapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptx
Farah Amir
 
Measuring poverty and inequality
Measuring poverty and inequalityMeasuring poverty and inequality
Measuring poverty and inequality
Sakshi Singh
 
Panel data analysis
Panel data analysisPanel data analysis
Panel data analysis
Sana Hassan Afridi
 
Autocorrelation- Detection- part 1- Durbin-Watson d test
Autocorrelation- Detection- part 1- Durbin-Watson d testAutocorrelation- Detection- part 1- Durbin-Watson d test
Autocorrelation- Detection- part 1- Durbin-Watson d test
Shilpa Chaudhary
 
Autocorrelation
AutocorrelationAutocorrelation
AutocorrelationAkram Ali
 
Chapter 07 - Autocorrelation.pptx
Chapter 07 - Autocorrelation.pptxChapter 07 - Autocorrelation.pptx
Chapter 07 - Autocorrelation.pptx
Farah Amir
 
Autocorrelation- Remedial Measures
Autocorrelation- Remedial MeasuresAutocorrelation- Remedial Measures
Autocorrelation- Remedial Measures
Shilpa Chaudhary
 
Identification problem in simultaneous equations model
Identification problem in simultaneous equations modelIdentification problem in simultaneous equations model
Identification problem in simultaneous equations model
GarimaGupta229
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
Irfan Hussain
 
Econometrics ch2
Econometrics ch2Econometrics ch2
Econometrics ch2
Baterdene Batchuluun
 

What's hot (20)

Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Eco Basic 1 8
Eco Basic 1 8Eco Basic 1 8
Eco Basic 1 8
 
Dummy variable
Dummy variableDummy variable
Dummy variable
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
 
Ch7 slides
Ch7 slidesCh7 slides
Ch7 slides
 
Heteroskedasticity
HeteroskedasticityHeteroskedasticity
Heteroskedasticity
 
Chapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptxChapter 06 - Heteroskedasticity.pptx
Chapter 06 - Heteroskedasticity.pptx
 
Measuring poverty and inequality
Measuring poverty and inequalityMeasuring poverty and inequality
Measuring poverty and inequality
 
Panel data analysis
Panel data analysisPanel data analysis
Panel data analysis
 
Autocorrelation- Detection- part 1- Durbin-Watson d test
Autocorrelation- Detection- part 1- Durbin-Watson d testAutocorrelation- Detection- part 1- Durbin-Watson d test
Autocorrelation- Detection- part 1- Durbin-Watson d test
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Chapter 07 - Autocorrelation.pptx
Chapter 07 - Autocorrelation.pptxChapter 07 - Autocorrelation.pptx
Chapter 07 - Autocorrelation.pptx
 
Autocorrelation- Remedial Measures
Autocorrelation- Remedial MeasuresAutocorrelation- Remedial Measures
Autocorrelation- Remedial Measures
 
Identification problem in simultaneous equations model
Identification problem in simultaneous equations modelIdentification problem in simultaneous equations model
Identification problem in simultaneous equations model
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Econometrics ch2
Econometrics ch2Econometrics ch2
Econometrics ch2
 

Similar to Ali, Redescending M-estimator

autocorrelation.pptx
autocorrelation.pptxautocorrelation.pptx
autocorrelation.pptx
PriyadharshanBobby
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
ShaikhSaifullahKhali
 
Physics 1.2b Errors and Uncertainties
Physics 1.2b Errors and UncertaintiesPhysics 1.2b Errors and Uncertainties
Physics 1.2b Errors and Uncertainties
JohnPaul Kennedy
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Ryan Herzog
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
NBER
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
TanyaWadhwani4
 
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docxPage 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
alfred4lewis58146
 
Topic 1 part 2
Topic 1 part 2Topic 1 part 2
Topic 1 part 2
Ryan Herzog
 
gls
glsgls
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
Smarten Augmented Analytics
 
Advanced Statistics Homework Help
Advanced Statistics Homework HelpAdvanced Statistics Homework Help
Advanced Statistics Homework Help
Excel Homework Help
 
Regression with Time Series Data
Regression with Time Series DataRegression with Time Series Data
Regression with Time Series Data
Rizano Ahdiat R
 
Data-Handling part 2.ppt
Data-Handling part 2.pptData-Handling part 2.ppt
Data-Handling part 2.ppt
AhmadHashlamon
 
Linear Regression
Linear Regression Linear Regression
Linear Regression
Rupak Roy
 
Chapter4
Chapter4Chapter4
Chapter4
Vu Vo
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inferenceKemal İnciroğlu
 
Looking for cooperation on working paper - Expenditure model
Looking for cooperation on working paper - Expenditure modelLooking for cooperation on working paper - Expenditure model
Looking for cooperation on working paper - Expenditure model
Miss. Antónia FICOVÁ, Engineer. (Not yet Dr.)
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
Stephen Ong
 

Similar to Ali, Redescending M-estimator (20)

autocorrelation.pptx
autocorrelation.pptxautocorrelation.pptx
autocorrelation.pptx
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Physics 1.2b Errors and Uncertainties
Physics 1.2b Errors and UncertaintiesPhysics 1.2b Errors and Uncertainties
Physics 1.2b Errors and Uncertainties
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docxPage 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
Page 1 of 18Part A Multiple Choice (1–11)______1. Using.docx
 
Topic 1 part 2
Topic 1 part 2Topic 1 part 2
Topic 1 part 2
 
gls
glsgls
gls
 
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
 
Corrleation and regression
Corrleation and regressionCorrleation and regression
Corrleation and regression
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
 
Advanced Statistics Homework Help
Advanced Statistics Homework HelpAdvanced Statistics Homework Help
Advanced Statistics Homework Help
 
Regression with Time Series Data
Regression with Time Series DataRegression with Time Series Data
Regression with Time Series Data
 
Data-Handling part 2.ppt
Data-Handling part 2.pptData-Handling part 2.ppt
Data-Handling part 2.ppt
 
Linear Regression
Linear Regression Linear Regression
Linear Regression
 
Chapter4
Chapter4Chapter4
Chapter4
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Looking for cooperation on working paper - Expenditure model
Looking for cooperation on working paper - Expenditure modelLooking for cooperation on working paper - Expenditure model
Looking for cooperation on working paper - Expenditure model
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
 

Recently uploaded

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 

Recently uploaded (20)

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 

Ali, Redescending M-estimator

  • 1. Muhammad Ali Lecturer in Statistics GPGC Mardan. 1 Autocorrelation Definition The classical assumptions in the linear regression are that the errors terms i have zero mean and constant variance and are uncorrelated [E( i) = 0, Var( i) = δ2 , and E( i j ) = 0 ]. For the construction of Confidence Interval, and Testing of hypothesis about the regression coefficients we add the assumption of normality. so that i are NID(0, δ2 ). Some applications of regression involve regressor and response variables that have a natural sequential order over time. Such data are called time series data. Regression models using time series data occur relatively often in economics, business, and some fields of engineering. The assumption of uncorrelated or independent errors for time series data is often not appropriate. Usually the errors in time series data exhibit serial correlation, that is, E( i j ) ≠ 0. Such error terms are said to be autocorrelated. Autocorrelation sometimes called "lagged correlation or "serial correlation". Causes of Autocorrelation Specification Bias: a) Excluded Variables Case There are several causes of autocorrelation. Perhaps the primary cause of autocorrelation in regression problems involving time series data is failure to include one or more important regressors in the model. For example suppose that we wish to regress
  • 2. Muhammad Ali Lecturer in Statistics GPGC Mardan. 2 annual sales of a soft drink company against the annual advertising expenditure for that product. Now the growth in population over the period of time used in the study will also influence the product sales. If population size is not included in the model, this may cause the errors in the model to be positively autocorrelated, because population size is positively correlated with product sales. Consider the true model: Sale (Yt) = β0 + β1X1t + β2X2t + εt ---------------------- ( I ) Where Y is the sale, X1 is the advertising expenditure, X2 is the population size. However for some reason we run the following regression: Sale (Yt) = β0 + β1X1t + υt ---------------------- ( II ) As model ( I ) is a true model and we run model ( II ), and hence the error or disturbance term υ will be autocorrelated. b) Incorrect Functional Form: Consider the following cost and output model: Yt = β1 + β2 X1 + β3 X2 2 + υt ------------------- ( III )
  • 3. Muhammad Ali Lecturer in Statistics GPGC Mardan. 3 Instead of using the above form which is considered to be correct, if we fit the following model: Yt = β1 + β2 X1 + β3 X2 + υt ----------------( IV) In this case, υ will reflect autocorrelation because of the use of an incorrect functional form. Theoretical consequences of autocorrelation The presence of autocorrelation in the errors has several effects on the ordinary least-squares regression procedures. These are summarized as follows: 1. Ordinary least-squares regression coefficients are still unbiased. 2. OLS regression coefficients are no longer efficient i..e. they are no longer minimum variance estimates. We say that these estimates are inefficient. 3. The residual mean square MSres may seriously underestimate δ2 . Consequently, the standard errors of the regression coefficients may be too small. Thus, confidence intervals are shorter than they really should be, and tests of hypothesis on individual regression coefficients may indicate that one or more regression contribute significantly to the model when they really do not. Generally, underestimating δ2 gives the researcher a false impression of accuracy. 4. The confidence intervals and tests of hypothesis based on the t and F distributions are no longer appropriate.
  • 4. Muhammad Ali Lecturer in Statistics GPGC Mardan. 4 OLS estimates in presence of autocorrelation There are three main consequences of autocorrelation on the ordinary least squares estimates. 1. Ordinary least squares regression coefficients are still unbiased even if the disturbance term is autocorrelated. i.e. We know that ( ) ( ) ( ) ( ) εβ εβ εβ εβεβ β XXX XXXI XXXXXXX XYXXXX YXXX ′′+= ′′+= ′′+′′= +=∴+′′= ′′= − − −− − − 1 1 11 1 1 )( )( )()( ˆ Taking expectation on both sides of the above equation #1, assuming that E(ε) = 0 i.e. β β εββ = += ′+= − 0 )()()ˆ( 1 XEXXE Hence in the presence of autocorrelation the OLS estimates are still unbiased.
  • 5. Muhammad Ali Lecturer in Statistics GPGC Mardan. 5 2. The residual mean square underestimate δ2 result in small standard errors of the regression coefficients. We know that variance of the OLS estimate is: )(ˆ Putˆ (B)equationinvaluesthese 1and0 )( / )( )( ; ereWh; 0)(X )( )( )( )()( )( ))((ˆ )(]ˆ[)ˆ( 11 2 2 10 10 2 2 i2 22 2 cw w Putting Xw x XX xxwSince BwXww Xw x x wYw XXx x xY X XX XXY XX XXYXXY XX YYXX Since AEVar ii ii ii i i iii iiiii iii i i iii ii i ii i ii i iii i ii −−−−−−−−∑=− =∑+= =∑= ∑ −∑ =∑∑=∑ −−−−−−−∑+∑+∑= ++∑= ∑ =∴∑= −= ∑ ∑ = =−∑∴ −∑ −∑ = −∑ −∑−−∑ = −∑ −−∑ = −−−−−−= εββ ββεββ εββ εββ β βββ
  • 6. Muhammad Ali Lecturer in Statistics GPGC Mardan. 6 Putting the values of equation ( c) in equation (A). [ ] [ ] [ ] [ ] ∑ ∑= < −− −− += +++++++= +++++++= +++=∑= n i n ji jijiii nnnnnn nnnnnn iniiii wwEwE wwwwwwwwwE wwwwwwwwwE wwwEwEVar 1 22 1131312121 222 2 2 2 2 1 2 1 1131312121 222 2 2 2 2 1 2 1 2 22 2 ][2][ ...[2]... 2...22... ...)ˆ( εεε εεεεεεεεε εεεεεεεεε εεεεβ ∑ ∑= < −−−−−−+= n i n ji jijiii DEwwEw 1 22 )()(2)( εεε If there is no correlation between error terms i.e. E( 0) =jiεε then equation (D) becomes: ( ) )( )( / )( 0)()ˆ( 2 2 22 22 2 2 2 2 222 22 1 22 E XX x x x x x w wEwVar i i i i i i i i n i ii −−−−− −∑ =∑= ∑ ∑ = ∑ ∑=∑= ∑=+= ∑= δ δδ δδ δεβ Now we have to find ( )βˆVar when the errors are autocorrected. i.e. errors are AR(1).
  • 7. Muhammad Ali Lecturer in Statistics GPGC Mardan. 7 Under AR (1) = + (0, ( = ( + ( = 0 ( = ( + ( = + − = = 1 − As ( = ( = ( = ( = Now ( = ( + ( = ( + ( = ! "! #$%&'(1 = ) ∑ + ∑ + , = ) ∑ + + 2∑+ + (∑ + , = ∑ + + 2∑+ + (∑ + 1 − = 1 ∑ + 1 − + 2∑+ + (∑ + 1 − = 1 − 1 ∑ + )1 + 2∑+ + ∑ + , − − − − − (. It is clear from equation (E) and (F) that 1)ˆ()ˆ( 22 ARVarVar ββ < . Therefore, if we use )ˆ( 2βVar , we shall inflate the precision or accuracy of the estimator 2 ˆβ . As a result, the t ratio will be overestimated. Methods of detection of Autocorrelation Following are the methods of detecting the problem of autocorrelation: 1. Residual plots: Residuals plots can be useful for the detection of autocorrelation. The most meaningful display is the plot of residuals versus time. If there is positive
  • 8. Muhammad Ali Lecturer in Statistics GPGC Mardan. 8 autocorrelation, residuals of identical sign occur in clusters. That is, there are not enough changes of sign in the pattern of residuals. On the other hand, if there is negative autocorrelation, the residuals will alternate signs too rapidly. 2. The Runs Test: The Run test having the following steps. Step1. Write down the plus and minus sign's of the residuals. Step2. Count the number of plus signs, negative signs and total number of runs( A run is a sequence of either positive or negative signs without interruption). Now let N= Total number of observations= N1+N2 N1=Number of + symbols (i.e. + residuals) N2=Number of - symbols (i.e. - residuals) R= number of runs Step3. Compare the value of 'R' with that of the tabulated value, if it is less than the smaller tabulated value or greater that the larger tabulated value then we have to reject the hypothesis that pattern of errors are random i.e. H0; The sequence of errors are random. In other words, the residuals exhibit autocorrelation. Special case: If N1 > 20 or N2 > 20 or both then the number of runs is asymptotically normally distributed with Mean: 1 2 21 += N NN Rµ & Variance: )1()( )2(2 2 21212 − − = NN NNNNN Rδ Testing of hypothesis procedure is the same as of the Z-test. Note that the run test sometimes also known as the Geary test, a nonparametric test.
  • 9. Muhammad Ali Lecturer in Statistics GPGC Mardan. 9 3. Duban-Watson d Test: This test is based on the assumption that the errors in the regression model are generated by a first-order autoregressive process observed at equally spaced time periods, i.e. = + --------------( i ) where is the error term in the model at time t, is an NID(0,/2 ε) random variable, and ρ is the autocorrelation parameter. Thus, a simple linear regression model with first- order autoregressive errors would be yt = β0 + β1 xt + εt---------------( ii ) Where yt and xt are the observations on the response and regressor variables at time period t. The hypothesis usually considered in the Dubrin-Watson test are Ho: ρ = 0 H1: ρ > 0 The test statistic is ( ) 2 2 2 1 t n t tt e ee d ∑ − = ∑= − The value of the d statistic lies between two bounds, say dL and dU, such that if d is outside these limits, a conclusion regarding the hypothesis can be reached. The decision procedure is as follows: Reject H0 if: 0 ≤ d ≤ dL Evidence of positive autocorrelation 4−dL ≤ d ≤ 4 Evidence of negative autocorrelation
  • 10. Muhammad Ali Lecturer in Statistics GPGC Mardan. 10 Do not reject H0 if: dU ≤ d ≤ 4−dU Zone of indecision if: dL ≤ d ≤ dU or 4−dU ≤ d ≤ 4− dL Values of dL and dU can be obtained from the Durban-Watson table. Situation where negative autocorrelation occurs are not often encountered. However, if a test for negative autocorrelation is desired, one can use the statistic 4−d, where d is defined above, then the decision rules for H0 : ρ = 0 versus H1 : ρ < 0 are the same as those used in testing for positive autocorrelation. It is also possible to conduct a two- sided ( H0 : ρ = 0 versus H1 : ρ ≠ 0 ) by using both one-sided tests simultaneously. If this is done, the two-sided procedure has Type I error 2α, where α is the Type I error used for each one-sided test.