Autocorrelation and the AR(1) Process

Size: px
Start display at page:

Download "Autocorrelation and the AR(1) Process"

Transcription

1 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 1 Auocorrelaion and he AR(1) Process Hun Myoung Park This documen discusses auocorrelaion (or serial correlaion) in linear regression models wih focus on he firs-order auoregression process, AR(1). This documen is largely based on Greene (003). 1. Defining Auocorrelaion Auocorrelaion occurs in ime-series daa more ofen han in cross-secional daa. Auocorrelaion (or auoregressiion and serial correlaion) is a resul of he violaion of he nonauocorrelaion assumpion ha each disurbance is uncorrelaed wih every oher disurbance 1.1 Saionariy and Auocorrelaion In he presence of auocorrelaion, E( ε X ) = E( ε X ) = 0 s Var( ε X ) = Var( ε s X ) = σ, bu Cov( ε, X ) = 0 for all s. ε s The disribuion of disurbances is said o be covariance saionary or weekly saionary. 1 E( ε ' ε ) σ I, bu = E ( ε ' ε ) σ Ω ha is a full, posiive definie marix wih a consan σ on he diagonal. Since Ωs is a funcion of -s, bu no of or s alone (saionary assumpion), he covariance beween observaions and s is also a finie funcion of -s, he disance apar in ime of he observaions. The auocovariances is defined as Cov ( ε, ε s X ) = Cov( ε + s, ε X ) = γ s = σ Ω, s = σ Ω + s, s and σ Ω = γ = σ Auocorrelaion is he correlaion beween ε and ε s, Cov( ε, ε s X ) γ s Corr( ε, ε s X ) = = = ρs Var( ε X ) Var( ε X ) γ 1. Auoregression and AR(p) s 0, 0 A ypical auoregression model AR(p) is y = μ + φ1 y 1 + φ y... + φ p y p + ε or 1 Srong saionariy requires ha whole join disribuion is he same over he ime periods.

