Archive for VAR

Cointegration, Dependency and Manufacturing (24-IV-09)

Posted in 04 - Abril, Año 2009 with tags , , , , , , , , , , , , , , , , , , , , , , , , , , on April 24, 2009 by Farid Matuk

Chile - USA (1981-2008)

Chile - USA (1981-2008)

Peru - USA (1981 - 2008)

Peru - USA (1981 - 2008)

These graphs show –for a naked eye- a similar cycle over time, besides differences on timing and amplitude, there is a similar number of boom and boost processes. A first question to analyze is the existence of cointegration between those series, and if the answer is affirmative to evaluate the dependency of some from one.

 

Cointegration concept comes from econometrics and it is related to time series which evolve over time in a similar pattern, cointegration does not imply causality between the variables analyzed, it implies a similar concept of parallel lines in geometry.

 

On the other side dependency theory in economics, implies the existence of a center and a periphery, equivalent to solar system in astronomy, the planets does not have exact orbits, but they are not comets drifting on the outer space. The dependency concept tells of an economy that is the center for periphery economies, which essentially are tied up to the evolution of the center.

 

This note founds that Chile and Peru manufacturing sector are periphery economic activities to the USA industrial sector on the long run, obviously in the short run a periphery sector may drift away, but sooner or later return to its orbit. A simulation is run from August 2006 up to December 2008, when Peru has a new presidential tenure in July 28th 2006, which shows a Peru industrial sector drifting-up, and then a forecast is made to evaluate how much economic contraction will face Peru to be back on track.

 

The monthly series are taken from International Monetary Fund’s International Financial Statistics Compact Disk disseminated March 2009. Only series from Chile and Peru are chosen from South America due lack of availability for other countries, only USA series will be taken from 24 advanced economies (IMF lingo), as center country. The series start in January 1979 because Peru is the constraint, until December 2008 because is most recent available data from USA. The codes are […66EY.ZF…] for Chile and Peru, and […66…ZF…] for USA; which is available here.

 

A first step is taking logarithm of each series, then to evaluate the existence of unit root for each one, which is accepted. A cointegration test between Chile, Peru and USA is rejected with zero lags, but a loop from 1 to 60 lags is run to find 12 lags (a calendar year) as appropriate to accept cointegration between the analyzed variables. The evaluation is constraint until July 2006, since Peru has a new presidential tenure since August 2006.

 

Two approaches were tried to model the dependency of Peru and Chile to USA. The unsuccessful one was an Error Correction Model (ECM) which shows a strong equilibrium relationship between Peru and Chile, but the equilibrium error component was nil for Chile equation and strong for Peru; but in any circumstance was possible to reject a null hypothesis for USA inclusion in the equilibrium relationship or in the equilibrium error.

 

The second and successful approach was a Vector Autoregressive (VAR) model with USA as exogenous component. The lag period was 12, since this length was found as adequate on the cointegration analysis described above. The computer code in RATS is here, and the output results are here.

 

The first null hypothesis tested for no relation between Chile and Peru is rejected for each equation and therefore the naked eye observation was correct. A second set of null hypothesis for each USA coefficient being zero in both equations is carried out, to find them rejected and to conclude that USA industrial sector has influence on Chile and Peru manufacturing sector, in the impact multipliers. A third set of null hypothesis for equilibrium multipliers of USA being zero is carried out, to find them accepted; this unexpected outcome is interpreted as neutrality on the long run of the level of USA industrial activity for Chile and Peru manufacturing sectors, only if USA variable become constant which never have been observed. A fourth set of null hypothesis for equilibrium unitary elasticity between Chile and Peru is carried out, to find them rejected; this outcome allows concluding that USA individual shocks in Chile and Peru become permanent for the level of manufacturing activity.

 

