Advertisements
Advertisements
Question
Use the method of least squares to fit a trend line to the data given below. Also, obtain the trend value for the year 1975.
| Year | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 |
| Production (million barrels) |
0 | 0 | 1 | 1 | 2 | 3 | 4 | 5 |
| Year | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | |
| Production (million barrels) |
6 | 8 | 9 | 9 | 8 | 7 | 10 |
Advertisements
Solution
In the given problem, n = 15 (odd), middle t – values is 1969, h = 1
u = `("t" - "middle value")/"h"`
= `("t" - 1969)/1`
= t – 1969
We obtain the following table:
|
Year |
Production yt |
u = t − 1969 | u2 | uyt | Trend Value |
| 1962 | 0 | − | 49 | 0 | − 0.6 |
| 1963 | 0 | − 6 | 36 | 0 | 0.2 |
| 1964 | 1 | − 5 | 25 | − 5 | 1 |
| 1965 | 1 | − 4 | 16 | − 4 | 1.8 |
| 1966 | 2 | − 3 | 9 | − 6 | 2.6 |
| 1967 | 3 | − 2 | 4 | − 6 | 3.4 |
| 1968 | 4 | − 1 | 1 | − 4 | 4.2 |
| 1969 | 5 | 0 | 0 | 0 | 5 |
| 1970 | 6 | 1 | 1 | 6 | 5.8 |
| 1971 | 8 | 2 | 4 | 16 | 6.6 |
| 1972 | 9 | 3 | 9 | 27 | 7.4 |
| 1973 | 9 | 4 | 16 | 36 | 8. |
| 1974 | 8 | 5 | 25 | 40 | 9 |
| 1975 | 9 | 6 | 36 | 54 | 9.8 |
| 1976 | 10 | 7 | 49 | 70 | 10.6 |
| Total | 75 | 0 | 280 | 224 |
From the table, n = 15, ∑yt = 75, ∑u = 0, ∑u2 = 280, ∑uyt = 224
The two normal equations are:
∑yt = na' + b'∑u and ∑uyt = a' ∑u + b'∑u2
∴ 75 = 15a' + b'(0) ......(i)
and
224 = a′(0) + b′(280) .....(ii)
From (i), a′ = `75/15` = 5
From (ii), b′= `224/280` = 0.8
∴ The equation of the trend line is yt = a′ + b′u
i.e., yt = 5 + 0.8 u, where u = t – 1969
Now, for t = 1975, u = 1975 – 1969 = 6
∴ yt = 5 + 0.8 × 6 = 9.8
RELATED QUESTIONS
Obtain the trend line for the above data using 5 yearly moving averages.
Fit a trend line to the data in Problem 4 above by the method of least squares. Also, obtain the trend value for the index of industrial production for the year 1987.
The following table shows the production of gasoline in U.S.A. for the years 1962 to 1976.
| Year | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 | 1969 | 1970 | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 |
| Production (Million Barrels) |
0 | 0 | 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 8 | 9 | 10 |
i. Obtain trend values for the above data using 5-yearly moving averages.
ii. Plot the original time series and trend values obtained above on the same graph.
Choose the correct alternative :
We can use regression line for past data to forecast future data. We then use the line which_______.
Choose the correct alternative :
Which of the following is a major problem for forecasting, especially when using the method of least squares?
Choose the correct alternative :
What is a disadvantage of the graphical method of determining a trend line?
The simplest method of measuring trend of time series is ______.
State whether the following is True or False :
Graphical method of finding trend is very complicated and involves several calculations.
State whether the following is True or False :
Least squares method of finding trend is very simple and does not involve any calculations.
Solve the following problem :
The following table shows the production of pig-iron and ferro- alloys (‘000 metric tonnes)
| Year | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 |
| Production | 0 | 4 | 9 | 9 | 8 | 5 | 4 | 8 | 10 |
Fit a trend line to the above data by graphical method.
Solve the following problem :
Following table shows the amount of sugar production (in lac tonnes) for the years 1971 to 1982.
| Year | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 |
| Production | 1 | 0 | 1 | 2 | 3 | 2 | 3 | 6 | 5 | 1 | 4 | 10 |
Fit a trend line to the above data by graphical method.
Solve the following problem :
Fit a trend line to data in Problem 4 by the method of least squares.
Solve the following problem :
The percentage of girls’ enrollment in total enrollment for years 1960-2005 is shown in the following table.
| Year | 1960 | 1965 | 1970 | 1975 | 1980 | 1985 | 1990 | 1995 | 2000 | 2005 |
| Percentage | 0 | 3 | 3 | 4 | 4 | 5 | 6 | 8 | 8 | 10 |
Fit a trend line to the above data by graphical method.
Solve the following problem :
Obtain trend values for the data in Problem 7 using 4-yearly moving averages.
Solve the following problem :
Fit a trend line to data by the method of least squares.
| Year | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 | 1984 |
| Number of boxes (in ten thousands) | 1 | 0 | 3 | 8 | 10 | 4 | 5 | 8 |
Solve the following problem :
Obtain trend values for data in Problem 13 using 4-yearly moving averages.
Obtain trend values for data in Problem 19 using 3-yearly moving averages.
Choose the correct alternative:
Moving averages are useful in identifying ______.
The simplest method of measuring trend of time series is ______
The method of measuring trend of time series using only averages is ______
Following table shows the amount of sugar production (in lac tons) for the years 1971 to 1982
| Year | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 |
| Production | 1 | 0 | 1 | 2 | 3 | 2 |
| Year | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 |
| Production | 4 | 6 | 5 | 1 | 4 | 10 |
Fit a trend line by the method of least squares
Obtain the trend values for the data, using 3-yearly moving averages
| Year | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 |
| Production | 0 | 4 | 4 | 2 | 6 | 8 |
| Year | 1982 | 1983 | 1984 | 1985 | 1986 | |
| Production | 5 | 9 | 4 | 10 | 10 |
Fit equation of trend line for the data given below.
| Year | Production (y) | x | x2 | xy |
| 2006 | 19 | – 9 | 81 | – 171 |
| 2007 | 20 | – 7 | 49 | – 140 |
| 2008 | 14 | – 5 | 25 | – 70 |
| 2009 | 16 | – 3 | 9 | – 48 |
| 2010 | 17 | – 1 | 1 | – 17 |
| 2011 | 16 | 1 | 1 | 16 |
| 2012 | 18 | 3 | 9 | 54 |
| 2013 | 17 | 5 | 25 | 85 |
| 2014 | 21 | 7 | 49 | 147 |
| 2015 | 19 | 9 | 81 | 171 |
| Total | 177 | 0 | 330 | 27 |
Let the equation of trend line be y = a + bx .....(i)
Here n = `square` (even), two middle years are `square` and 2011, and h = `square`
The normal equations are Σy = na + bΣx
As Σx = 0, a = `square`
Also, Σxy = aΣx + bΣx2
As Σx = 0, b = `square`
Substitute values of a and b in equation (i) the equation of trend line is `square`
To find trend value for the year 2016, put x = `square` in the above equation.
y = `square`
Complete the table using 4 yearly moving average method.
| Year | Production | 4 yearly moving total |
4 yearly centered total |
4 yearly centered moving average (trend values) |
| 2006 | 19 | – | – | |
| `square` | ||||
| 2007 | 20 | – | `square` | |
| 72 | ||||
| 2008 | 17 | 142 | 17.75 | |
| 70 | ||||
| 2009 | 16 | `square` | 17 | |
| `square` | ||||
| 2010 | 17 | 133 | `square` | |
| 67 | ||||
| 2011 | 16 | `square` | `square` | |
| `square` | ||||
| 2012 | 18 | 140 | 17.5 | |
| 72 | ||||
| 2013 | 17 | 147 | 18.375 | |
| 75 | ||||
| 2014 | 21 | – | – | |
| – | ||||
| 2015 | 19 | – | – |
The complicated but efficient method of measuring trend of time series is ______.
