SlideShare a Scribd company logo
Basic Regression Analysis with
Time Series Data
The Nature of Time Series Data
How should we think of sample randomness in time series data?
We are still dealing with random variables: we don’t know what
GDP for 2007 will be in Georgia. However, knowledge of GDP
for 2006 might help us to make a better guess about GDP
2007 => GDP2007 is not independent from GDP 2006…
The trick in time series is that we treat observations across time
as an outcome of a sequence of random variables.
A sequence of random variables indexed by time is called
stochastic (=random) process or a time series process.
We can only see one realization of the stochastic process – the
reality. We cannot go back in time and start the process over
again.
However, if certain conditions in history had been different, we
would obtain a different realization of the stochastic process
(a different time path) .
The set of all possible time realizations (time paths) plays the
role of the population.
The sample size for a time series data set is the number of time
periods over which we have observations.
Working with time-series data
In the time-series data if the model is:
And if t=2005 is the year of interest, we would have
Meaning that the inflation rate (in the given country) in 2005 depended
on the unemployment rate in that country in 2005 and some other
factors that were affecting inflation in 2005 (high level of
expenditures, inflationary expectations).
This is an example of a static model, since it assumes that inflation this
year only depends on things that take place this year, but not last year,
for example.
ttt uxy ++= 10 ββ
20052005102005 uUnempINF ++= ββ
Static Model
A model is called contemporaneous or static when observations
on the dependent variable are related to the observations on
x-variables for the same time period t:
Usually this model is used when a change in x at time t has an
immediate effect on y:
It is very easy to follow changes in y from change in x using
graphs. There will be 2 types of changes that we will discuss: a
temporary change in x and a permanent change in x.
ttt uxy ++= 10 ββ
0,1 =∆∆=∆ ttt uxy β
Suppose x=c for all time periods before 2003. In 2004 x goes up
by one unit to c+1, and then goes back to c from 2005 on =>
we look at a temporary change in x by 1 unit.
y
y04
β1
y03
01 02 03 04 05 06 07 Year
The immediate change in y due to a temporary 1-unit increase in
x in 2004 is impact propensity or impact multiplier.
However, in real life there are many situations where change in
one variable (x) needs time (more than current time period)
to fully affect a variable of interest (y).
Finite Distributed Lag Models
In a Finite Distributed Lag (FDL) Model one or more regressors
affect y with a lag. Here is an example of FDL of order one:
Example:
Gfr=general fertility rate
Pe=personal tax exemption
tttt upepegfr +++= −1100 δδα
tttt uxxy +++= −1100 δδα
Temporary Change in x in 1-lag
Model:
Let’s track the change in y over time that will be
caused by a temporary change in x in 2004:
 


 
0506
04
05
03
04
0203
21006
21005
21004
21003
)1(
)1(
xx
x
x
x
x
xx
ccy
ccy
ccy
ccy
βββ
βββ
βββ
βββ
++=
+++=
+++=
++=


tttt uxxy +++= −1210 βββ
Suppose x=c for all time periods before 2003. In 2004 x goes up
by one unit to c+1, and then goes back to c from 2005 on.
y y04
y05
β1 β2
y03
01 02 03 04 05 06 07 Year
As you can see, this picture allows for the temporary change in x today to
still have effect tomorrow. But the day after tomorrow things are back
to what they used to be before the change.
• So, in our one lag model, β1 measures an immediate
(same year) impact from one unit temporary change in x.
• β2 measures next time period (next year) impact from one
unit temporary change in x. It can also be looked at as current
effect on y from temporary change in x last year.
• There is no effect on y two periods after the temporary
change in x. Or, temporary change in x that took place more
than one period ago is not doing anything to current y.
• So, the “memory” in one-lag model is only one period long.
Temporary Change in x in 2-lag
Model:
Let’s track the change in y over time that will be
caused by a temporary change in x in 2004:
  
 
 
 
  
050607
04
0506
03
04
05
0203
04
010203
321007
321006
221005
321004
321003
)1(
)1(
)1(
xxx
x
xx
x
x
x
xx
x
xxx
cccy
cccy
cccy
cccy
cccy
ββββ
ββββ
ββββ
ββββ
ββββ
+++=
++++=
++++=
++++=
+++=



ttttt uxxxy ++++= −− 231210 ββββ
Suppose x=c for all time periods before 2003. In 2004 x goes up
by one unit to c+1, and then goes back to c from 2005 on.
y y04
y05
β1 β2
y03 β3
01 02 03 04 05 06 07 Year
As you can see, this picture allows for the temporary change in x
today to still have effect tomorrow and the day after
tomorrow. But after that things are back to what they used to
be before the change.
• So, in two lag model, β1 measures an immediate (same year)
impact from one unit temporary change in x.
• β2 measures next time period (next year) impact from one
unit temporary change in x. It can also be looked at as current
effect on y from temporary change in x last year.
• β3 measures two time period later impact from one unit
temporary change in x. It can also be looked at as current
effect on y from temporary change in x two years ago.
• There is no effect on y three periods after the temporary
change in x. Or, temporary change in x that took place more
than two period ago is not doing anything to current y.
• So, the “memory” in two-lag model is only two periods long.
What is the change in y due to a permanent change in x? Let’s
look at the static case first. Suppose in 2004 x goes up by one
unit, and stays there.
y
y04
β1
y03
01 02 03 04 05 06 07 Year
As before, β1 is the immediate change in y due to a permanent
1-unit increase in x at t = impact propensity.
Following the same argumentation as for temporary changes in
x we will try to track the permanent change in x in an FDL
case.
Permanent Change in x in 1-lag
Model:
Let’s track the change in y over time that will be
caused by a permanent change in x in 2004:
 




0506
0405
03
04
0203
)1()1(
)1()1(
)1(
21006
21005
21004
21003
xx
xx
xx
xx
ccy
ccy
ccy
ccy
++++=
++++=
+++=
++=
βββ
βββ
βββ
βββ
tttt uxxy +++= −1210 βββ
Suppose x=c for all time periods before 2003. In 2004 x goes up
by one unit to c+1, and stays there forever.
y y05
y04 β2 β1+β2
β1
y03
01 02 03 04 05 06 07 Year
As you can see, this picture allows for the permanent change in x
today to affect y in two steps.
Permanent Change in x in 2-lag
Model:
How about the change in y in 2-lag model when
x is up by 1 unit from 2004–on.
  
 





050607
040506
03
0405
0203
04
010203
)1()1()1(
)1()1()1(
)1()1(
)1(
321007
321006
221005
321004
321003
xxx
xxx
xxx
xxx
xxx
cccy
cccy
cccy
cccy
cccy
++++++=
++++++=
+++++=
++++=
+++=
ββββ
ββββ
ββββ
ββββ
ββββ
ttttt uxxxy ++++= −− 231210 ββββ
• So,β1 still measures an immediate (same year)
impact from one unit of permanent change in x.
• (β1+β2) measures the overall change in y in the next time
period (next year). It can also be looked at as current effect
on y from permanent change in x last year.
• The effect on y two and more periods later is still (β1+β2). In
1-lag model permanent change in x takes 1 period after the
change to fully affect y.
• In this model (β1+β2) measures the long-term impact (long-
run multiplier) of on y from a permanent change in x .
• β1 measures an immediate (same year) impact from
one unit permanent change in x.
• (β1+β2) measures the overall change in y in the next time
period (next year) after permanent change in x. It can also be
looked at as current effect on y from permanent change in x
last year.
• (β1+β2+β3) measures two time period later impact from one
unit permanent change in x. It is also the overall change in y
from permanent change in x two years ago.
• The overall effect on y after2 and more periods is (β1+β2+β3),
this is the long-run propensity (multiplier).
Suppose x=c for all time periods before 2003. In 2004 x goes up
by one unit to c+1, and stays there forever.
y y05 β3
y04 β2 β1+β2+β3
β1
y03
01 02 03 04 05 06 07 Year
As you can see, this picture allows for the permanent change in x
today to affect y in three steps.

More Related Content

What's hot

ders 7.1 VAR.pptx
ders 7.1 VAR.pptxders 7.1 VAR.pptx
ders 7.1 VAR.pptx
Ergin Akalpler
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag model
Pawan Kawan
 
Dummy variables
Dummy variablesDummy variables
Dummy variables
Irfan Hussain
 
Cointegration and error correction model
Cointegration and error correction modelCointegration and error correction model
Cointegration and error correction model
Aditya KS
 
Ols
OlsOls
Econometrics
EconometricsEconometrics
Econometrics
Pawan Kawan
 
Econometrics ch3
Econometrics ch3Econometrics ch3
Econometrics ch3
Baterdene Batchuluun
 
Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11
Almaszabeen Badekhan
 
Econometrics and statistics mcqs part 2
Econometrics and statistics mcqs part 2Econometrics and statistics mcqs part 2
Econometrics and statistics mcqs part 2
punjab university
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
Pabitra Mishra
 
Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
Muhammad Ali
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
rashi9
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
Irfan Hussain
 
Regression with Time Series Data
Regression with Time Series DataRegression with Time Series Data
Regression with Time Series Data
Rizano Ahdiat R
 
Econometrics.pptx
Econometrics.pptxEconometrics.pptx
Econometrics.pptx
MahafuzurRahmanMafi
 
time series analysis
time series analysistime series analysis
time series analysis
SACHIN AWASTHI
 
Quantitative Investment And Risk Management PowerPoint Presentation Slides
Quantitative Investment And Risk Management PowerPoint Presentation SlidesQuantitative Investment And Risk Management PowerPoint Presentation Slides
Quantitative Investment And Risk Management PowerPoint Presentation Slides
SlideTeam
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
GunjanKhandelwal13
 
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Sajid Ali Khan
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
Manokamna Kochar
 

What's hot (20)

ders 7.1 VAR.pptx
ders 7.1 VAR.pptxders 7.1 VAR.pptx
ders 7.1 VAR.pptx
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag model
 
Dummy variables
Dummy variablesDummy variables
Dummy variables
 
Cointegration and error correction model
Cointegration and error correction modelCointegration and error correction model
Cointegration and error correction model
 
Ols
OlsOls
Ols
 
Econometrics
EconometricsEconometrics
Econometrics
 
Econometrics ch3
Econometrics ch3Econometrics ch3
Econometrics ch3
 
Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11
 
Econometrics and statistics mcqs part 2
Econometrics and statistics mcqs part 2Econometrics and statistics mcqs part 2
Econometrics and statistics mcqs part 2
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Auto Correlation Presentation
Auto Correlation PresentationAuto Correlation Presentation
Auto Correlation Presentation
 
Regression with Time Series Data
Regression with Time Series DataRegression with Time Series Data
Regression with Time Series Data
 
Econometrics.pptx
Econometrics.pptxEconometrics.pptx
Econometrics.pptx
 
time series analysis
time series analysistime series analysis
time series analysis
 
Quantitative Investment And Risk Management PowerPoint Presentation Slides
Quantitative Investment And Risk Management PowerPoint Presentation SlidesQuantitative Investment And Risk Management PowerPoint Presentation Slides
Quantitative Investment And Risk Management PowerPoint Presentation Slides
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
 
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
 
Autocorrelation (1)
Autocorrelation (1)Autocorrelation (1)
Autocorrelation (1)
 

Similar to Basic regression with time series data

Econometrics_ch13.ppt
Econometrics_ch13.pptEconometrics_ch13.ppt
Econometrics_ch13.ppt
ABDULAI3
 
Ch8 slides
Ch8 slidesCh8 slides
Ch8 slides
fentaw leykun
 
Ch8_slides.ppt
Ch8_slides.pptCh8_slides.ppt
Ch8_slides.ppt
QUNHHUNHTRNTRC
 
Dummy variable model
Dummy variable modelDummy variable model
Dummy variable model
aschalew shiferaw
 
auto correlation.pdf
auto correlation.pdfauto correlation.pdf
auto correlation.pdf
RiyaKhanna34
 
Distributed lag model koyck
Distributed lag model koyckDistributed lag model koyck
Distributed lag model koyck
Soumyatanu Mukherjee
 
Panel101.pdf
Panel101.pdfPanel101.pdf
Panel101.pdf
Amal Mohamed
 
PanelDataAnalysis.pdf
PanelDataAnalysis.pdfPanelDataAnalysis.pdf
PanelDataAnalysis.pdf
SabrinRahman5
 
Ch10 slides
Ch10 slidesCh10 slides
Ch10 slides
fentaw leykun
 
Panel data
Panel data Panel data
Panel data
Babu Tyagu
 
Panel data random effect fixed effect.ppt
Panel data random effect fixed effect.pptPanel data random effect fixed effect.ppt
Panel data random effect fixed effect.ppt
Mustansarsaeed2
 
Business statistics homework help service
Business statistics homework help serviceBusiness statistics homework help service
Business statistics homework help service
Statistics Help Desk
 
lect1
lect1lect1
Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)
Matthew Leingang
 
