
| Quantitative Techniques to Transport Planning | Courses Index | ![]() | ![]() |
Page 44
of 88
pages. Chapter: 8: Time Series and Forecasting ![]() |
Techniques for Extracting the TrendThere are three techniques that can be used to extract a trend from a set of time series values.
The Method of Semi-Averages The Semi-Average Method of extracting the trend is demonstrated with the example below; Suppose the following sales (£00, to nearest £10) were recorded for a firm and it is required to obtain a semi-average trend
Procedure
Once a trend line has been obtained, the trend values corresponding to each time point can be read off from the graph. Example1 Using the data given below;
UK Outward Passenger Movement by Sea
Solution a)
The mean values both L and U must be plotted against a hypothetical point between the middle two time points in their respective sets. Thus L is plotted between Q3 and Q4 of Year 1 whilst U is plotted between Q1 and Q2 of Year 3. As shown below. <insert graph> b) The trend values have been read from the graph and are tabulated below, together with the original data values.
The Method of Least Squares Regression Procedure
Example2 Use the data in example 1 to calculate least squares regression and extract a trend component for each point given. Solution Make y = number of passenger and x = time point Use the general formula y = a + bx. Where: <insert formula> And <insert formula>
Therfore <insert formula> b = 0.1706 and <insert formula> a = 3.94 Thus the regression line for the Trend is T = 3.94 + 0.17x, the normal y has been replaced by ‘T’. The time point values (x = 1,2,3,4,5,6, etc) can now be substituted into the above regression line to give the trend values required. When x = 1 (i.e. Q1, year 1) T= 3.94 + 0.17 (1) = 4.11 The Trend values from Least Squares regression are tabulated below:
The Method of Moving Average
Moving Average of an Odd Number Results Example: Output at a factory appears to vary with the day of the week. Output over the last three weeks has been as follows:
Find
Solution An average of five items, which coincide, with the length of the natural cycle of the series will be used. (a)
Procedure The average in the 1st Five days (Mo, Tu, We, Th, Fr) period were <insert formula> The average output in 2nd Five days ( Tu, We, Th, Fr,Mo) period were; <insert formula> The average output in 3rd Five days (, We, Th, Fr,Mo,Tu) period were <insert formula> Similarly, the other averages are calculated and are tabulated above. (b) <insert graph> Moving Average over an even number of Periods (Centered Moving Average) When calculating moving averages with an even period (i.e. 4, 6, or 8), the resulting moving average would seem to have to be placed in between two corresponding time points. However, a trend value is required to coincide with a particular time points. Therefore centering process is deployed in this type of situation. (A moving average of two will be calculated on the first average trend.) Example: Calculate a moving average trend line of the following results
Solution
Procedure The 1st 4 Qtr Moving Total = <insert formula> The 1st 8 Qtr Moving Total = <insert formula> The 1st Trend Value = <insert formula> The other results are tabulated in the table above |
![]() ![]() ![]() ![]() ![]() ![]() |