2 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 1 p 1 B φb... φ p B y = μ ε or simply φ B) y = μ + ε (1 φ ) + backward shif operaor. (, where B denoes he The firs-order auoregression AR(1) process is srucured so ha he influence of a given disurbance fades as i recedes ino he more disan pas bu vanishes only asympoically. y μ + φ + ε = 1 y 1 = + φ1 u + φ1 y + ε 1 ) + ε = μ + φ1u + φ1 y + φ1ε 1 ε = ρε 1 + u y μ ( + ε Alernaively, In conras, he firs-order moving-average MA(1) process has a shor memory, ε = u λu 1. Ineresingly, AR(1) can be wrien in MA( ) form, ε ρε + u, where E ( ) = 0, = 1 E( u ) = σ u, and Cov ( u, u s ) = 0 if s. Repeaed subsiuion ends up wih ε = u + ρu 1 + ρ u... Each disurbance embodies he enire pas hisory of us, wih he mos recen observaions receiving greaer weigh han hose in he disan pas. The variance and covariance of disurbances are 4 σ u Var( ε ) = σ u + ρ σ u + ρ σ u +... = = σ ε 1 ρ Cov( ε, ε 1) = E( ε, ε 1) = E( ε 1, ρε 1 + u ) = ρvar( ε ρσ u ) = 1 ρ 1. Causes and Consequences of Auocorrelaion Auocorrelaion may resul from a problem in (linear) funcional form assumpion, omied relevan explanaory variables (ofen lagged dependen variables), or measuremen errors ha could be auocorrelaed. In pracice, he specificaion errors (ignoring relevan variables) appear o be mos criical. Like heeroscedasiciy, auocorrelaion makes esimaed variances of OLS (ordinary leas squares) parameer esimaes asympoically inefficien. Technically speaking, σ is biased (underesimaed). However, OLS parameer esimaes hemselves remain unbiased and consisen. In shor, OLS is no BLUE. 3. Deecing Auocorrelaion This secion considers several es saisics including Breusch-Godfrey LM, Box-Pierce Q, Ljung-Box Q, Durbin-Wason d, and Durbin h. 3.1 Lagrange Muliplier Tes for AR(p) u

3 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 3 Breusch (1978) and Godfrey (1978) develop a Lagrange muliplier es ha can be applied o he ph order auoregression models. Thus, his es is more general han D-W d and Durbin h. The null hypohesis is a model wihou lagged dependen variables, ρ ρ =... = ρ 0. 1 = p = The LM es consiss of several seps. Firs, regress Y on Xs o ge residuals. Compue lagged residuals up o ph order. Replace missing values for lagged residuals wih zeros. Regress ε on Xs and e -1, e -, and e -p o ge R. Finally compue LM saisic using he R and he number of observaions T used in he model. 3 LM = TR ~ χ ( p) This saisic follows he chi-squared disribuion wih p degrees of freedom. This Breusch- Godfrey LM is preferred o oher es saisics. 3. Q and Q Tes for AR(p) Box and Pierce (1970) develop he Q es ha is asympoically equivalen o he Breusch- Godfrey LM es. Box-Pierce Q has a chi-squared disribuion wih p degrees of freedom. The Q saisic is Q = T P j = 1 r j ~ χ ( p), where r T = p+ 1 p = T = 1 e e e p Firs, regress Y on Xs o ge residuals and compue lagged residuals up o ph order. Compue individual rp s using e and ee p. Finally, plug rp s in he formula o compue Box-Pierce Q. Ljung and Box (1979) refine he Box-Pierce Q es o ge Q. You may use informaion obained above. Ljung-Box Q also follows he chi-squared disribuion wih p degrees of freedom. r Q' = T ( T + ) ~ χ ( p). j P j j = 1 T 3.3 Durbin-Wason d for AR(1) The Durbin-Wason (D-W) es is based on he principle ha if he rue disurbances are auocorrelaed, his fac will be revealed hrough he auocorrelaions of he leas squares residuals (Durbin and Wason 1950, 1951, 1971). The null hypohesis is ha disurbances are no auocorrelaed, ρ = 0. The es saisic is This model is viewed as a resriced model, whereas he full or unresriced model has p lagged dependen variables. 3 Since missing values in lagged residuals are filled wih zero, he number of observaions used in he model is he same as ha in he original model.

4 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 4 d T = = T ( e e 1) = 1 e From he Durbin-Wason saisic able (T and k), we ge he following decision crieria. 4 0 d * d d L U U * d 4 L Rejec H 0 Inconclusive Do no rejec H 0 Inconclusive Rejec H 0 ρ > 0 (uncerain) H 0 : ρ = 0 (uncerain) ρ < 0 D-W d ranges from zero (perfec posiive auocorrelaion) o 4 (perfec negaive auocorrelaion). Noe ha here are wo inconclusive areas where he null hypohesis canno be esed properly. The upper and lower limis reflec ha he sequence of disurbances depends no only on he sequence of residuals bu also on he sequence of values of independen variables (Derick Boyd s memo). The presence of inconclusive regions, which will large in a small sample, implies shorcomings in pracice (Greene 003). The relaionship beween D-W d and auocorrelaion coefficien is known as e1 + et DW = (1 r) T e = 1 When he sample is large, he las erm above will be negligible. Thus, DW (1 ˆ ρ) or ˆ ρ 1 DW The Durbin-Wason es has been found o be quie powerful when compared wih ohers for AR(1) processes. However, he es is no likely o be valid when here is a lagged dependen variable in he equaion (Greene 003). 3.4 Durbin h for AR(1) wih a Lagged Dependen Variable D-W d is ofen biased oward a finding of no auocorrelaion (DW=) (Greene 003). Durbin (1970) proposes a Lagrange muliplier saisic o es auocorrelaion in he presence of a lagged dependen variable. D-W d and Durbin h are known as asympoically equivalen. T d T h r 1 =, where Ts lag < 1. 1 Tslag 1 Tslag T is he number of observaions used in he model wih a lagged dependen variable. Compared o D-W d, Durbin h loses one observaion in compuaion. slag is he esimaed variance of he OLS coefficien of he lagged dependen variable Y -1. Simply, his variance is he squared 4 k is he number of regressors excluding he inercep.

5 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 5 s lag is also an elemen in he diagonal of he variance- sandard error of he parameer esimaor. covariance marix. The h saisic is approximaely normally disribued wih zero mean and uni variance. Noe ha his h es is he one-ailed es. 3.5 Sofware Issue The Table 3.1 summarizes procedures and commands ha conduc AR(1) es. STATA.durbina command produces a chi-squared saisic, which is differen from he z score. Table 3.1 Comparison of Compuing Tes Saisics SAS 9.3 STATA 9. LIMDEP 8.0 B-G LM AUTOREG /GODFREY=1.bgodfrey,lags(p) - D-W d REG /DW AUTOREG /DW=1.dwsa (.esa dwason) Regress D-W h AUTOREG /LAGDV= DW=1.durbina (.esa durbinal) - B-P Q L-B Q * Box-Pierce Q and Ljung-Box Q are no suppored by saisical sofware. 4. Correcing Auocorrelaion The auoregressive error model correcs auocorrelaion. If Ω is known, you may ake he generalized leas squares (GLS) mehod. Oherwise, you have o esimae he feasible generalized leas squares (FGLS). If an auoregressive error model also suffers from heeroscedasiciy, you may ry he generalized auoregressive condiional heeroscedasiciy (GARCH) model. 4.1 Generalized Leas Squares If Ω is known, he generalized leas squares esimaor is ˆ 1 1 β = ( X ' Ω X ) X ' Ω 1 1 consisen. The variance of parameer esimaes is Var( ˆ) β = σ ( X ' Ω X ). ε 1 y, which is GLS needs ransformaion of dependen variable, independen variables, and he inercep. See he following. 1 ρ Since ρ ρ P = in AR(1), ρ 1 1 ρ y 1 1 ρ 1 ρ x ρ xk1 * y ρy1 Y = *, 1 ρ x1 ρx11... xk ρxk1 X = y T ρy T 1 1 ρ x1, T ρx1, T 1... xk, T ρxk, T 1

6 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 6 Then, regress Y * on X *. In SAS and STATA, he inercep should be suppressed. 4. Feasible Generalized Leas Squares In he real world Ω is ofen unknown. So he feasible generalized leas squares (FGLS) seems o be more plausible han GLS. FGLS begins wih esimaing ρ. The following mehods are commonly used. r 1 T = e e 1 = e r1 1 DW Theil s (1971) adjused esimaor r adj r *( T K) /( T 1). 1 Once you compue r, again perform daa ransformaion. Do no forge o ransform he inercep erm. The Prais-Winsen (1954) and Cochrane-Orcu (1949) FGLS can be boh wo-sepped and ieraive. The Prais-Winsen esimaor uses all observaions, while he Cochrane-Orcu FGLS ignores he firs observaion. The Prais-Winsen FGLS is ofen called he Yule-Walker mehod in SAS (METHOD=YW). You may ierae he procedure o ge more saisfacory oupus. SAS provides wo-sep, ieraive wo-sep, and maximum likelihood mehods, while STATA suppors he firs wo mehods. Insead, STATA allows researchers o use various ρ esimaors. In addiion o wo-sep, ieraive wo-sep, and maximum likelihood mehods, LIMDEP suppors he Haanaka s (1974) model for auocorrelaion wih a lagged dependen variable, which is asympoically equivalen o he maximum likelihood model. 4.3 Sofware Issue The Table 4.1 summarizes esimaion mehods suppored in each saisical sofware. Table 4.1 Comparison Esimaion Mehods SAS 9.3 STATA 9. LIMDEP 8.0 OLS REG.regress Regress -sep P-W AUTOREG /YW.prais, wosep Regress;AR1;Maxi=1;Rho= -sep C-O -.prais, corc wosep Regress;AR1;Maxi=1;Alg=C;Rho= -sep P-W (dw) -.prais, rhoype(dw) wosep Regress;AR1;Maxi=1 -sep C-O (dw) -.prais, rho(dw) corc wosep Regress;AR1;Alg=Corc;Maxi=1 Ieraive P-W AUTOREG /ITYW.prais Regress;AR1; Ieraive C-O -.prais, corc Regress;AR1;Alg=Corc MLE AUTOREG /ML - Regress;AR1;Alg=MLE Two-sage (IV) - - SLS;Ins;AR1;Haanaka GARCH AUTOREG /GARCH.arch, garch(p) Regress;Model=Garch(p,q,1) * The defaul ypes of rho are auocorrelaion coefficien in SAS, residual regression-based rho in STATA, and he D-W d-based rho in LIMDEP.

7 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 7 5. Example: Deecing Auocorrelaion This secion illusraes how o deec auocorrelaion using STATA and SAS. 5.1 STATA STATA has he.dwsa command for D-W d and.durbina for he Durbin h saisic. These commands are posesimaion commands of he.regress. The.durbina produces a chisquared saisic insead of a z score and reurns a slighly differen p-value Daa Preparaion The daa are downloaded from Greene s webpage a hp://pages.sern.nyu.edu/~wgreene. This daa se for he U.S. Gasoline Marke, , is drawn from he Economic Repor of he Presiden: 1996, Council of Economic Advisors, The variables included are G = Toal U.S. gasoline consumpion, compued as oal expendiure divided by price index. Pg = Price index for gasoline, Y = Per capia disposable income, Pnc = Price index for new cars, Puc = Price index for used cars, Pp = Price index for public ransporaion, Pd = Aggregae price index for consumer durables, Pn = Aggregae price index for consumer nondurables, Ps = Aggregae price index for consumer services, Pop = U.S. oal populaion in millions.. infile Year G Pg Y Pnc Puc Pp Pd Pn Ps Pop /// using hp://pages.sern.nyu.edu/~wgreene/tex/ables/tablef-.x, clear. drop if Year==.. sse Year ime variable: Year, 1960 o gen lng=ln(g/pop). gen lnpg=ln(pg). gen lni=ln(y). gen lnpnc=ln(pnc). gen lnpuc=ln(puc). sum ln* Variable Obs Mean Sd. Dev. Min Max lng lnpg lni lnpnc lnpuc global OLS "lng lnpg lni" // OLS. global OLS "lng l1.lng lnpg lni" // OLS for Durbin h. global K=5

8 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 8. regress $OLS Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE = lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons predic e, residuals. gen e_=e^. gen ee1=e*l.e. gen e1_=l.e^. gen e_e1_=(e-l.e)^. lis e l.e e_ ee1 e1_ e_e1_ in 1/ e L.e e_ ee1 e1_ e_e1_ absa e e_ ee1 e1_ e_e1_, sa(n sum mean) save sas e e_ ee1 e1_ e_e1_ N sum -3.73e mean -1.03e marix sum=r(satoal). local s_e_ = sum[,] // local s_ee1 = sum[,3] // local s_e1_ = sum[,4] // local s_e_e1_ = sum[,5] // global T = sum[1,1] // Breusch-Godfrey LM Tes Unlike he Durbin-Wason d es, he Breusch-Godfrey Lagrange muliplier es can be applied o general AR(p) processes. The STATA.bgodfrey, a posesimaion command, compues he saisic up o he ph order. Compare he four LM saisics wih hose in quiely regress $OLS (oupu is skipped). bgodfrey,lags(1) Breusch-Godfrey LM es for auocorrelaion lags(p) chi df Prob > chi

9 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: H0: no serial correlaion. bgodfrey,lags() Breusch-Godfrey LM es for auocorrelaion lags(p) chi df Prob > chi H0: no serial correlaion. bgodfrey,lags(3) Breusch-Godfrey LM es for auocorrelaion lags(p) chi df Prob > chi H0: no serial correlaion. bgodfrey,lags($lag) // equivalen o.esa bgodfrey,lags() Breusch-Godfrey LM es for auocorrelaion lags(p) chi df Prob > chi H0: no serial correlaion In order o manually compue he LM saisic, creae p lagged residuals and regress residuals on all independen variables and all lagged residuals. Do no forge o fill missing in he lagged residuals wih zero.. gen e1=l1.e. replace e1=0 if e1==. Now run he OLS o ge R.. regress e lnpg lni e1 Source SS df MS Number of obs = F( 3, 3) = 9. Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.038 e Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni e _cons The LM saisic is T*R, which follows a chi-squared disribuion wih p degrees of freedom.. local r=e(r). local lm = ($T)*`r'. disp `lm' // LM saisic

10 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: disp chiail(1, `lm') // p-value Q and Q Tes Now, consider Box-Pierce Q and Ljung-Box Q saisics. Firs compue individual auocorrelaion coefficiens up o he ph order.. regress lnpg lni lnpnc lnpuc e1 // for AR(1) Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.181 lnpg Coef. Sd. Err. P> [95% Conf. Inerval] lni lnpnc lnpuc e _cons gen ee=e^. gen ee1=e*e1. absa ee ee1, sa(n sum mean) save // for AR(1) sas ee ee N sum mean marix sum=r(satoal). local r1=sum[,]/sum[,1]. local Q = $T*(`r1'^) // for AR(1). disp `Q' disp chiail(1,`q') // for AR(1) local Q1 = $T*($T+)*(`r1'^/($T-1)) // for AR(1). disp `Q1' disp chiail(1,`q1') // for AR(1) AS and STATA do no have opion or command o compue Q or Q Durbin-Wason d Tes

11 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 11 Firs, le us compue D-W d manually o make sure i is idenical o he saisic provided by STATA. Noe ha.dwsa and.esa dwason are equivalen.. local dw= `s_e_e1_'/`s_e_' // dwsa // equivalen o.esa dwason Durbin-Wason d-saisic( 5, 36) = local rho=1-`dw'/ // DW based rho: rhoype(dw) local rho=`s_ee1'/`s_e_' // Auocorrelaion rho: rhoype(scorr) Durbin h Tes Finally, le us compue he Durbin h for a model wih a lagged dependen variable. Noe ha Durbin h is no a wo-ailed es, bu a one-ailed es.. regress $OLS Source SS df MS Number of obs = F( 5, 9) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.018 lng Coef. Sd. Err. P> [95% Conf. Inerval] lng L lnpg lni lnpnc lnpuc _cons marix lis e(v) symmeric e(v)[6,6] L. lng lnpg lni lnpnc lnpuc _cons L.lnG lnpg lni lnpnc lnpuc _cons marix V = e(v). local v_lag = V[1,1] // variance of coefficien of he lagged DV. predic e, residuals. gen e_=e^. gen ee1=e*l.e. lis e l.e e_ ee1 in 1/ e L.e e_ ee e

12 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: absa e e_ ee1, sa(n sum mean) save sas e e_ ee N sum -1.86e mean -5.3e marix sum=r(satoal). local s_e_ = sum[,] // local s_ee1 = sum[,3] // global T = sum[1,1] // 35. local rho=`s_ee1'/`s_e_' // Auocorrelaion rho: rhoype(scorr). disp `rho' disp $T*`v_lag' // o check if Ts < local h = `rho'*sqr($t/(1-$t*`v_lag')). disp `h' disp 1-norm(`h') SAS AUTOREG procedure reurns he same Durbin h.9575 (See 5..). Using he alernaive erm ˆ ρ 1 DW will give you a quie differen saisic largely because his sample is no large sufficienly.. dwsa // equivalen o esa dwason Durbin-Wason d-saisic( 6, 35) = marix dw = r(dw). local dw = dw[1,1] // dw. local h = (1-`dw'/)*sqr($T/(1-$T*`v_lag')). disp `h' disp 1-norm(`h') Le us run eiher.durbina or.esa durbinal o conduc he Durbin s alernaive es, which produces a chi-squared saisic whose p-value is differen from ha of h above.. durbina // equivalen o.esa durbinal Durbin's alernaive es for auocorrelaion lags(p) chi df Prob > chi H0: no serial correlaion 5. SAS REG and AUTOREG Procedure

13 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 13 In SAS, you may use he REG procedure of SAS/STAT and he AUTOREG procedure of SAS/ETS. REG compues he D-W d saisic, while AUTORE produces boh D-W d and Durbin h saisics SAS REG Procedure The /DW opion in he REG procedure compues he D-W d saisic. PROC REG DATA=masil.gasoline; MODEL lng = lnpg lni lnpnc lnpuc /DW; RUN; The REG Procedure Model: MODEL1 Dependen Variable: lng Number of Observaions Read 36 Number of Observaions Used 36 Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr > F Model <.0001 Error Correced Toal Roo MSE R-Square Dependen Mean Adj R-Sq Coeff Var Parameer Esimaes Parameer Sandard Variable DF Esimae Error Value Pr > Inercep <.0001 lnpg lni <.0001 lnpnc lnpuc Durbin-Wason D Number of Observaions 36 1s Order Auocorrelaion The firs order auocorrelaion in he REG procedure is compued using ee 1 and for he compuaion in he STATA. 5.. SAS AUTOREG Procedure e See 5.1. The AUTOREG procedure conducs D-W d and Breusch-Godfrey LM ess. You may specify he order in he DW= and GODFREY= opions. For example, he GODFREY=4 produces LM saisics up o 4 h order auoregression.

14 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 14 PROC AUTOREG DATA=masil.gasoline; MODEL lng = lnpg lni lnpnc lnpuc /DW=1 GODFREY=4 ; RUN; The AUTOREG Procedure Dependen Variable lng Ordinary Leas Squares Esimaes SSE DFE 31 MSE Roo MSE SBC AIC Regress R-Square Toal R-Square Durbin-Wason Godfrey's Serial Correlaion Tes Alernaive LM Pr > LM AR(1) <.0001 AR() <.0001 AR(3) AR(4) Sandard Approx Variable DF Esimae Error Value Pr > Inercep <.0001 lnpg lni <.0001 lnpnc lnpuc The AUTOREG procedure also compue Durbin h saisics wih he /LAGDV and DW opions. The /COVB opion reurns he variance and covariance marix of parameer esimaes. The variance of he coefficien of he lagged dependen variable is =.1139^. PROC AUTOREG DATA=masil.gasoline; MODEL lng = lng1 lnpg lni lnpnc lnpuc /LAGDV=lnG1 DW=1 DWPROB COVB; RUN; The AUTOREG Procedure Dependen Variable lng Ordinary Leas Squares Esimaes SSE DFE 9 MSE Roo MSE SBC AIC Regress R-Square Toal R-Square Durbin h Pr > h Durbin-Wason Sandard Approx Variable DF Esimae Error Value Pr > Inercep

15 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 15 lng <.0001 lnpg lni lnpnc lnpuc Covariance of Parameer Esimaes Inercep lng1 lnpg lni lnpnc lnpuc Inercep lng lnpg lni lnpnc lnpuc The AUTOREG procedure esimaes he linear regression model wih auocorrelaion correced using he /NLAG=1 opion indicaing he AR(1) process.

16 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: Correcing Auocorrelaion: Feasible Generalized Leas Squares This secion illusraes mehods o correc auocorrelaion using he Prais-Winsen s FGLS (Feasible Generalized Leas Squares) and he Cochrane-Orcu FGLS. If Ω is known, you may ry GLS (Generalized Leas Squares). 6.1 FGLS in STATA This secion illusraes how o esimae FGLS in STATA. See secion 5 for he descripion of he daa se used Daa Preparaion. infile Year G Pg Y Pnc Puc Pp Pd Pn Ps Pop /// using hp://pages.sern.nyu.edu/~wgreene/tex/ables/tablef-.x, clear. drop if Year==.. sse Year ime variable: Year, 1960 o gen lng=ln(g/pop). gen lnpg=ln(pg). gen lni=ln(y). gen lnpnc=ln(pnc). gen lnpuc=ln(puc). sum ln* // summary saisics Variable Obs Mean Sd. Dev. Min Max lng lnpg lni lnpnc lnpuc global OLS "lng lnpg lni lnpnc lnpuc". regress $OLS Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE = lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons predic e, residuals. gen e1=l.e. gen e_=e^. gen ee1=e*e1. gen e1_=e1^. gen e_e1_=(e-e1)^

17 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 17. absa e e1 e_ ee1 e1_ e_e1_, sa(n sum mean) save sas e e1 e_ ee1 e1_ e_e1_ N sum -3.73e mean -1.03e marix sum=r(satoal). local s_e_ = sum[,3] // local s_ee1 = sum[,4] // local s_e1_ = sum[,5] // local s_e_e1_ = sum[,6] // local T = sum[1,1] // Compuing Auocorrelaion Coefficien There are various ways of esimaing he auocorrelaion parameer ρ. Auoregressive effor models o correc auocorrelaion depend on he ρ esimaor and esimaion mehods such as ieraive and marix likelihood mehods. The ρ is ofen esimaed using auocorrelaion formula and Durbin-Wason d.. local rho=`s_ee1'/`s_e_' // Auocorrelaion rho: rhoype(scorr) dwsa // DW d Durbin-Wason d-saisic( 5, 36) = local dw= `s_e_e1_'/`s_e_' // DW d local rho = 1-`dw'/ // DW based rho: rhoype(dw) In addiion o scorr (auocorrelaion coefficien) and dw (D-W d-based rho), STATA provides heil (adjusmen of auocorrelaion coefficien), nagar (adjusmen of D-W d-based coefficien), regress (defaul opion, he coefficien of regression e on e -1 wihou inercep), and freg (he coefficien of regression e on e +1 wihou inercep) opions. local rho=`s_ee1'/`s_e_'*($t-$k)/($t) //Theil rho: rhoype(heil) local rho = ((1-`dw'/)*$T^+$K^)/($T^-$K^) // Nagar regress e e1, noc // for he rho based on regression on he lagged residuals Source SS df MS Number of obs = F( 1, 34) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.043 e Coef. Sd. Err. P> [95% Conf. Inerval] e marix b1 = e(b). local rho = b1[1,1]. disp `rho' // gen e0=e[_n+1] (1 missing value generaed)

18 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 18. quiely regress e e0, noc // rho based on regression wih he leaded residuals. marix b = e(b). local rho = b[1,1] // Once a ρ esimaor is deermined, variables and he inercep need o be ransformed using he esimaor.. foreach var of global OLS {. gen T`var' = sqr(1-`rho'^)*`var' if (_n==1) 3. replace T`var' = `var'-`rho'*`var'[_n-1] if (_n!=1) 4. }. gen Inercep = sqr(1-`rho'^) if (_n==1). replace Inercep = 1 -`rho' if (_n!=1) Alernaively, you may explicily ransform daa variable by variable as follows.. gen TlnG = sqr(1-`rho'^)*lng if (_n==1). replace TlnG = lng-`rho'*lng[_n-1] if (_n!=1). gen TlnPg = sqr(1-`rho'^)*lnpg if (_n==1). replace TlnPg = lnpg-`rho'*lnpg[_n-1] if (_n!=1). gen TlnI = sqr(1-`rho'^)*lni if (_n==1). replace TlnI = lni-`rho'*lni[_n-1] if (_n!=1). gen TlnPnc = sqr(1-`rho'^)*lnpnc if (_n==1). replace TlnPnc = lnpnc-`rho'*lnpnc[_n-1] if (_n!=1). gen TlnPuc = sqr(1-`rho'^)*lnpuc if (_n==1). replace TlnPuc = lnpuc-`rho'*lnpuc[_n-1] if (_n!=1) Prais-Winsen FGLS Now, you are ready o fis he Prais-Winsen FGLS wih he ransformed daa. The inercep should be suppressed in he OLS. Thus, he F es and R are no reliable. Le us firs uses he ρ esimaor compued from he auocorrelaion formula.. local rho=`s_ee1'/`s_e_' // Auocorrelaion rho: rhoype(scorr) (daa ransformaion is skipped). regress TlnG TlnPg TlnI TlnPnc TlnPuc Inercep, nocons // Prais-Winsen FGLS Source SS df MS Number of obs = F( 5, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0159 TlnG Coef. Sd. Err. P> [95% Conf. Inerval] TlnPg TlnI TlnPnc TlnPuc Inercep

19 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 19 The.prais command by defaul fis he Prais-Winsen FGLS. Use he rhoype(scorr) opion o specify he ype of ρ esimaor. The wosep opion sops ieraion afer he firs ieraion. The oupu is he same as he above. Compare SSM, he degree of freedom for he model, F o hose of he above.. prais $OLS, rhoype(scorr) wosep // Auocorrelaion Ieraion 0: rho = Ieraion 1: rho = Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0159 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) Le us use he D-W d-based ρ esimaor (=1-d/).. local rho = 1-`dw'/ // DW based rho: rhoype(dw) (daa ransformaion is skipped). regress TlnG TlnPg TlnI TlnPnc TlnPuc Inercep, nocons // Prais-Winsen FGLS Source SS df MS Number of obs = F( 5, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.013 TlnG Coef. Sd. Err. P> [95% Conf. Inerval] TlnPg TlnI TlnPnc TlnPuc Inercep The rhoype(dw) opion uses he D-W d-based ρ esimaor when esimaing auoregressive error models.. prais $OLS, rhoype(dw) wosep Ieraion 0: rho = Ieraion 1: rho =

20 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 0 Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = 67.4 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.013 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The following example uses he Theil s ρ esimaor, which adjuss he auocorrelaion coefficien.. local rho=`s_ee1'/`s_e_'*($t-$k)/($t) //Theil rho: rhoype(heil) prais $OLS, rhoype(heil) wosep // Theil rho Ieraion 0: rho = Ieraion 1: rho = Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.085 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The following uses he adjusmen of D-W d-based ρ esimaor.. local rho = ((1-`dw'/)*$T^+$K^)/($T^-$K^) // Nagar prais $OLS, rhoype(nagar) wosep Ieraion 0: rho = Ieraion 1: rho = Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = 58.73

21 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 1 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.007 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The following uses he defaul ype of ρ esimaor, which is obained by regressing e on e -1 wihou he inercep.. prais $OLS, rhoype(regress) wosep // defaul Ieraion 0: rho = Ieraion 1: rho = Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0148 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The following uses he ρ esimaor obained by regressing e on e +1 wihou he inercep.. prais $OLS, rhoype(freg) wosep Ieraion 0: rho = Ieraion 1: rho = Prais-Winsen AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.019 lng Coef. Sd. Err. P> [95% Conf. Inerval]

22 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) Cochrane-Orcu FGLS Like Prais-Winsen FGLS, Cochrane-Orcu FGLS runs OLS wih he ransform daa. Unlike he Prais-Winsen, he Cochrane-Orcu ignores he firs observaion. Le us begin wih Cochrane-Orcu FGLS using he auocorrelaion coefficien.. regress TlnG TlnPg TlnI TlnPnc TlnPuc Inercep if _n > 1, nocons Source SS df MS Number of obs = F( 5, 30) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0183 TlnG Coef. Sd. Err. P> [95% Conf. Inerval] TlnPg TlnI TlnPnc TlnPuc Inercep The.prais command has he corc opion o esimae Cochrane-Orcu FGLS.. prais $OLS, rhoype(scorr) wosep corc Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0183 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original)

23 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 3 Durbin-Wason saisic (ransformed) The following wo oupus use he D-W d-based ρ esimaor.. regress TlnG TlnPg TlnI TlnPnc TlnPuc Inercep if _n > 1, nocons Source SS df MS Number of obs = F( 5, 30) = 8.41 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0159 TlnG Coef. Sd. Err. P> [95% Conf. Inerval] TlnPg TlnI TlnPnc TlnPuc Inercep prais $OLS, rhoype(dw) wosep corc Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0159 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The followings esimae oher auoregressive error models using oher ρ esimaors such as Theil s esimaor. Pay aenion o he rhoype() opion.. prais $OLS, rhoype(heil) wosep corc Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.083

24 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 4 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) prais $OLS, rhoype(nagar) wosep corc Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = 7.31 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0104 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) prais $OLS, rhoype(regress) wosep corc // defaul Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0174 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) prais $OLS, rhoype(freg) wosep corc

