ECON 240C. Lecture 10. Outline. Box-Jenkins Passengers Displaying the Forecast Recoloring ARTWO’s and cycles Time series Autocorrelation function Private housing Starts- Single Units Review: Unit Roots Midterm 2002. Forecasting Seasonal Difference in the Fractional Change.
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Outline • Box-Jenkins Passengers • Displaying the Forecast • Recoloring • ARTWO’s and cycles • Time series • Autocorrelation function • Private housing Starts- Single Units • Review: Unit Roots • Midterm 2002
Displaying the Forecast • Now you are ready to use the Quick menu and the show command to make a more pleasing display of the data, the forecast, and its approximate 95% confidence interval.
Recoloring • The seasonal difference of the fractional change in airline passengers may be appropriately pre-whitened for Box-Jenkins modeling, but it is hardly a cognitive or intuitive mode for understanding the data. Fortunately, the transformation process is reversible and we recolor, i.e put back the structure we removed with the transformations by using the definitions of the transformations themselves
Recoloring • Summation or integration is the opposite of differencing. • The definition of the first difference is: (1-Z) x(t) = x(t) –x(t-1) • But if we know x(t-1) at time t-1, and we have a forecast for (1-Z) x(t), then we can rearrange the differencing equation and do summation to calculate x(t): x(t) = x0(t-1) + Et-1 (1-Z) x(t) • This process can be executed on Eviews by using the Generate command
Recoloring • In the case of airline passengers, it is easier to undo the first difference first and then undo the seasonal difference. For this purpose, it is easier to take the transformations in the order, natural log, seasonal difference, first difference • Note: (1-Z)(1-Z12)lnBJPASS(t) = (1-Z12)(1-Z) lnBJPASS(t), i.e the ordering of differencing does not matter
Using Eviews to Recolor • DSDlnBJP(t) = SDlnBJPASS(t) – SDBJPASS(t-1) • DSDlnBJP(1961.01) = SDlnBJPASS(1961.01) – SDlnBJPASS(1960.12) • So we can rearrange to calculate forecast values of SDlnBJPASS from the forecasts for DSDlnBJP • SDlnBJPASSF(1961.01) = DSDlnBJPF(1961.01) + SDlnBJPASS(1960.12) • We can use this formula in iterative fashion as SDlnBJPASSF(1961.01) = DSDlnBJPF(1961.01) + SDlnBJPASSF(1960.12), but we need an initial value for SDlnBJPASSF(1960.12) since this is the last time period before forecasting.
The initial value • This problem is easily solved by generating SDlnBJPASSF(1960.12) = SDlnBJPASS(1960.12)
Recoloring to Undo the Seasonal Difference in the Log of Passengers • Use the definition: SDlnBJPASS(t) = lnBJPASS(t) – lnBJPASS(t-12), • Rearranging and putting in terms of the forecasts lnBJPASSF(1961.01) = lnBJPASS(1960.12) + SDlnBJPASSF(1961.01) • In this case we do not need to worry about initial values in the iteration because we are going back twelve months and adding the forecast for the seasonal difference
The Harder Part is Over • Once the difference and the seasonal difference have been undone by summation, the rest requires less attention to detail, plus double checking, to make sure your commands to Eviews were correct.
The Last Step • To convert the forecast of lnBJPASS to the forecast of BJPASS use the inverse of the logarithmic transformation, namely the exponential
Confidence Intervals • The confidence interval can be generated as: • Lnupper = lnbjpass + 2*sef • Lnlower = lnbjpassf-2*sef • And then exponentiated: • Upper= exp(lnupper) • Lower=exp(lnlower)
Part I: ARTWO’s and Cycles • ARTWO(t) = b1 ARTWO(t-1) + b2 ARTWO(t-2) + WN(t) • ARTWO(t) = b1 ARTWO(t-1) + b2 ARTWO(t-2) is the homogenous deterministic part of the equation after dropping the stochastic part, WN(t). • Substitute y2-u for ARTWO(t-u) to obtain: • y2 =b1 y1 + b2 y0 • Or y2 - b1 y1 - b2 = 0, which is a quadratic
Note that the corresponding equation for the autocorrelation function has the same behavior: • r(2) = b1 r(1) + b2 r(0) • Let y2-u = r(2-u), then • y2 =b1 y1 + b2 y0 • The same homogeneous equation for the autocorrelation function as for the process, so if the process cycles so will the autocorrelation function