Documentos de Académico
Documentos de Profesional
Documentos de Cultura
EconometriaTX PDF
EconometriaTX PDF
R. Mahía
Mayo 2001
ESQUEMA DE PRESENTACIÓN:
- Definición de estacionariedad
· Test DF y P.G.D
· Test DF en modelos AR(p)
· Test DF en presencia de autocorrelación serial
· Test DF en modelos MA(q)
· Test DF y Cambio Estructural
- Conclusiones
TRASCENDENCIA DEL ANÁLISIS DE LA ESTACIONARIEDAD
- Uso correcto de muchas de las distribuciones en las etapas del contraste y validación
de los modelos econométricos
y t = 0.05 + 0.1t + ε t
1 2 ,0 0
1 0 ,0 0
8 ,0 0
6 ,0 0
4 ,0 0
2 ,0 0
0 ,0 0
- 2 ,0 0
1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
320 125
300 105
280 85
260 65
240 45
220 25
y t = 0.05 + 0.1t + 0.03t 2 + ε t
300,00
250,00
200,00
150,00
100,00
50,00
0,00
- 50,00
1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
3700 13200
2700 12200
1700 11200
TENDENCIA ESTOCÁSTICA
y t = y t −1 + ε t → ∆y t = ε t
t
yt = y0 + ∑ε i
i =1
t
- E[y t ] = E y 0 + ∑ ε i = E[y 0 ] = y 0
i =1
2 2
t
t
V [ y t ] = E [ y t − E [ y t ]] = E y 0 + ∑ ε i − y 0 = E ∑ ε i =
2
- i =1 i =1
[ ] [
= E ε 1 + ε 2 ..... + ε 1ε 2 + ε 1ε 3 + ..... = E ε 1 + ε 2 .... + ε t2 = tσ ε2
2 2 2 2
]
- ¿Será posible que existan series que exhiban este tipo de tendencia estocástica?
25 160
20 140
15 120
10 100
5 80
0 60
-5 40
1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29
50 220
40 200
30 180
20 160
10 140
0 120
1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29
y t = a 0 + y t −1 + ε t → ∆y t = a 0 + ε t
t
yt = y0 + a0t + ∑ε i
i =1
y t = 0.5 + y t −1 + ε t
60
50
40
30
20
10
0
1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
y t = 0.5 + y t −1 + ε i*
50
40
30
20
10
-10
1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
REGRESIONES ESPURIAS
y t = y t −1 + ε 1t
x t = xt −1 + ε 2 t
y t = a 0 + a1 xt + et
e t = y t − a1 x t
t t
et = ∑ ε 1i − a1 ∑ ε 2i
i =0 i =0
· Secuencia de errores no estacionaria en varianza
· La varianza de et no es constante
CONCEPTO DE INTEGRACIÓN
A( L) y t = B( L)ε t
A( L) = (1 − L) A' ( L)
(1 − L) A' ( L) y t = B( L)ε t
A' ( L)(1 − L) y t = B( L)ε t
A' ( L) ∆y t = B( L)ε t
Ejemplo
2 y t − 3 y t −1 + y t − 2 = ε t −1 − 0.5ε t − 2
y t A( L) = ε t B( L) → y t ( 2 − 3L + L2 ) = ε t ( L − 0.5L2 )
∆y t A' ( L) = ε t B( L) → ∆y t ( 2 − L) = ε t ( L − 0.5L2 )
2
t t −1
t t −1
E y 0 + ∑ ε i − y 0 − ∑ ε i − E y 0 + ∑ ε i − y 0 − ∑ ε i = E [ε t ] = σ ε2
2
i =1 i =1 i =1 i =1
t t −1
E [∆y t ] = E [ y t − y t −1 ] = E y 0 + a 0 t + ∑ ε i − y 0 − a 0 (t − 1) + ∑ ε i = E [a 0 + ε t ] = a 0
i =1 i =1
2
t t −1
V [∆y t ] = E [( y t − y t −1 ) − E [ y t − y t −1 ]] = E y 0 + a 0 t + ∑ ε i − y 0 −a 0 (t − 1) − ∑ ε i − a 0 =
2
i =1 i =1
[ ]
= E [a 0 + ε t − a 0 ] = E ε t2 = σ ε2
2
· En ningún caso una serie con una raíz unitaria puede distinguirse gráficamente de
una cuasi raíz de un proceso autorregresivo.
1 7 13 19 25 31 37 43 49 55 61 67 73 79 85 91 97
· Aún con todas las limitaciones no está nunca de más un análisis gráfico de la
serie
1
0,9
0,8
0,7
0,6
0,5
0,4
0,3
0,2
0,1
0
1 3 5 7 9 11 13 15 17 19 21 23
AR(1) (0,5) AR(1) (0,7) AR(1) (0,8) Paseo Aleatorio
t −1
· Modelo autorregresivo simple: y t = a1t y 0 + ∑ a1i ε t −i
i =0
ρ 1 = a1 ; ρ 2 = a ; ρ 3 = a ,............; ρ s = a1s
2
1
3
1
t −1
· Paseo aleatorio simple: y t = y 0 + ∑ ε t −i
i =0
t − s
0.5
ρs =
t
· El problema es, una vez más, el caso de raíces muy cercanas a la unidad
a1=1 a1=0,99 a1=0,98 a1=0,97 a1=0,96 a1=0,95
-1 0 1 -1 0 1 -1 0 1 -1 0 1 -1 0 1 -1 0 1
· Se estima el modelo y t = β o + ε t
n n
∑ (et − et −1 ) 2 ∑(y − y t −1 )
2
t
DW = t =2
n
= t =2
n
∑e ∑(y − yt )
2 2
t t
t =1 t =1
H1: y t = a1 y t −1 + ε t
H0: yt = yt −1 + ε t
- Debemos usar las tablas de Dickey (1976) y Fuller (1976) ó Mackinnon (1991)
- Los valores de referencia para el contraste del parámetro γ dependen del proceso
generador de datos elegido:
(SCRmr − SCRmnr ) r
Φ 1, 2 ,3 =
SCRmnr n − k
Valores
críticos
Modelo Hipótesis nula Estadístico 95 % 99 %
∆y t = a 0 + γ ⋅ y t −1 + a 2 t + ε t γ=0 ττ -3.45 -4.04
a0=0 dado γ=0 τατ 3.11 3.78
a2=0 dado γ=0 τβτ 2.79 3.53
γ=a2=0 φ3 6.49 8.73
a0=γ=a2=0 φ2 4.88 6.50
∆y t = a 0 + γ ⋅ y t −1 + ε t γ=0 τµ -2.89 -3.51
a0=0 dado γ=0 ταµ 2.54 3.22
a0=γ=0 φ1 4.71 6.70
∆y t = γ ⋅ y t −1 + ε t γ=0 τ -1.95 -2.60
- Orden superior a 2.
H0 - No integrable.
- Fallo DF
- Test ADF:
p
∆y t = a 0 + γ ⋅ y t −1 + ∑ β i ∆y t −i +1 + ε t
i =2
con:
p
γ = −1 − ∑ a i
i =1
p
β i = ∑ ai
j =1
- Sin embargo, conviene recordar que el propio Fuller demostró que la distribución
asintótica del estadístico “t” del parámetro γ estimado, es independiente del número
de retardos de la variable diferenciada que incluyamos en la especificación del
modelo estimado.
- Por tanto el el test ADF es conceptualmente útil como posible corrección a los
problemas de autocorrelación que pudieran aparecer en el término de error del
modelo básico utilizado en el test simple DF: Solución Paramétrica de la
Autocorrelación (Dickey y Fuller 1981)
- Para la aplicación del test DF se asume que los errores del modelo están idéntica e
independientemente distribuidos.
σ ε2
σ2
n n 2
2
∑ E (ε i ) E ∑εi
σ ε2 = lim i =1 y σ = lim i =1
2
n →∞ n n →∞
n
- En los trabajos Phillips (1987) y Phillips y Perron (1988) se sugieren utilizar los
residuos obtenidos en la estimación del modelo DF simple para transformar los
estadísticos “t” asociados a los parámetros del mismo:
∑ (1 − r l + 1) ∑ e e
n n l n
n n n
σˆ ε2
1
(σˆ 2 −σˆε2 )
Z (τ ,τ µ ) = 2 τˆ − 2
σˆ n
∑y 2
t −1
σˆ ⋅ t =2
n2
σˆ ε2 n3 (σˆ 2 −σˆε2 )
Z (τ τ ) = 2 τˆτ −
σˆ 4σˆ ⋅ 3Dy
- A partir de los trabajos de estos autores se han propuestos otras correcciones – otros
estimadores como el de Newey y West (1987, 1994)
A( L) y t = B( L)ε t
A( L) B( L) y t = ε t → C(L)y t = ε t
∞
∆y t = a 0 + γ ⋅ y t −1 + ∑ β i ∆y t −i +1 + ε t
i =2
- Debemos acudir a trabajos como los presentados por Said y Dickey (1984) sobre el
contraste de raíces unitarias en procesos ARMA de orden desconocido: ”... un
modelo ARIMA (p,1,q) de órdenes desconocidos podía ser aproximado
adecuadamente por un modelo ARIMA (s,1,0) de orden “s” no superior a la raíz
cúbica del tamaño muestral “n”...”.
- Debe vigilarse especialmente la pérdida de potencia del test ADF y PP señalada por
Molinas (1986) y Molinas y Schwert (1987 y 1989) en el caso de procesos MA
cercanos a la no invertibilidad.
12 5
4
10
3
8
2
6
1
4 0
-1
2
-2
0
-3
-2
-4
-4 -5
- Soluciones:
- Integración periódica
- Integración fraccional
REFERENCIAS BIBLIOGRÁFICAS
Amano, R.A. y van Norden, S. (1992). “Unit-Root tests and the Burden of Proof”. Mimeo.
(http://wueconb.wustl.edu/eprints/em/papers/9502/9502005.abs)
Beaulieu, J.J. y Miron, J.A. (1993). “Seasonal Unit Roots in Aggregated U.D. Data”. Journal of Econometrics, 51, pp. 305-328.
Box, G.E.P. y Jenkins, G.M. (1970). Time Series Analysis: Forecasting and Control. Holden-Day. San Francisco, CA.
Box, G.E.P y Pierce, D.A. (1970). “Distribution of Residual Autocorrelations in Autorregresive moving – Average Time Series
Models”. Journal of The American Statistical Association, 65, pp. 1509 – 1526.
Campbell, John Y. y Perron, P. (1991). “Pitfalls and Opportunities: What Macroeconomists Should Know About Unit Roots”.
Technical Working Paper 100, NBER Working Paper Series. Abril 1991.
Canova, F. y Hansen, B.E. (1995). “Are Seasonal Patterns Constant over Time? A test for Seasonal Stability”. Journal of Business
and Economic Statistics, 13, 3, pp. 237-252.
Carrión, J,Ll., Sansó, A. y Artís, M. (1998a). “The DF and KPSS’ Wedding”. Document de Treball del Dep. Econometria,
Estadística i Economia Espanyola. Universitat de Barcelona.
------. (1998b). “Stationary Test in the Presence of Structural Breaks”. Document de Treball del Dep. Econometria, Estadística i
Economia Espanyola. Universitat de Barcelona.
------. (1998c). “The KPSS Test with Two Structural Breaks”. Document de Treball del Dep. Econometria, Estadística i Economia
Espanyola. Universitat de Barcelona.
Charemza, W.W. y Deadman, D.F. (1992). New Directions in Econometric Practice. Edward Elgar Publishing Limited. England.
Charemza, W.W. y Syczewska, E.M. (1998). Joint Application of the Dickey Fuller and KPSS tests. Mimeo. University of
Leicester, U.K.
Choi, I. (1994). “Residual Based Tests for the Null of Stationarity with Applications to U.S. Macroeconomic Time Series”.
Econometric Theory, 10. Pp. 720-746.
De Jong, D., Nankervis, J.C., Savin, N.E. y Whiteman, C.H. (1992). “Integration Vs. Trend Stationary in Time Series”.
Econometrica, 60, 1992.
Dickey, D. A. (1976). Hypothesis Testing for Non-Stationary Time Series. Sin publicar. Universidad del Estado de Iowa.
Dickey, D. A. y Fuller, W.A. (1979). “Distribution of the Estimates for Autoregresive Time Series with a Unit Root”. Journal of the
American Statistical Association, 74, pp. 427-431.
------. (1981). “Likelihood Ratio Statistics for Autoregresive Time Series with a Unit Root”. Econometrica, 49, pp. 1057-1072
Dickey, D.A., Hasza, D.F. y Fuller, W.A. (1984). “Testing for Unit Roots in Seasonal Time Series”. Journal of American Statistical
Association, 79. Pp.355-367.
Dickey, D. A. y Pantula, S. (1987). “Determining the Order of Differencing in Autorregresive Processes”. Journal of Business and
Economic Statistics, 15, pp. 455-461
Diebold, F.X. Rudebusch, G.D. (1989). “Long Memory and Persistence in Aggregate Output”, Journal of Monetary Economics, 24,
pp. 189-209.
Dolado, J., Jenkinson, T. y Sosvilla - Rivero, S. (1990). “Cointegration and Unit Rots: A Survey”. Servicio de Estudios, Banco de
España. Documento de trabajo 9005.
Durbin, J. y Watson, G.S. (1950). “Testing for Serial Correlation in least-squares regression I”. Biometrika, 37(3-4), pp. 241-247.
Durlauf, S. y Phillips, P.C.B. (1988): “Trends versus Random Walks in the Time Series Analysis”. Econometrica, 56, pp. 1333-
1354.
Engle, R.F., Granger, C.W.J. (1987). “Cointegration and Error Correction: Representation, Estimation and Testing. Econometrica,
55, pp.251-276
------. (1991) editores. Long Run Economic Relationships. Oxford University Press.
Engle, R.F., Granger, C. y Hallman, J. (1988): “Merging Short- and Long – Run Forecasts: An application of Seasonal Co-
Integration to Monthly Electricity Sales Forecasting”. Journal of Econometrics, 40, pp. 45-62.
Enders, W. (1995). Applied Econometric Times Series. John Wiley & Sons, Inc. United States.
Franses, P.H. (1991). “Model Selection and Seasonality in Time Series”. Tinbergen Institute Series, 18.
Fuller, W.A. (1976). Introduction to Statistical Time Series. John Wiley. Nueva York.
Geweke, J. Y Porter-Hudak, S. (1983). “The Estimation and Application of Long Memory Times Series Models”. Journal of Time
Series Analysis, 4, pp. 221-238
Granger, C.W.J. (1977). Forecasting Economic Time Series. Academic Press Inc., New York
------. (1986). Forecasting Economic Time Series. 2ª Edición. Academic Press Inc., Orlando.
Granger, C.W.J. y Joyeux, R. (1980). “An Introduction to Long Memory Time Series Models and Fractional Differencing”. Journal
of Time Series Analysis, 1, pp. 15-29.
Granger, C.W.J. y Newbold, P. (1974). “Spurius Regressions in Econometrics”. Journal of Econometrics, 2, pp. 111-120.
Hall, A. (1989). “Testing for Unit Root in the Presence of Moving Average Errors”. Biometrika, 79, pp.49-56.
Hasza, D.P. y Fuller, W.A. (1982). “Testing for Nonstationary Parameter Specifications in Seasonal Time Series Models”. Annals of
Statistics, 10, pp.1209-1216.
Hobijn, B., Franses, P.H. y Ooms, M. (1998). “Generalisations of the KPSS-Test for Stationarity”. Econometric Institute Report
9802. Erasmus University Rotterdam.
------. (1995). “Tests for Seasonal Unit Roots. General to Specific or Specific to General?”. Journal of Econometrics, 69, pp. 5-25.
Hylleberg, S., Engle, R.F., Granger, C.W.J. y Yoo, B.S. (1990). “Seasonal Integration and Co-Integration”. Journal of
Econometrics, 44, pp. 215-228.
Hylleberg, S., y Mizon (1989). “A Note on the Distribution of the Least Squares Estimator of a Random Walk with Drift”.
Economic Letters, 29, pp. 169-210.
Kwiatkoski, D., Phillips, P.C.B., Schmidt, P.J. y Shin, Y. (1992). “Testing the Null Hypothesis of Stationarity Against the
Alternative of a Unit Root: How Sure Are We That Economic Series Have a Unit Root?”. Journal of Econometrics, 56, pp.285-302.
Lee, J. (1996). “Minimum Statistics Testing for a Stationarity in the Presence of a Structural Break”. Working Paper 97-W03.
Department of Economics and Business Administration. Vanderbilt University.
Lee, J., Huang, Cl.J. y Shin, Y. (1997). “On Stationarity Test in the Presence of Structural Break”. Economic Letters, 55, pp.165-
172.
Leybourne, S.J y McCabe, B.M.P. (1994a). “A Consistent test for Unit Root”. Journal of Business & Economic Statistics, Vol. 12,
2, pp. 157-166.
Ljung, G.M. y Box, G.E.P. (1978). “On a measure of Lack of Fit in Time Series Models”. Biometrika, 65, pp. 297-303.
Lo, A.W. (1991). “Long Term Memory in Stock Market Prices”. Econometrica, 59, pp. 1279-1313
Lumsdaine, R.L. y Papell, D.H. (1997). “Multiple Trend Breaks and the Unit Root Hypothesis”. The Review of Economics and
Statistics, 79, 212-218.
MacKinnon, J.G. (1991). “Critical Values for Cointegration Tests”. Capítulo 13 de “Long Run Economic Relationships: Readings in
Cointegration”, editado por R.F. Engel y C.W.J. Granger. Oxford University Press.
Mandelbrot, B.B. (1969). “Long-Run Linearity, Local Gaussian Process, H-Spectra, and Infinite Variances”. International
Economic Review, 10, pp. 82-111.
------. (1972). “Statistical Methodology for Nonperiodic Cycles: From the Covariance to R/S Analysis”. Annals of Economic and
Social Measurement, 1/3, pp. 259-90.
Mills, T.C. (1990). Time Series Techniques for Economists, Cambridge University Press.
------. (1993). The Econometric modelling of Financial Time Series. Cambridge University Press
Molinas, C. et al. (1986). “A note on Spurious Regression with Integrated Moving Average Errors”. Oxford Bulletin of Economics
and Statistics, 48, 3, pp. 279-282.
Nabeya, S.I. y Tanaka, K. (1989). “Asymptotic Theory for a Test for the Constancy of the Regression Coefficients Against the
Random Walk Alternative”. Annals of Statistics, 16, pp. 218-235.
Newbold, P. y Davies, N. (1978). “Error miss-specification and spurious regressions”. International Economic Review,7, pp. 513-
519.
Newey, W.K. y West, K.D. (1994). “Automatic lag Selection in Covariance Matrix Estimation”. Review of Economic Studies
Limited, 64, pp. 631-653.
Noriega-Muro, A.E. (1993). Nonstationarity and Structural Breaks in Economic Time Series. Averbury. Aldershot.
Osborn, D. (1988). “Seasonality and Habit Persistence in a Life Cycle Model of Consumption”. Journal of Applied Econometrics, 3,
pp. 255-66.
Park, J.Y. (1990). “Testing for Unit Roots and Cointegration by Variable Addition”. A Fomby, T.B. y Rhodes, G.F. (1990) editors:
Advances in Econometrics: Co-Integrations, Spurius Regressions and Unit Roots. Jai Press Inc.
Perron, P. (1988). “Trends and Random Walks in Macroeconomic Times Series: Further Evidence from a new Approach”. Journal
of Economics Dynamics and Control,12, pp. 297-332.
------. (1989). “The Great Crash, the Oil Price Shock, and the Unit Root Hypothesis”. Econometrica, 57, pp. 1361-1401.
Phillips, P.C.B. (1986). “Understanding Spurius Regressions in Econometrics”. Journal of Econometrics, 33, pp. 311-340.
------. (1987). “Time Series Regression with a Unit Root”. Econometrica, 55, pp. 277-301.
Phillips, P.C.B, y Perron, P. (1988). “Testing for a Unit Root in Time Series Regression”. Biometrika, 75, pp. 335-346.
Plosser, C.I. y Schwert, G.W. (1978). “Money Income and Sunspots: Measuring economic relationships and the effects of
differencing”. Journal of Monetary Economics, 4, pp. 637-660
Rappoprt, P. y Reichlin, L. (1989). “Segmented Trends and Non-Stationary Time Series”. The Economic Journal, 99, pp. 168-177.
Said, S. Y Dickey, D.A. (1984). “Testing for Unit Roots in Autorregresive-Moving Average Models with Unknown Order”.
Biometrika, 71, pp. 599-607.
Saikkonen, P. y Luukonen, R. (1993). “Testing for a Moving Average Unit Root in Autorregresive Integrated Moving Average
Models”. Journal of the American Statistical Association, 88, pp.596-601.
Sargan, J. y Bhargava, A. (1983). “Testing Residual from Least Squares Regressions for Being Generated by the Gaussian Random
Walk”. Econometrica, 51, pp. 153-174.
Schwert, G.W. (1987). “Effects of Model Specification on Test for Unit Root in Macroeconomic Data”. Journal of Monetary
Economics, 20, pp. 73-103.
------. (1989). “Test for Unit Roots: A Monte Carlo Investigation”. Journal of Business and Economic Statistics, 7, 2, pp. 147-159.
Suriñach, J., Artís, M., López, E. Y Sansó, A. (1995). Análisis económico regional. Nociones básicas de la teoría de la
cointegración. Antoni Bosch Editor. Barcelona.
Tanaka, K. (1990). “Testing for a Moving Average Unit Root”. Econometric Theory, 6, pp.433-444.
Tiao, G. Y Grupe, M. (1980). “Hidden Periodic Autorregresive-Moving Average Models in Time-Series Data”. Biometrika, 67,
365-373.
Valdero, E. (1998). “An Application of a Time Series Inequality to the Detection of Non-Invertible Moving Average Processes”.
Documents de Treball E98/24 de la Divisó de Ciències Jurídiques, Econòmiques i Socials.
Wold, H. (1938). A Study in the Analysis of Stationary Times Series. Stockholm: Almqvist and Wiksell.
Yule, G.U. (1926).”Why do we sometimes get nonsense correlations between time series?”. Journal of the Royal Statistical Society,
89, pp. 1-64.