25 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 5 Ieraion 0: rho = Ieraion 1: rho = Cochrane-Orcu AR(1) regression -- wosep esimaes Source SS df MS Number of obs = F( 4, 30) = 33.8 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0158 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) Ieraive Prais-Winsen and Cochrane-Orcu FGLS STATA provides he ieraive wo-sep esimaion mehod for he Prais-Winsen and Cochrane- Orcu FGLS.. prais $OLS, rhoype(scorr) // Ieraive Prais-Winsen FGLS Ieraion 0: rho = Ieraion 1: rho = Ieraion : rho = Ieraion 3: rho = Ieraion 4: rho = Ieraion 5: rho = Ieraion 6: rho = Ieraion 7: rho = Ieraion 8: rho = Ieraion 9: rho = Ieraion 10: rho = Ieraion 11: rho = Ieraion 1: rho = Ieraion 13: rho = Ieraion 14: rho = Ieraion 15: rho = Ieraion 16: rho = Prais-Winsen AR(1) regression -- ieraed esimaes Source SS df MS Number of obs = F( 4, 31) = Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0189 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons

26 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 6 rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) The following example is he ieraive Cochrane-Orcu FGLS.. prais $OLS, rhoype(scorr)corc // Ieraive Cochrane-Orcu FGLS Ieraion 0: rho = Ieraion 1: rho = Ieraion : rho = Ieraion 3: rho = Ieraion 4: rho = Ieraion 5: rho = Ieraion 6: rho = Ieraion 7: rho = Ieraion 8: rho = Ieraion 9: rho = Ieraion 10: rho = Ieraion 11: rho = Ieraion 1: rho = Ieraion 13: rho = Ieraion 14: rho = Cochrane-Orcu AR(1) regression -- ieraed esimaes Source SS df MS Number of obs = F( 4, 30) = 1.15 Model Prob > F = Residual R-squared = Adj R-squared = Toal Roo MSE =.0188 lng Coef. Sd. Err. P> [95% Conf. Inerval] lnpg lni lnpnc lnpuc _cons rho Durbin-Wason saisic (original) Durbin-Wason saisic (ransformed) FGLS in SAS SAS suppor boh (ieraive) wo-sep Prais-Winen and maximum likelihood algorihms Two-sep Prais-Winsen Esimaion Once variables are ransformed, run OLS wih he inercep suppressed in he REG procedure. SAS by defaul uses he auocorrelaion coefficien as he ρ esimaor. PROC REG DATA=masil.gasoline; MODEL TlnG = Inercep TlnPg TlnI TlnPnc TlnPuc /NOINT; RUN; The REG Procedure Model: MODEL1 Dependen Variable: TlnG

