CSLU2850.Lo1 Web Project 11

Assigned: April 23
Due: April 30

In this project we will:

Time Series

Autocorrelation Function

In the last project, we worked with Time Series and Lagged Values. We will now consider the Autocorrelation Function, a way to examine any patterns that may exist between an observation and its lagged values. It is similar to a correlation of a data series with its lagged values.

.

The general formula for calculating the autocorrelation for lagk, denoted rk, is:

Excel Chart Example

Moving Averages

Moving Averages are a method to smooth the fluctuations of individual observations in a time series. To see if the current observation is an improvement over the the previous observations, we can take the average of the previous observations and compare that to the current observations. For the current observation, yn, where n > k, and the moving average with period k, y ma(k), the formula is:

Excel Chart Example

On the graph below, you can see how the Moving Averages smooth out the fluctuations in the Closing Prices:
Excel Chart Example

Exponential Smoothing

Exponential Smoothing is another method of removing fluctuations between observations in a time series. Again, we will use the lagged values of an observation, but now we will weight the prior observations in order of importance. Prior observations that are closer in time to the current observation are given the heaviest weight; The weight of previous observations drops off geometrically. Here is the formula for exponenital smoothing, where w is the weight to begin smoothing with:

Excel Chart Example

On the graph below, you can see how the exponential smoothing flattens the Closing Prices, for w = 0 (i.e. curve is completely smoothed):
Excel Chart Example

On the graph below, you can see how the exponential smoothing flattens the Closing Prices, for w = 0.5:
Excel Chart Example

On the graph below, you can see how the exponential smoothing flattens the Closing Prices, for w = 1 (i.e. curve is not smoothed):
Excel Chart Example


Deliverable

Auto Correlation Function

  1. Import this Tab-delimited text file, Dow_Jones_Close.txt, into Excel. This file contains the Closing Prices for the Dow Jones Composite, from 4/1/1988 to 4/1/2008.
    1. In step 1 of the Text Import Wizard Dialog, make sure to select Delimited.
    2. In step 2 of the Text Import Wizard Dialog, make sure to adjust the column separators, if Excel has made a mistake. If you miss this step, then your Worksheet may have columns in the wrong place.
  2. Calculate rk, the Autocorrelation Function for lagk, for:

Moving Averages

  1. Calculate the Moving Averages for the Closing Prices, with period:
  2. On separate graphs, plot the Moving Averages.

Exponential Smoothing

  1. On separate graphs, plot the Dow Jones Compositve Closing Prices against the same prices under Exponential Smoothing, for:

Make sure you have labeled your charts neatly and appropriately. Also, make sure all of your charts are visible in your Workbook. Once you have completed all steps, save your Workbook as Project11.xls. You should email your instructor this .xls file.