You are on page 1of 8

5.

4
5.2

PBI, Log

10

4.8

9.5

Dinero, Log

10.5

11

5.6

UNIT ROOTS LAB

2002m1

2004m1

2006m1

2008m1

2010m1

2012m1

mes
Dinero, Log

PBI, Log

Podra ser una serie estacionaria en tendencia. Tendramos que conocer el proceso generador de
datos para asi poder conocerlo. La serie se asemeja a tener una constante y una tendencia.
En Stata para hacer el test de dick fuller Statistic/ Time Series / Test / Augmented Dickey Fuller
unit root test

Prueba de Dickey Fuller


Augmented Dickey-Fuller test for unit root

Z(t)

Test
Statistic

1% Critical
Value

-3.512

-4.036

Number of obs

113

Interpolated Dickey-Fuller
5% Critical
10% Critical
Value
Value
-3.448

-3.148

MacKinnon approximate p-value for Z(t) = 0.0381

D.y1

Coef.
y1
L1.
LD.
L2D.
L3D.
L4D.
L5D.
L6D.
L7D.
L8D.
L9D.
L10D.
L11D.
L12D.
_trend
_cons

-.2305044
.1276257
.0648706
.175004
.0910879
.1614034
.0705919
.1176103
.080866
.0113298
-.0139131
-.0618539
.4900233
.003978
2.013166

Std. Err.

.0656297
.0909572
.0879935
.0839037
.0833276
.0822309
.0830453
.0832353
.0838444
.0824962
.0813368
.0791753
.0781343
.0011429
.5680528

-3.51
1.40
0.74
2.09
1.09
1.96
0.85
1.41
0.96
0.14
-0.17
-0.78
6.27
3.48
3.54

P>|t|

0.001
0.164
0.463
0.040
0.277
0.053
0.397
0.161
0.337
0.891
0.865
0.437
0.000
0.001
0.001

[95% Conf. Interval]

-.3607444
-.0528759
-.1097496
.0084997
-.074273
-.0017812
-.0942087
-.0475676
-.0855205
-.1523813
-.1753234
-.2189748
.3349683
.00171
.8858833

-.1002644
.3081273
.2394909
.3415082
.2564489
.3245879
.2353926
.2827881
.2472525
.1750408
.1474971
.095267
.6450783
.006246
3.140448

*Una pista es ver tu tendencia y constante es que el p value es significativo es menor a 0.05.
El valor critic -3.512 cae dentro del interval de confianza al menos del 1%.
1% Significancia < Z(t) < 5% Significancia , -4,036< -3.512 < -3.448
Esta cayendo dentro de la zona de aceptacin al 1% de significancia. El dinero tiene raz
unitaria por lo tanto es una variable no estacionaria.

-4.036

-3.512

-3.448

-3.148

Y1 : No es estacionaria
Cuando nos saca un p< 0.01 se rechaza Ho

Test Phillip Perron

Phillips-Perron test for unit root

Z(rho)
Z(t)

Number of obs
=
Newey-West lags =

Test
Statistic

1% Critical
Value

-20.349
-3.486

-27.567
-4.032

125
4

Interpolated Dickey-Fuller
5% Critical
10% Critical
Value
Value
-20.800
-3.447

-17.583
-3.147

MacKinnon approximate p-value for Z(t) = 0.0409

La prueba de Philip Perron nos confirma que el Yt : es no es estacionaria


Cae dentro de la zona de aceptacin. Ho: falla en rechazar (se acepta)
Para Y2
Augmented Dickey-Fuller test for unit root

Test
Statistic
Z(t)

-2.773

Number of obs

113

Interpolated Dickey-Fuller
1% Critical
5% Critical
10% Critical
Value
Value
Value
-4.036

MacKinnon approximate p-value for Z(t) = 0.2071

-3.448

-3.148

Ho: Falla en rechazar


Y2 es no estacionario de orden 1, mientras mas lejos este de la zona de rechazo el p
value ser ms grande.
*(Falta conocer cul sera la cantidad de rezagos ptimos para tomar)

Phillips-Perron test for unit root

Z(rho)
Z(t)

Number of obs
=
Newey-West lags =

Test
Statistic

1% Critical
Value

-24.951
-3.780

-27.567
-4.032

125
4

Interpolated Dickey-Fuller
5% Critical
10% Critical
Value
Value
-20.800
-3.447

-17.583
-3.147

MacKinnon approximate p-value for Z(t) = 0.0176

Las 2 me afirman que Ho: Falla en rechazar


Y2 es no estacionario

Cointegracion
Source

SS

df

MS

Model
Residual

48.6461899
.348363894

1
124

48.6461899
.002809386

Total

48.9945538

125

.391956431

y1

Coef.

y2
_cons

3.111939
-6.16659

Std. Err.
.023649
.1218556

t
131.59
-50.61

Number of obs
F( 1,
124)
Prob > F
R-squared
Adj R-squared
Root MSE

P>|t|
0.000
0.000

=
126
=17315.59
= 0.0000
= 0.9929
= 0.9928
=
.053

[95% Conf. Interval]


3.065131
-6.407776

3.158747
-5.925404

Si me presentan un durbin Watson no tiene nada que ver con el modelo de Granger , dos
series de Y , los residuos deben ser estacionarios.

.2
.1
-.2

-.1

Residuals

2002m1

2004m1

2006m1

2008m1
mes

Con media alrededor de 0.


El siguiente paso debe ser llevarla al test de races unitaria.

2010m1

2012m1

Augmented Dickey-Fuller test for unit root

Z(t)

Test
Statistic

1% Critical
Value

-1.941

-2.598

Number of obs

113

Interpolated Dickey-Fuller
5% Critical
10% Critical
Value
Value
-1.950

-1.611

Si tiene raz unitaria al 5% de nivel de significancia. No es estacionario ( Queda


pendiente por el tema de elegir mejor la cantidad de rezagos)

Phillips-Perron test for unit root

Z(rho)
Z(t)

Number of obs
=
Newey-West lags =

Test
Statistic

1% Critical
Value

-84.742
-7.533

-13.350
-2.597

125
4

Interpolated Dickey-Fuller
5% Critical
10% Critical
Value
Value
-7.917
-1.950

-5.617
-1.612

Philip Perron me dice que se rechaza Ho por lo tanto no tiene raz estacionario. Por
lo tanto es estacionario.

You might also like