27 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 7 Number of Observaions Read 36 Number of Observaions Used 36 NOTE: No inercep in model. R-Square is redefined. Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr > F Model <.0001 Error Uncorreced Toal Roo MSE R-Square Dependen Mean Adj R-Sq Coeff Var Parameer Esimaes Parameer Sandard Variable DF Esimae Error Value Pr > Inercep <.0001 TlnPg TlnI <.0001 TlnPnc TlnPuc The AUTOREG procedure esimaes auoregressive error models wihou daa ransformaion. The /NLAG=1 specifies he firs-order auocorrelaion. AUTOREG by defaul (METHOD=YW) compues he Yule-Walker (Prais-Winsen) FGLS esimaes. PROC AUTOREG DATA=masil.gasoline; MODEL lng = lnpg lni lnpnc lnpuc /NLAG=1; RUN; The AUTOREG Procedure Dependen Variable lng Ordinary Leas Squares Esimaes SSE DFE 31 MSE Roo MSE SBC AIC Regress R-Square Toal R-Square Durbin-Wason Sandard Approx Variable DF Esimae Error Value Pr > Inercep <.0001 lnpg lni <.0001 lnpnc lnpuc Esimaes of Auocorrelaions

28 Jeeshim and KUCC65 (7/18/006) Auocorrelaion and he AR(1) Process: 8 Lag Covariance Correlaion ******************** ************* Preliminary MSE Esimaes of Auoregressive Parameers Sandard Lag Coefficien Error Value Yule-Walker Esimaes SSE DFE 30 MSE Roo MSE SBC AIC Regress R-Square Toal R-Square Durbin-Wason Sandard Approx Variable DF Esimae Error Value Pr > Inercep <.0001 lnpg lni <.0001 lnpnc lnpuc Ieraive Two-sep Prais-Winsen Esimaion The AUTOREG procedure can correc auocorrelaion using he ieraive Yule-Walker mehod (METHOD=ITYW). PROC AUTOREG DATA=masil.gasoline; MODEL lng = lnpg lni lnpnc lnpuc /NLAG=1 METHOD=ITYW; RUN; The AUTOREG Procedure Dependen Variable lng Ordinary Leas Squares Esimaes SSE DFE 31 MSE Roo MSE SBC AIC Regress R-Square Toal R-Square Durbin-Wason Sandard Approx Variable DF Esimae Error Value Pr > Inercep <.0001 lnpg lni <.0001 lnpnc lnpuc

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t Exercise 7 C P = α + β R P + u C = αp + βr + v (a) (b) C R = α P R + β + w (c) Assumpions abou he disurbances u, v, w : Classical assumions on he disurbance of one of he equaions, eg. on (b): E(v v s P,

More information

Econ Autocorrelation. Sanjaya DeSilva

Econ Autocorrelation. Sanjaya DeSilva Econ 39 - Auocorrelaion Sanjaya DeSilva Ocober 3, 008 1 Definiion Auocorrelaion (or serial correlaion) occurs when he error erm of one observaion is correlaed wih he error erm of any oher observaion. This

More information

Regression with Time Series Data

Regression with Time Series Data Regression wih Time Series Daa y = β 0 + β 1 x 1 +...+ β k x k + u Serial Correlaion and Heeroskedasiciy Time Series - Serial Correlaion and Heeroskedasiciy 1 Serially Correlaed Errors: Consequences Wih

More information

Generalized Least Squares

Generalized Least Squares Generalized Leas Squares Augus 006 1 Modified Model Original assumpions: 1 Specificaion: y = Xβ + ε (1) Eε =0 3 EX 0 ε =0 4 Eεε 0 = σ I In his secion, we consider relaxing assumpion (4) Insead, assume

More information

Distribution of Least Squares

Distribution of Least Squares Disribuion of Leas Squares In classic regression, if he errors are iid normal, and independen of he regressors, hen he leas squares esimaes have an exac normal disribuion, no jus asympoic his is no rue

More information

Stationary Time Series

Stationary Time Series 3-Jul-3 Time Series Analysis Assoc. Prof. Dr. Sevap Kesel July 03 Saionary Time Series Sricly saionary process: If he oin dis. of is he same as he oin dis. of ( X,... X n) ( X h,... X nh) Weakly Saionary

More information

Wisconsin Unemployment Rate Forecast Revisited

Wisconsin Unemployment Rate Forecast Revisited Wisconsin Unemploymen Rae Forecas Revisied Forecas in Lecure Wisconsin unemploymen November 06 was 4.% Forecass Poin Forecas 50% Inerval 80% Inerval Forecas Forecas December 06 4.0% (4.0%, 4.0%) (3.95%,

More information

Licenciatura de ADE y Licenciatura conjunta Derecho y ADE. Hoja de ejercicios 2 PARTE A

Licenciatura de ADE y Licenciatura conjunta Derecho y ADE. Hoja de ejercicios 2 PARTE A Licenciaura de ADE y Licenciaura conjuna Derecho y ADE Hoja de ejercicios PARTE A 1. Consider he following models Δy = 0.8 + ε (1 + 0.8L) Δ 1 y = ε where ε and ε are independen whie noise processes. In

More information

GMM - Generalized Method of Moments

GMM - Generalized Method of Moments GMM - Generalized Mehod of Momens Conens GMM esimaion, shor inroducion 2 GMM inuiion: Maching momens 2 3 General overview of GMM esimaion. 3 3. Weighing marix...........................................

More information

Dynamic Models, Autocorrelation and Forecasting

Dynamic Models, Autocorrelation and Forecasting ECON 4551 Economerics II Memorial Universiy of Newfoundland Dynamic Models, Auocorrelaion and Forecasing Adaped from Vera Tabakova s noes 9.1 Inroducion 9.2 Lags in he Error Term: Auocorrelaion 9.3 Esimaing

More information

Distribution of Estimates

Distribution of Estimates Disribuion of Esimaes From Economerics (40) Linear Regression Model Assume (y,x ) is iid and E(x e )0 Esimaion Consisency y α + βx + he esimaes approach he rue values as he sample size increases Esimaion

More information

Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1

Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1 Vecorauoregressive Model and Coinegraion Analysis Par V Time Series Analysis Dr. Sevap Kesel 1 Vecorauoregression Vecor auoregression (VAR) is an economeric model used o capure he evoluion and he inerdependencies

More information

(10) (a) Derive and plot the spectrum of y. Discuss how the seasonality in the process is evident in spectrum.

(10) (a) Derive and plot the spectrum of y. Discuss how the seasonality in the process is evident in spectrum. January 01 Final Exam Quesions: Mark W. Wason (Poins/Minues are given in Parenheses) (15) 1. Suppose ha y follows he saionary AR(1) process y = y 1 +, where = 0.5 and ~ iid(0,1). Le x = (y + y 1 )/. (11)

More information

Properties of Autocorrelated Processes Economics 30331

Properties of Autocorrelated Processes Economics 30331 Properies of Auocorrelaed Processes Economics 3033 Bill Evans Fall 05 Suppose we have ime series daa series labeled as where =,,3, T (he final period) Some examples are he dail closing price of he S&500,

More information

Comparing Means: t-tests for One Sample & Two Related Samples

Comparing Means: t-tests for One Sample & Two Related Samples Comparing Means: -Tess for One Sample & Two Relaed Samples Using he z-tes: Assumpions -Tess for One Sample & Two Relaed Samples The z-es (of a sample mean agains a populaion mean) is based on he assumpion

More information

Modeling and Forecasting Volatility Autoregressive Conditional Heteroskedasticity Models. Economic Forecasting Anthony Tay Slide 1

Modeling and Forecasting Volatility Autoregressive Conditional Heteroskedasticity Models. Economic Forecasting Anthony Tay Slide 1 Modeling and Forecasing Volailiy Auoregressive Condiional Heeroskedasiciy Models Anhony Tay Slide 1 smpl @all line(m) sii dl_sii S TII D L _ S TII 4,000. 3,000.1.0,000 -.1 1,000 -. 0 86 88 90 9 94 96 98

More information

Cointegration and Implications for Forecasting

Cointegration and Implications for Forecasting Coinegraion and Implicaions for Forecasing Two examples (A) Y Y 1 1 1 2 (B) Y 0.3 0.9 1 1 2 Example B: Coinegraion Y and coinegraed wih coinegraing vecor [1, 0.9] because Y 0.9 0.3 is a saionary process

More information

1. Diagnostic (Misspeci cation) Tests: Testing the Assumptions

1. Diagnostic (Misspeci cation) Tests: Testing the Assumptions Business School, Brunel Universiy MSc. EC5501/5509 Modelling Financial Decisions and Markes/Inroducion o Quaniaive Mehods Prof. Menelaos Karanasos (Room SS269, el. 01895265284) Lecure Noes 6 1. Diagnosic

More information

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests Ouline Ouline Hypohesis Tes wihin he Maximum Likelihood Framework There are hree main frequenis approaches o inference wihin he Maximum Likelihood framework: he Wald es, he Likelihood Raio es and he Lagrange

More information

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H. ACE 56 Fall 5 Lecure 8: The Simple Linear Regression Model: R, Reporing he Resuls and Predicion by Professor Sco H. Irwin Required Readings: Griffihs, Hill and Judge. "Explaining Variaion in he Dependen

More information

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H. ACE 56 Fall 005 Lecure 5: he Simple Linear Regression Model: Sampling Properies of he Leas Squares Esimaors by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Inference in he Simple

More information

Wednesday, November 7 Handout: Heteroskedasticity

Wednesday, November 7 Handout: Heteroskedasticity Amhers College Deparmen of Economics Economics 360 Fall 202 Wednesday, November 7 Handou: Heeroskedasiciy Preview Review o Regression Model o Sandard Ordinary Leas Squares (OLS) Premises o Esimaion Procedures

More information

Measurement Error 1: Consequences Page 1. Definitions. For two variables, X and Y, the following hold: Expectation, or Mean, of X.

Measurement Error 1: Consequences Page 1. Definitions. For two variables, X and Y, the following hold: Expectation, or Mean, of X. Measuremen Error 1: Consequences of Measuremen Error Richard Williams, Universiy of Nore Dame, hps://www3.nd.edu/~rwilliam/ Las revised January 1, 015 Definiions. For wo variables, X and Y, he following

More information

Lecture 5. Time series: ECM. Bernardina Algieri Department Economics, Statistics and Finance

Lecture 5. Time series: ECM. Bernardina Algieri Department Economics, Statistics and Finance Lecure 5 Time series: ECM Bernardina Algieri Deparmen Economics, Saisics and Finance Conens Time Series Modelling Coinegraion Error Correcion Model Two Seps, Engle-Granger procedure Error Correcion Model

More information

Detecting Structural Change and Testing for the Stability of Structural Coefficients

Detecting Structural Change and Testing for the Stability of Structural Coefficients Chaper 10 Deecing Srucural Change and Tesing for he Sabiliy of Srucural Coefficiens Secion 10.1 Inroducion By definiion, srucural change refers o non-consan srucural parameers over ime. In essence, he

More information

Solutions: Wednesday, November 14

Solutions: Wednesday, November 14 Amhers College Deparmen of Economics Economics 360 Fall 2012 Soluions: Wednesday, November 14 Judicial Daa: Cross secion daa of judicial and economic saisics for he fify saes in 2000. JudExp CrimesAll

More information

Forecasting optimally

Forecasting optimally I) ile: Forecas Evaluaion II) Conens: Evaluaing forecass, properies of opimal forecass, esing properies of opimal forecass, saisical comparison of forecas accuracy III) Documenaion: - Diebold, Francis

