10.07.2015 Views

Introducción a Series de Tiempo Univariadas - Centro Microdatos

Introducción a Series de Tiempo Univariadas - Centro Microdatos

Introducción a Series de Tiempo Univariadas - Centro Microdatos

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introducción a <strong>Series</strong> <strong>de</strong> <strong>Tiempo</strong> <strong>Univariadas</strong>December 31, 2010Mediante los siguientes comandos po<strong>de</strong>mos crear nuevas variables que contienen el promediomóvil <strong>de</strong> la serie imacec original:tssmooth ma smoothimacec1=imacec, window(11 1)The smoother applied was(1/12)*[x(t-11) + x(t-10) + x(t-9) + x(t-8) + x(t-7) + x(t-6) + x(t-5) +x(t-4) + x(t-3) + x(t-2) + x(t-1) +...; x(t)= imacectssmooth ma smoothimacec2=imacec, window(6 0 6)The smoother applied was(1/12)*[x(t-6) + x(t-5) + x(t-4) + x(t-3) + x(t-2) + x(t-1) + 0*x(t) +x(t+1) + x(t+2) + x(t+3) + x(t+4) +x(t+5) + ...; x(t)= imacectssmooth ma smoothimacec3=imacec, window(6 1 6)The smoother applied was(1/13)*[x(t-6) + x(t-5) + x(t-4) + x(t-3) + x(t-2) + x(t-1) + 1*x(t) +x(t+1) + x(t+2) + x(t+3) + x(t+4) +x(t+5) + ...; x(t)= imacecEn el primer ejemplo se crea la variable smoothimacec1 que tiene el promedio móvil <strong>de</strong> 11periodos atrás más el periodo actual. En el segundo ejemplo, se crea la variable smoothimacec2con el promedio móvil tomando 6 valores atrás <strong>de</strong> t y 6 valores <strong>de</strong>lante <strong>de</strong> t, pero sin tomar elvalor en t. Por último, en el tercer ejemplo, se crea la variable smoothimacec3 con el promediomóvil <strong>de</strong> imacec tomando 6 observaciones antes <strong>de</strong> t, 6 observaciones <strong>de</strong>spués <strong>de</strong> t, y laobservación en t.28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!