Those four sets of null hypothesis are re-run with a Seemly Unrelated Regression (SUR) model with similar specification in order to evaluate cross equation restrictions. The previous four null hypotheses are evaluated and similar conclusions are obtained. The fifth null hypothesis of USA impact coefficients with similar values vis-à-vis for Chile and Peru is carried out, to find them rejected; this outcome allows concluding differentiated short run impact between Chile and Peru, nevertheless for both countries the equilibrium multiplier for USA is zero. Finally, a sixth null hypothesis for null intercept in Chile and Peru is carried out and accepted; this outcome allows to conclude that long run average level of manufacturing in Chile and Peru is the long run multiplier of Peru and Chile –respectively- multiply by the average level of industrial activity in USA.

 

The third and sixth null hypotheses are imposed in a new estimation on the SUR model in order to produce a forecast outside the boundaries of the estimation, which are January 1979 and July 2006. The forecast values are plotted in graphs for Chile and Peru showing an interesting feature which differentiates Chile and Peru; while Chile forecast values are close to observed values, Peru forecast values are systematically below observed values.

 

A first econometric conclusion is the existence of cointegration between Chile, Peru, and USA. A second econometric conclusion is the dependency of Chile and Peru with USA which is coherent with the economic dependency theory. A third conclusion is Chile manufacturing sector is on track, and its contraction will mirror USA industrial contraction. A fourth conclusion is Peru manufacturing sector is off track, and its contraction will be more than proportional to USA industrial contraction.

 

 

Chile Forecast (August 2006 - December 2008)

Chile Forecast (August 2006 - December 2008)

Peru Forecast (August 2006 - December 2008)

Peru Forecast (August 2006 - December 2008)

Chile and Peru gap between observed and forecast values

Chile and Peru gap between observed and forecast values

Advertisement

Thu May 29, 2003 6:24 pm

Posted in 2003-05 Mayo with tags , , , , , , , , , , , , , , on January 31, 2009 by Farid Matuk

Estética

 

Hola Eduardo:

Hasta donde hice econometría, no recuerdo “rolling windows” pero
si recuerdo a quienes hacen “rolling eyes”. En todo caso te
agradecería me envies una referencia de como se aplica este método,
que permita construir una hipótesis nula.

Dicho sea de paso, no hace mucho en RPP publicaron una nota donde
algún especialista nos colocaba junto con México y Chile
(flaquitas), pero este era un juicio subjetivo hasta donde entendí.

Otro elemento a evaluar, es la posibilidad que la trayectoria del
riesgo país tenga raíz unitaria. Hace cerca de diez años, aplicando
VAR hallé que el ratio inflación Lima / devaluación USA tenía raíz
unitaria.

Recuerdo mucho como Dancourt e Iguiñiz manifestaron su sorpresa
porque esto implicaba que no existían políticas que modificaban el
tipo de cambio real, e imagino que Adrianzen tambien manifestaría su
sorpresa.

Como fuese, creo que habría de tenerse mas elementos concretos
para construir afirmaciones, y así no quedarnos en el puro paradigma
pára de esta manera poder hallar regularidades empíricas.

Farid

Sat Apr 5, 2003 6:54 am

Posted in 2003-04 Abril with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on January 28, 2009 by Farid Matuk

 

Ley de Un Solo Precio (2)

Hola Bruno:

Primero tengo que coincidir contigo en que si las reservas se
mantuviesen constantes, el mercado se limpiaría via precios con la
consiguiente reducción de la divisa. Pero asumiendo salarios rígidos
a la baja, el resultado sería un incremento de los salarios medidos
en moneda extranjera.

De otro lado, creo que pronto empezará una campaña por un
incremento del precio de la divisa con un argumento de pérdida de
competitividad, aunque no exista consenso en como medirla, mas alla
de decir que los salarios estan altos. Como puedes ver al artículo
adjunto del 4 de marzo pasado, y ya sugerido ademas en La República
y en un mensaje previo en esta lista.