More information

Chapter 5. Heterocedastic Models. Introduction to time series (2008) 1

Chapter 5. Heterocedastic Models. Introduction to time series (2008) 1 Chaper 5 Heerocedasic Models Inroducion o ime series (2008) 1 Chaper 5. Conens. 5.1. The ARCH model. 5.2. The GARCH model. 5.3. The exponenial GARCH model. 5.4. The CHARMA model. 5.5. Random coefficien

More information

Chapter 16. Regression with Time Series Data

Chapter 16. Regression with Time Series Data Chaper 16 Regression wih Time Series Daa The analysis of ime series daa is of vial ineres o many groups, such as macroeconomiss sudying he behavior of naional and inernaional economies, finance economiss

More information

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles Diebold, Chaper 7 Francis X. Diebold, Elemens of Forecasing, 4h Ediion (Mason, Ohio: Cengage Learning, 006). Chaper 7. Characerizing Cycles Afer compleing his reading you should be able o: Define covariance

More information

The Overlapping Data Problem

The Overlapping Data Problem Quaniaive and Qualiaive Analysis in Social Sciences Volume 3, Issue 3, 009, 78-115 ISSN: 175-895 The Overlapping Daa Problem Ardian Harri a Mississipi Sae Universiy B. Wade Brorsen b Oklahoma Sae Universiy