panel data.ppt
panel data.pptpanel data.ppt
panel data.ppt
VinayKhandelwal23
 
Panel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.pptPanel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.ppt
HinhMo
 
Statistics Homework Help
Statistics Homework HelpStatistics Homework Help
Statistics Homework Help
Mark Austin
 
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
ADEMU_Project
 
Econometrics ch8
Econometrics ch8Econometrics ch8
Econometrics ch8
Baterdene Batchuluun
 
MMsemester project
MMsemester projectMMsemester project
MMsemester project
Preeti Sahu
 

Similar to Basic regression with time series data (20)

Econometrics_ch13.ppt
Econometrics_ch13.pptEconometrics_ch13.ppt
Econometrics_ch13.ppt
 
Ch8 slides
Ch8 slidesCh8 slides
Ch8 slides
 
Ch8_slides.ppt
Ch8_slides.pptCh8_slides.ppt
Ch8_slides.ppt
 
Dummy variable model
Dummy variable modelDummy variable model
Dummy variable model
 
auto correlation.pdf
auto correlation.pdfauto correlation.pdf
auto correlation.pdf
 
Distributed lag model koyck
Distributed lag model koyckDistributed lag model koyck
Distributed lag model koyck
 
Panel101.pdf
Panel101.pdfPanel101.pdf
Panel101.pdf
 