También queria plantear el problema de pronóstico de la
inflación. Recuerdo mucho como a fines del ’87 me entregaste una
hoja de cálculo con los índices detallados del IPC limeño y me fue
útil para modelar y entender la inflación de entonces. Al presente,
con las series de inflación nacional publicadas por el Instituto
sería posible hacer un ARIMA-X en panel, o un VAR mas complejo que
los usuales; pero que sepa nadie anda por ese camino y las
predicciones de inflación son mas bien una suerte de revelación
divina.

Farid Matuk

**************************
**************************
**************************
GatoEncerrado.Terra.Com.Pe

Precio del dólar S/. 3.45 soles ¿Enfermedad holandesa?

El Perú ostenta el dudoso privilegio entre los países de América
Latina de haber sufrido la menor devaluación (o mayor apreciación)
de su moneda desde la crisis asiática.

En un primer momento, puede aceptarse que puede resultar un síntoma
de estabilidad. Pero, en el mediano y largo plazo indica que las
empresas multinacionales están haciendo el negocio de su vida en el
Perú a costa de las exportaciones con valor agregado.

Eso lleva a que el tipo de cambio tienda a la baja es la masivas
exportaciones de minerales (oro, Antamina, etc.) sin que tengan un
correlato similar de crecimiento de las exportaciones con valor
agregado.

Esta es una particularidad de la economía que desalienta las
exportaciones No Tradicionales. ¿Que dirán los sabios Oscar Dancourt
y Daniel Schydlowsky hoy en el directorio del BCR?. ¿Están afónicos?

Sat Nov 23, 2002 1:57 pm

Posted in 2002-11 Noviembre with tags , , , , , on January 24, 2009 by Farid Matuk

VAR (detalles)

 

Hola:

Pudieras dar algunos detalles del VAR efectuado: 1) Longitud de
la serie. 2) Variables vigentes en versión final. 3) Variables
ensayadas y excluidas de la versión final. y 4) ¿Alguna alteración
en la matriz de varianza-covarianza?

Gracias, Matuk

— In MacroPeru@y…, Jose Carlos Saavedra
<josecarlos_saavedra@y…> wrote:
>
> Buenos días, mi nombre es Jose Carlos Saavedra, alumno de la
Católica, al igual que mi estimado amigo Angel Marces pertenezco a
Ophelimos y quisiera agradecer los comentarios tan motivadores
recibidos tras la primera presentación de nuestro semanario.
> El vice ministro de Industria comentó ayer que el sector
manufacturero creció 9% en Octubre, lo que da buenas señales acerca
del mantenimiento de los altos niveles de actividad en los últimos
meses. Pues bien, queda la pregunta , elaborada hace unos días por
Bruno Seminario, acerca de cuales son las posibles causas de este
crecimiento.
> Mi percepción es que hay tres grande causas: que reforzaré en la
medida de lo posible con los resultados de un modelo VAR*
> 1) impulso sobre la construcción de los programas por parte del
gobierno (Mivivienda y Techo Propio).
> 2) Resagos de la política monetaria expansiva (manifestándose en
presiones recientes sobre la inflación, y fortaleciendose con la
evolución de las tasas internacionales)
> 3)Apreciación del Nuevo Sol a partir del 30 de Setiembre (impacto
positivo sobre el peso de deuda de las familias y sobre la hoja de
balance de las empresas del sector no transable que se endeudan en
soles).
> * el modelo VAR que llevé a cabo analiza las interrelaciones entre
las variaciónes del producto de los sectores económicos, y otras
variables , entre ellas el tipo de cambio real (siempre en
variaciones).
> Los impulso respuesta acumulados que adjunto a este mensaje,
evidencian el impacto positivo (estadísticamente significante) que
tiene un shock exógeno sobre las tasas de crecimiento del producto
en el sector construcción, sobre los demas sectores de demanda.
Asimismo, se observa una relación negativa entre el tipo de cambio y
el nivel de actividad en estos.
> Seguramente hay otros factores pero me parece que los elementos
mencionados tienen alguna incidencia en las tasas de crecimiento que
venimos observando.
>
>
>
>
>
> ———————————
> Do You Yahoo!?
> Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo
por $100 al mes.