More information

Testing the Random Walk Model. i.i.d. ( ) r

Testing the Random Walk Model. i.i.d. ( ) r he random walk heory saes: esing he Random Walk Model µ ε () np = + np + Momen Condiions where where ε ~ i.i.d he idea here is o es direcly he resricions imposed by momen condiions. lnp lnp µ ( lnp lnp

More information

Robust estimation based on the first- and third-moment restrictions of the power transformation model

Robust estimation based on the first- and third-moment restrictions of the power transformation model h Inernaional Congress on Modelling and Simulaion, Adelaide, Ausralia, 6 December 3 www.mssanz.org.au/modsim3 Robus esimaion based on he firs- and hird-momen resricions of he power ransformaion Nawaa,

More information

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H. ACE 564 Spring 2006 Lecure 7 Exensions of The Muliple Regression Model: Dumm Independen Variables b Professor Sco H. Irwin Readings: Griffihs, Hill and Judge. "Dumm Variables and Varing Coefficien Models

More information

Dynamic Econometric Models: Y t = + 0 X t + 1 X t X t k X t-k + e t. A. Autoregressive Model:

Dynamic Econometric Models: Y t = + 0 X t + 1 X t X t k X t-k + e t. A. Autoregressive Model: Dynamic Economeric Models: A. Auoregressive Model: Y = + 0 X 1 Y -1 + 2 Y -2 + k Y -k + e (Wih lagged dependen variable(s) on he RHS) B. Disribued-lag Model: Y = + 0 X + 1 X -1 + 2 X -2 + + k X -k + e

More information

ECON 482 / WH Hong Time Series Data Analysis 1. The Nature of Time Series Data. Example of time series data (inflation and unemployment rates)

ECON 482 / WH Hong Time Series Data Analysis 1. The Nature of Time Series Data. Example of time series data (inflation and unemployment rates) ECON 48 / WH Hong Time Series Daa Analysis. The Naure of Time Series Daa Example of ime series daa (inflaion and unemploymen raes) ECON 48 / WH Hong Time Series Daa Analysis The naure of ime series daa

More information

14 Autoregressive Moving Average Models

14 Autoregressive Moving Average Models 14 Auoregressive Moving Average Models In his chaper an imporan parameric family of saionary ime series is inroduced, he family of he auoregressive moving average, or ARMA, processes. For a large class

More information

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin ACE 56 Fall 005 Lecure 4: Simple Linear Regression Model: Specificaion and Esimaion by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Simple Regression: Economic and Saisical Model

More information

Bias in Conditional and Unconditional Fixed Effects Logit Estimation: a Correction * Tom Coupé

Bias in Conditional and Unconditional Fixed Effects Logit Estimation: a Correction * Tom Coupé Bias in Condiional and Uncondiional Fixed Effecs Logi Esimaion: a Correcion * Tom Coupé Economics Educaion and Research Consorium, Naional Universiy of Kyiv Mohyla Academy Address: Vul Voloska 10, 04070

More information

The Simple Linear Regression Model: Reporting the Results and Choosing the Functional Form

The Simple Linear Regression Model: Reporting the Results and Choosing the Functional Form Chaper 6 The Simple Linear Regression Model: Reporing he Resuls and Choosing he Funcional Form To complee he analysis of he simple linear regression model, in his chaper we will consider how o measure

More information

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Kriging Models Predicing Arazine Concenraions in Surface Waer Draining Agriculural Waersheds Paul L. Mosquin, Jeremy Aldworh, Wenlin Chen Supplemenal Maerial Number

More information

DEPARTMENT OF STATISTICS

DEPARTMENT OF STATISTICS A Tes for Mulivariae ARCH Effecs R. Sco Hacker and Abdulnasser Haemi-J 004: DEPARTMENT OF STATISTICS S-0 07 LUND SWEDEN A Tes for Mulivariae ARCH Effecs R. Sco Hacker Jönköping Inernaional Business School

More information

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS Name SOLUTIONS Financial Economerics Jeffrey R. Russell Miderm Winer 009 SOLUTIONS You have 80 minues o complee he exam. Use can use a calculaor and noes. Try o fi all your work in he space provided. If

More information

Time series Decomposition method

Time series Decomposition method Time series Decomposiion mehod A ime series is described using a mulifacor model such as = f (rend, cyclical, seasonal, error) = f (T, C, S, e) Long- Iner-mediaed Seasonal Irregular erm erm effec, effec,

More information

OBJECTIVES OF TIME SERIES ANALYSIS

OBJECTIVES OF TIME SERIES ANALYSIS OBJECTIVES OF TIME SERIES ANALYSIS Undersanding he dynamic or imedependen srucure of he observaions of a single series (univariae analysis) Forecasing of fuure observaions Asceraining he leading, lagging

More information

Økonomisk Kandidateksamen 2005(II) Econometrics 2. Solution

Økonomisk Kandidateksamen 2005(II) Econometrics 2. Solution Økonomisk Kandidaeksamen 2005(II) Economerics 2 Soluion his is he proposed soluion for he exam in Economerics 2. For compleeness he soluion gives formal answers o mos of he quesions alhough his is no always

More information

How to Deal with Structural Breaks in Practical Cointegration Analysis

How to Deal with Structural Breaks in Practical Cointegration Analysis How o Deal wih Srucural Breaks in Pracical Coinegraion Analysis Roselyne Joyeux * School of Economic and Financial Sudies Macquarie Universiy December 00 ABSTRACT In his noe we consider he reamen of srucural

More information

CHAPTER 17: DYNAMIC ECONOMETRIC MODELS: AUTOREGRESSIVE AND DISTRIBUTED-LAG MODELS

CHAPTER 17: DYNAMIC ECONOMETRIC MODELS: AUTOREGRESSIVE AND DISTRIBUTED-LAG MODELS Basic Economerics, Gujarai and Porer CHAPTER 7: DYNAMIC ECONOMETRIC MODELS: AUTOREGRESSIVE AND DISTRIBUTED-LAG MODELS 7. (a) False. Economeric models are dynamic if hey porray he ime pah of he dependen

More information

Applied Time Series Notes White noise: e t mean 0, variance 5 2 uncorrelated Moving Average

Applied Time Series Notes White noise: e t mean 0, variance 5 2 uncorrelated Moving Average Applied Time Series Noes Whie noise: e mean 0, variance 5 uncorrelaed Moving Average Order 1: (Y. ) œ e ) 1e -1 all Order q: (Y. ) œ e ) e â ) e all 1-1 q -q ( 14 ) Infinie order: (Y. ) œ e ) 1e -1 ) e

More information

5. NONLINEAR MODELS [1] Nonlinear (NL) Regression Models

5. NONLINEAR MODELS [1] Nonlinear (NL) Regression Models 5. NONLINEAR MODELS [1] Nonlinear (NL) Regression Models General form of nonlinear or linear regression models: y = h(x,β) + ε, ε iid N(0,σ ). Assume ha he x and ε sochasically independen. his assumpion

More information

State-Space Models. Initialization, Estimation and Smoothing of the Kalman Filter