PanelDataAnalysis.pdf
PanelDataAnalysis.pdfPanelDataAnalysis.pdf
PanelDataAnalysis.pdf
 
Ch10 slides
Ch10 slidesCh10 slides
Ch10 slides
 
Panel data
Panel data Panel data
Panel data
 
Panel data random effect fixed effect.ppt
Panel data random effect fixed effect.pptPanel data random effect fixed effect.ppt
Panel data random effect fixed effect.ppt
 
Business statistics homework help service
Business statistics homework help serviceBusiness statistics homework help service
Business statistics homework help service
 
lect1
lect1lect1
lect1
 
Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)Lesson 26: Integration by Substitution (handout)
Lesson 26: Integration by Substitution (handout)
 
panel data.ppt
panel data.pptpanel data.ppt
panel data.ppt
 
Panel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.pptPanel data_25412547859_andbcbgajkje852.ppt
Panel data_25412547859_andbcbgajkje852.ppt
 
Statistics Homework Help
Statistics Homework HelpStatistics Homework Help
Statistics Homework Help
 
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
On the risk of leaving the Euro, by Juan Pablo Nicolini (Federal Reserve Bank...
 
Econometrics ch8
Econometrics ch8Econometrics ch8
Econometrics ch8
 
MMsemester project
MMsemester projectMMsemester project
MMsemester project
 

Recently uploaded

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
aguty
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
ytypuem
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
ywqeos
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
taqyea
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
vasanthatpuram
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
exukyp
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
TeukuEriSyahputra
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
Vietnam Cotton & Spinning Association
 
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
asyed10
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
bmucuha
 

Recently uploaded (20)

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
 
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
一比一原版美国帕森斯设计学院毕业证(parsons毕业证书)如何办理
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 

Basic regression with time series data

  • 1. Basic Regression Analysis with Time Series Data
  • 2. The Nature of Time Series Data How should we think of sample randomness in time series data? We are still dealing with random variables: we don’t know what GDP for 2007 will be in Georgia. However, knowledge of GDP for 2006 might help us to make a better guess about GDP 2007 => GDP2007 is not independent from GDP 2006… The trick in time series is that we treat observations across time as an outcome of a sequence of random variables. A sequence of random variables indexed by time is called stochastic (=random) process or a time series process.
  • 3. We can only see one realization of the stochastic process – the reality. We cannot go back in time and start the process over again. However, if certain conditions in history had been different, we would obtain a different realization of the stochastic process (a different time path) . The set of all possible time realizations (time paths) plays the role of the population. The sample size for a time series data set is the number of time periods over which we have observations.
  • 4. Working with time-series data In the time-series data if the model is: And if t=2005 is the year of interest, we would have Meaning that the inflation rate (in the given country) in 2005 depended on the unemployment rate in that country in 2005 and some other factors that were affecting inflation in 2005 (high level of expenditures, inflationary expectations). This is an example of a static model, since it assumes that inflation this year only depends on things that take place this year, but not last year, for example. ttt uxy ++= 10 ββ 20052005102005 uUnempINF ++= ββ
  • 5. Static Model A model is called contemporaneous or static when observations on the dependent variable are related to the observations on x-variables for the same time period t: Usually this model is used when a change in x at time t has an immediate effect on y: It is very easy to follow changes in y from change in x using graphs. There will be 2 types of changes that we will discuss: a temporary change in x and a permanent change in x. ttt uxy ++= 10 ββ 0,1 =∆∆=∆ ttt uxy β
  • 6. Suppose x=c for all time periods before 2003. In 2004 x goes up by one unit to c+1, and then goes back to c from 2005 on => we look at a temporary change in x by 1 unit. y y04 β1 y03 01 02 03 04 05 06 07 Year The immediate change in y due to a temporary 1-unit increase in x in 2004 is impact propensity or impact multiplier. However, in real life there are many situations where change in one variable (x) needs time (more than current time period) to fully affect a variable of interest (y).
  • 7. Finite Distributed Lag Models In a Finite Distributed Lag (FDL) Model one or more regressors affect y with a lag. Here is an example of FDL of order one: Example: Gfr=general fertility rate Pe=personal tax exemption tttt upepegfr +++= −1100 δδα tttt uxxy +++= −1100 δδα
  • 8. Temporary Change in x in 1-lag Model: Let’s track the change in y over time that will be caused by a temporary change in x in 2004:       0506 04 05 03 04 0203 21006 21005 21004 21003 )1( )1( xx x x x x xx ccy ccy ccy ccy βββ βββ βββ βββ ++= +++= +++= ++=   tttt uxxy +++= −1210 βββ
  • 9. Suppose x=c for all time periods before 2003. In 2004 x goes up by one unit to c+1, and then goes back to c from 2005 on. y y04 y05 β1 β2 y03 01 02 03 04 05 06 07 Year As you can see, this picture allows for the temporary change in x today to still have effect tomorrow. But the day after tomorrow things are back to what they used to be before the change.
  • 10. • So, in our one lag model, β1 measures an immediate (same year) impact from one unit temporary change in x. • β2 measures next time period (next year) impact from one unit temporary change in x. It can also be looked at as current effect on y from temporary change in x last year. • There is no effect on y two periods after the temporary change in x. Or, temporary change in x that took place more than one period ago is not doing anything to current y. • So, the “memory” in one-lag model is only one period long.
  • 11. Temporary Change in x in 2-lag Model: Let’s track the change in y over time that will be caused by a temporary change in x in 2004:             050607 04 0506 03 04 05 0203 04 010203 321007 321006 221005 321004 321003 )1( )1( )1( xxx x xx x x x xx x xxx cccy cccy cccy cccy cccy ββββ ββββ ββββ ββββ ββββ +++= ++++= ++++= ++++= +++=    ttttt uxxxy ++++= −− 231210 ββββ
  • 12. Suppose x=c for all time periods before 2003. In 2004 x goes up by one unit to c+1, and then goes back to c from 2005 on. y y04 y05 β1 β2 y03 β3 01 02 03 04 05 06 07 Year As you can see, this picture allows for the temporary change in x today to still have effect tomorrow and the day after tomorrow. But after that things are back to what they used to be before the change.
  • 13. • So, in two lag model, β1 measures an immediate (same year) impact from one unit temporary change in x. • β2 measures next time period (next year) impact from one unit temporary change in x. It can also be looked at as current effect on y from temporary change in x last year. • β3 measures two time period later impact from one unit temporary change in x. It can also be looked at as current effect on y from temporary change in x two years ago. • There is no effect on y three periods after the temporary change in x. Or, temporary change in x that took place more than two period ago is not doing anything to current y. • So, the “memory” in two-lag model is only two periods long.
  • 14. What is the change in y due to a permanent change in x? Let’s look at the static case first. Suppose in 2004 x goes up by one unit, and stays there. y y04 β1 y03 01 02 03 04 05 06 07 Year As before, β1 is the immediate change in y due to a permanent 1-unit increase in x at t = impact propensity. Following the same argumentation as for temporary changes in x we will try to track the permanent change in x in an FDL case.
  • 15. Permanent Change in x in 1-lag Model: Let’s track the change in y over time that will be caused by a permanent change in x in 2004:       0506 0405 03 04 0203 )1()1( )1()1( )1( 21006 21005 21004 21003 xx xx xx xx ccy ccy ccy ccy ++++= ++++= +++= ++= βββ βββ βββ βββ tttt uxxy +++= −1210 βββ
  • 16. Suppose x=c for all time periods before 2003. In 2004 x goes up by one unit to c+1, and stays there forever. y y05 y04 β2 β1+β2 β1 y03 01 02 03 04 05 06 07 Year As you can see, this picture allows for the permanent change in x today to affect y in two steps.
  • 17. Permanent Change in x in 2-lag Model: How about the change in y in 2-lag model when x is up by 1 unit from 2004–on.           050607 040506 03 0405 0203 04 010203 )1()1()1( )1()1()1( )1()1( )1( 321007 321006 221005 321004 321003 xxx xxx xxx xxx xxx cccy cccy cccy cccy cccy ++++++= ++++++= +++++= ++++= +++= ββββ ββββ ββββ ββββ ββββ ttttt uxxxy ++++= −− 231210 ββββ
  • 18. • So,β1 still measures an immediate (same year) impact from one unit of permanent change in x. • (β1+β2) measures the overall change in y in the next time period (next year). It can also be looked at as current effect on y from permanent change in x last year. • The effect on y two and more periods later is still (β1+β2). In 1-lag model permanent change in x takes 1 period after the change to fully affect y. • In this model (β1+β2) measures the long-term impact (long- run multiplier) of on y from a permanent change in x .
  • 19. • β1 measures an immediate (same year) impact from one unit permanent change in x. • (β1+β2) measures the overall change in y in the next time period (next year) after permanent change in x. It can also be looked at as current effect on y from permanent change in x last year. • (β1+β2+β3) measures two time period later impact from one unit permanent change in x. It is also the overall change in y from permanent change in x two years ago. • The overall effect on y after2 and more periods is (β1+β2+β3), this is the long-run propensity (multiplier).
  • 20. Suppose x=c for all time periods before 2003. In 2004 x goes up by one unit to c+1, and stays there forever. y y05 β3 y04 β2 β1+β2+β3 β1 y03 01 02 03 04 05 06 07 Year As you can see, this picture allows for the permanent change in x today to affect y in three steps.