State-Space Models. Initialization, Estimation and Smoothing of the Kalman Filter Sae-Space Models Iniializaion, Esimaion and Smoohing of he Kalman Filer Iniializaion of he Kalman Filer The Kalman filer shows how o updae pas predicors and he corresponding predicion error variances when

More information

GDP Advance Estimate, 2016Q4

GDP Advance Estimate, 2016Q4 GDP Advance Esimae, 26Q4 Friday, Jan 27 Real gross domesic produc (GDP) increased a an annual rae of.9 percen in he fourh quarer of 26. The deceleraion in real GDP in he fourh quarer refleced a downurn

More information

4.1 Other Interpretations of Ridge Regression

4.1 Other Interpretations of Ridge Regression CHAPTER 4 FURTHER RIDGE THEORY 4. Oher Inerpreaions of Ridge Regression In his secion we will presen hree inerpreaions for he use of ridge regression. The firs one is analogous o Hoerl and Kennard reasoning

More information

( ) ln ( ) is a new random error term. Mathematically, the vt. behave according to

( ) ln ( ) is a new random error term. Mathematically, the vt. behave according to Time series observaions, which are drawn sequenially, usually embody a srucure where ime is an imporan componen. If you are unable o compleely model his srucure in he regression funcion iself, hen he remainder

More information

Estimation Uncertainty

Estimation Uncertainty Esimaion Uncerainy The sample mean is an esimae of β = E(y +h ) The esimaion error is = + = T h y T b ( ) = = + = + = = = T T h T h e T y T y T b β β β Esimaion Variance Under classical condiions, where

More information

Lecture 10 Estimating Nonlinear Regression Models

Lecture 10 Estimating Nonlinear Regression Models Lecure 0 Esimaing Nonlinear Regression Models References: Greene, Economeric Analysis, Chaper 0 Consider he following regression model: y = f(x, β) + ε =,, x is kx for each, β is an rxconsan vecor, ε is

More information

Lecture 15. Dummy variables, continued

Lecture 15. Dummy variables, continued Lecure 15. Dummy variables, coninued Seasonal effecs in ime series Consider relaion beween elecriciy consumpion Y and elecriciy price X. The daa are quarerly ime series. Firs model ln α 1 + α2 Y = ln X

More information

Solutions to Exercises in Chapter 12

Solutions to Exercises in Chapter 12 Chaper in Chaper. (a) The leas-squares esimaed equaion is given by (b)!i = 6. + 0.770 Y 0.8 R R = 0.86 (.5) (0.07) (0.6) Boh b and b 3 have he expeced signs; income is expeced o have a posiive effec on

More information

Testing for a Single Factor Model in the Multivariate State Space Framework

Testing for a Single Factor Model in the Multivariate State Space Framework esing for a Single Facor Model in he Mulivariae Sae Space Framework Chen C.-Y. M. Chiba and M. Kobayashi Inernaional Graduae School of Social Sciences Yokohama Naional Universiy Japan Faculy of Economics

More information

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models Journal of Saisical and Economeric Mehods, vol.1, no.2, 2012, 65-70 ISSN: 2241-0384 (prin), 2241-0376 (online) Scienpress Ld, 2012 A Specificaion Tes for Linear Dynamic Sochasic General Equilibrium Models

More information

The Effect of Nonzero Autocorrelation Coefficients on the Distributions of Durbin-Watson Test Estimator: Three Autoregressive Models

The Effect of Nonzero Autocorrelation Coefficients on the Distributions of Durbin-Watson Test Estimator: Three Autoregressive Models EJ Exper Journal of Economi c s ( 4 ), 85-9 9 4 Th e Au h or. Publi sh ed by Sp rin In v esify. ISS N 3 5 9-7 7 4 Econ omics.e xp erjou rn a ls.com The Effec of Nonzero Auocorrelaion Coefficiens on he

More information

Solutions to Odd Number Exercises in Chapter 6

Solutions to Odd Number Exercises in Chapter 6 1 Soluions o Odd Number Exercises in 6.1 R y eˆ 1.7151 y 6.3 From eˆ ( T K) ˆ R 1 1 SST SST SST (1 R ) 55.36(1.7911) we have, ˆ 6.414 T K ( ) 6.5 y ye ye y e 1 1 Consider he erms e and xe b b x e y e b

More information

Unit Root Time Series. Univariate random walk

Unit Root Time Series. Univariate random walk Uni Roo ime Series Univariae random walk Consider he regression y y where ~ iid N 0, he leas squares esimae of is: ˆ yy y y yy Now wha if = If y y hen le y 0 =0 so ha y j j If ~ iid N 0, hen y ~ N 0, he

More information

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate.

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate. Inroducion Gordon Model (1962): D P = r g r = consan discoun rae, g = consan dividend growh rae. If raional expecaions of fuure discoun raes and dividend growh vary over ime, so should he D/P raio. Since

More information

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8) I. Definiions and Problems A. Perfec Mulicollineariy Econ7 Applied Economerics Topic 7: Mulicollineariy (Sudenmund, Chaper 8) Definiion: Perfec mulicollineariy exiss in a following K-variable regression

More information

Chapter 11. Heteroskedasticity The Nature of Heteroskedasticity. In Chapter 3 we introduced the linear model (11.1.1)

Chapter 11. Heteroskedasticity The Nature of Heteroskedasticity. In Chapter 3 we introduced the linear model (11.1.1) Chaper 11 Heeroskedasiciy 11.1 The Naure of Heeroskedasiciy In Chaper 3 we inroduced he linear model y = β+β x (11.1.1) 1 o explain household expendiure on food (y) as a funcion of household income (x).

More information

Hypothesis Testing in the Classical Normal Linear Regression Model. 1. Components of Hypothesis Tests

Hypothesis Testing in the Classical Normal Linear Regression Model. 1. Components of Hypothesis Tests ECONOMICS 35* -- NOTE 8 M.G. Abbo ECON 35* -- NOTE 8 Hypohesis Tesing in he Classical Normal Linear Regression Model. Componens of Hypohesis Tess. A esable hypohesis, which consiss of wo pars: Par : a

More information

STAD57 Time Series Analysis. Lecture 5

STAD57 Time Series Analysis. Lecture 5 STAD57 Time Series Analysis Lecure 5 1 Exploraory Daa Analysis Check if given TS is saionary: µ is consan σ 2 is consan γ(s,) is funcion of h= s If no, ry o make i saionary using some of he mehods below:

More information

References are appeared in the last slide. Last update: (1393/08/19)

References are appeared in the last slide. Last update: (1393/08/19) SYSEM IDEIFICAIO Ali Karimpour Associae Professor Ferdowsi Universi of Mashhad References are appeared in he las slide. Las updae: 0..204 393/08/9 Lecure 5 lecure 5 Parameer Esimaion Mehods opics o be

More information

Computer Simulates the Effect of Internal Restriction on Residuals in Linear Regression Model with First-order Autoregressive Procedures

Computer Simulates the Effect of Internal Restriction on Residuals in Linear Regression Model with First-order Autoregressive Procedures MPRA Munich Personal RePEc Archive Compuer Simulaes he Effec of Inernal Resricion on Residuals in Linear Regression Model wih Firs-order Auoregressive Procedures Mei-Yu Lee Deparmen of Applied Finance,

More information

Innova Junior College H2 Mathematics JC2 Preliminary Examinations Paper 2 Solutions 0 (*)

Innova Junior College H2 Mathematics JC2 Preliminary Examinations Paper 2 Solutions 0 (*) Soluion 3 x 4x3 x 3 x 0 4x3 x 4x3 x 4x3 x 4x3 x x 3x 3 4x3 x Innova Junior College H Mahemaics JC Preliminary Examinaions Paper Soluions 3x 3 4x 3x 0 4x 3 4x 3 0 (*) 0 0 + + + - 3 3 4 3 3 3 3 Hence x or

More information

Methodology. -ratios are biased and that the appropriate critical values have to be increased by an amount. that depends on the sample size.

Methodology. -ratios are biased and that the appropriate critical values have to be increased by an amount. that depends on the sample size. Mehodology. Uni Roo Tess A ime series is inegraed when i has a mean revering propery and a finie variance. I is only emporarily ou of equilibrium and is called saionary in I(0). However a ime series ha

More information

The Multiple Regression Model: Hypothesis Tests and the Use of Nonsample Information

The Multiple Regression Model: Hypothesis Tests and the Use of Nonsample Information Chaper 8 The Muliple Regression Model: Hypohesis Tess and he Use of Nonsample Informaion An imporan new developmen ha we encouner in his chaper is using he F- disribuion o simulaneously es a null hypohesis

More information

Autocorrelation or Serial Correlation

Autocorrelation or Serial Correlation Chapter 6 Autocorrelation or Serial Correlation Section 6.1 Introduction 2 Evaluating Econometric Work How does an analyst know when the econometric work is completed? 3 4 Evaluating Econometric Work Econometric

More information

ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING

ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING Inernaional Journal of Social Science and Economic Research Volume:02 Issue:0 ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING Chung-ki Min Professor

More information

1. Joint stationarity and long run effects in a simple ADL(1,1) Suppose Xt, Y, also is stationary?

1. Joint stationarity and long run effects in a simple ADL(1,1) Suppose Xt, Y, also is stationary? HG Third lecure - 9. Jan. 04. Join saionariy and long run effecs in a simple ADL(,) Suppose X, Y are wo saionary ime series. Does i follow ha he sum, X Y, also is saionary? The answer is NO in general.

More information

Vehicle Arrival Models : Headway

Vehicle Arrival Models : Headway Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where

More information

CH Sean Han QF, NTHU, Taiwan BFS2010. (Joint work with T.-Y. Chen and W.-H. Liu)

CH Sean Han QF, NTHU, Taiwan BFS2010. (Joint work with T.-Y. Chen and W.-H. Liu) CH Sean Han QF, NTHU, Taiwan BFS2010 (Join work wih T.-Y. Chen and W.-H. Liu) Risk Managemen in Pracice: Value a Risk (VaR) / Condiional Value a Risk (CVaR) Volailiy Esimaion: Correced Fourier Transform

More information

(a) Set up the least squares estimation procedure for this problem, which will consist in minimizing the sum of squared residuals. 2 t.

(a) Set up the least squares estimation procedure for this problem, which will consist in minimizing the sum of squared residuals. 2 t. Insrucions: The goal of he problem se is o undersand wha you are doing raher han jus geing he correc resul. Please show your work clearly and nealy. No credi will be given o lae homework, regardless of

More information

Chapter 15. Time Series: Descriptive Analyses, Models, and Forecasting

Chapter 15. Time Series: Descriptive Analyses, Models, and Forecasting Chaper 15 Time Series: Descripive Analyses, Models, and Forecasing Descripive Analysis: Index Numbers Index Number a number ha measures he change in a variable over ime relaive o he value of he variable

More information

Choice of Spectral Density Estimator in Ng-Perron Test: A Comparative Analysis

Choice of Spectral Density Estimator in Ng-Perron Test: A Comparative Analysis Inernaional Economeric Review (IER) Choice of Specral Densiy Esimaor in Ng-Perron Tes: A Comparaive Analysis Muhammad Irfan Malik and Aiq-ur-Rehman Inernaional Islamic Universiy Islamabad and Inernaional

More information

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time.

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time. Supplemenary Figure 1 Spike-coun auocorrelaions in ime. Normalized auocorrelaion marices are shown for each area in a daase. The marix shows he mean correlaion of he spike coun in each ime bin wih he spike

More information

Department of Economics East Carolina University Greenville, NC Phone: Fax:

Department of Economics East Carolina University Greenville, NC Phone: Fax: March 3, 999 Time Series Evidence on Wheher Adjusmen o Long-Run Equilibrium is Asymmeric Philip Rohman Eas Carolina Universiy Absrac The Enders and Granger (998) uni-roo es agains saionary alernaives wih

More information

12: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME. Σ j =

12: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME. Σ j = 1: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME Moving Averages Recall ha a whie noise process is a series { } = having variance σ. The whie noise process has specral densiy f (λ) = of

More information

Wednesday, December 5 Handout: Panel Data and Unobservable Variables

Wednesday, December 5 Handout: Panel Data and Unobservable Variables Amhers College Deparmen of Economics Economics 360 Fall 0 Wednesday, December 5 Handou: Panel Daa and Unobservable Variables Preview Taking Sock: Ordinary Leas Squares (OLS) Esimaion Procedure o Sandard

More information

Stability. Coefficients may change over time. Evolution of the economy Policy changes

Stability. Coefficients may change over time. Evolution of the economy Policy changes Sabiliy Coefficiens may change over ime Evoluion of he economy Policy changes Time Varying Parameers y = α + x β + Coefficiens depend on he ime period If he coefficiens vary randomly and are unpredicable,

More information

Section 4 NABE ASTEF 232

Section 4 NABE ASTEF 232 Secion 4 NABE ASTEF 3 APPLIED ECONOMETRICS: TIME-SERIES ANALYSIS 33 Inroducion and Review The Naure of Economic Modeling Judgemen calls unavoidable Economerics an ar Componens of Applied Economerics Specificaion

More information

L07. KALMAN FILTERING FOR NON-LINEAR SYSTEMS. NA568 Mobile Robotics: Methods & Algorithms

L07. KALMAN FILTERING FOR NON-LINEAR SYSTEMS. NA568 Mobile Robotics: Methods & Algorithms L07. KALMAN FILTERING FOR NON-LINEAR SYSTEMS NA568 Mobile Roboics: Mehods & Algorihms Today s Topic Quick review on (Linear) Kalman Filer Kalman Filering for Non-Linear Sysems Exended Kalman Filer (EKF)

More information

J. Martin van Zyl Department of Mathematical Statistics and Actuarial Science, University of the Free State, PO Box 339, Bloemfontein, South Africa

J. Martin van Zyl Department of Mathematical Statistics and Actuarial Science, University of the Free State, PO Box 339, Bloemfontein, South Africa A weighed leas squares procedure o approximae leas absolue deviaion esimaion in ime series wih specific reference o infinie variance uni roo problems J. Marin van Zyl Deparmen of Mahemaical Saisics and

More information

y = β 1 + β 2 x (11.1.1)

y = β 1 + β 2 x (11.1.1) Chaper 11 Heeroskedasiciy 11.1 The Naure of Heeroskedasiciy In Chaper 3 we inroduced he linear model y = β 1 + β x (11.1.1) o explain household expendiure on food (y) as a funcion of household income (x).

More information

A New Unit Root Test against Asymmetric ESTAR Nonlinearity with Smooth Breaks

A New Unit Root Test against Asymmetric ESTAR Nonlinearity with Smooth Breaks Iran. Econ. Rev. Vol., No., 08. pp. 5-6 A New Uni Roo es agains Asymmeric ESAR Nonlineariy wih Smooh Breaks Omid Ranjbar*, sangyao Chang, Zahra (Mila) Elmi 3, Chien-Chiang Lee 4 Received: December 7, 06

More information

Ensamble methods: Bagging and Boosting

Ensamble methods: Bagging and Boosting Lecure 21 Ensamble mehods: Bagging and Boosing Milos Hauskrech milos@cs.pi.edu 5329 Senno Square Ensemble mehods Mixure of expers Muliple base models (classifiers, regressors), each covers a differen par

More information

Box-Jenkins Modelling of Nigerian Stock Prices Data

Box-Jenkins Modelling of Nigerian Stock Prices Data Greener Journal of Science Engineering and Technological Research ISSN: 76-7835 Vol. (), pp. 03-038, Sepember 0. Research Aricle Box-Jenkins Modelling of Nigerian Sock Prices Daa Ee Harrison Euk*, Barholomew

More information

Robust critical values for unit root tests for series with conditional heteroscedasticity errors: An application of the simple NoVaS transformation

Robust critical values for unit root tests for series with conditional heteroscedasticity errors: An application of the simple NoVaS transformation WORKING PAPER 01: Robus criical values for uni roo ess for series wih condiional heeroscedasiciy errors: An applicaion of he simple NoVaS ransformaion Panagiois Manalos ECONOMETRICS AND STATISTICS ISSN

More information

A Hybrid Model for Improving. Malaysian Gold Forecast Accuracy

A Hybrid Model for Improving. Malaysian Gold Forecast Accuracy In. Journal of Mah. Analysis, Vol. 8, 2014, no. 28, 1377-1387 HIKARI Ld, www.m-hikari.com hp://dx.doi.org/10.12988/ijma.2014.45139 A Hybrid Model for Improving Malaysian Gold Forecas Accuracy Maizah Hura

More information

Nonstationarity-Integrated Models. Time Series Analysis Dr. Sevtap Kestel 1

Nonstationarity-Integrated Models. Time Series Analysis Dr. Sevtap Kestel 1 Nonsaionariy-Inegraed Models Time Series Analysis Dr. Sevap Kesel 1 Diagnosic Checking Residual Analysis: Whie noise. P-P or Q-Q plos of he residuals follow a normal disribuion, he series is called a Gaussian

More information

- The whole joint distribution is independent of the date at which it is measured and depends only on the lag.

- The whole joint distribution is independent of the date at which it is measured and depends only on the lag. Saionary Processes Sricly saionary - The whole join disribuion is indeenden of he dae a which i is measured and deends only on he lag. - E y ) is a finie consan. ( - V y ) is a finie consan. ( ( y, y s

More information

Monetary policymaking and inflation expectations: The experience of Latin America

Monetary policymaking and inflation expectations: The experience of Latin America Moneary policymaking and inflaion expecaions: The experience of Lain America Luiz de Mello and Diego Moccero OECD Economics Deparmen Brazil/Souh America Desk 8h February 7 1999: new moneary policy regimes

More information

ECON2228 Notes 10. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 48

ECON2228 Notes 10. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 48 ECON2228 Notes 10 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 10 2014 2015 1 / 48 Serial correlation and heteroskedasticity in time series regressions Chapter 12:

More information

Components Model. Remember that we said that it was useful to think about the components representation

Components Model. Remember that we said that it was useful to think about the components representation Componens Model Remember ha we said ha i was useful o hink abou he componens represenaion = T S C Suppose ha C is an AR(p) process Wha model does his impl for? TrendCcle Model For simplici, we sar wih

More information