Advertisements
Advertisements
Question
Solve the following problem :
Fit a trend line to the data in Problem 7 by the method of least squares.
Advertisements
Solution
In the given problem, n = 10 even), middle t – value is 1980 and 1985, h = 5
u = `"t - mean of two middle values"/("h"/2) = ("t" - 1985.5)/(5/2) = (2("t" – 1985.5))/(5)`
We obtain the following table.
| Year t |
Percentage of enrolment yt |
u = `(2("t" – 1982.5))/(5)` | u2 | uyt | Trend Value |
| 1960 | 0 | –9 | 81 | 0 | 0.8187 |
| 1965 | 3 | –7 | 49 | –21 | 1.7701 |
| 1970 | 3 | –5 | 25 | –15 | 2.7215 |
| 1975 | 4 | –3 | 9 | –12 | 3.6729 |
| 1980 | 4 | –1 | 1 | –4 | 4.6243 |
| 1985 | 5 | 1 | 1 | 5 | 5.5757 |
| 1990 | 6 | 3 | 9 | 18 | 6.5271 |
| 1995 | 8 | 5 | 25 | 40 | 7.4785 |
| 2000 | 8 | 7 | 49 | 56 | 8.4299 |
| 2005 | 10 | 9 | 81 | 90 | 9.3813 |
| Total | 51 | 0 | 330 | 157 |
From the table, n = 10, `sumy_"t" = 51, sumu = 0, sumu^2 = 330,sumuy_"t" = 157`
The two normal equations are: `sumy_"t" = "na"' + "b"' sumu "and" sumuy_"t", = a'sumu + b'sumu^2`
∴ 51 = 10a' + b'(0) ...(i) and
157 = a'(0) + b'(330) ...(ii)
From (i), a' = `(51)/(10)` = 5.1
From (ii), b' = `(157)/(330)` = 0.4757
∴ The equation of the trend line is yt = a' + b'u
i.e., yt = 5.1 + 0.4757 u, where u = `(2("t" – 1985.5))/(5)`.
APPEARS IN
RELATED QUESTIONS
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.
Fit a trend line to the data in Problem 7 by the method of least squares. Also, obtain the trend value for the year 1990.
Obtain the trend values for the above data using 3-yearly moving averages.
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 :
Which of the following is a major problem for forecasting, especially when using the method of least squares?
Fill in the blank :
The complicated but efficient method of measuring trend of time series is _______.
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 :
Obtain trend values for the following data using 5-yearly moving averages.
| Year | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 |
| Production | 0 | 4 | 9 | 9 | 8 | 5 | 4 | 8 | 10 |
Solve the following problem :
Fit a trend line to data in Problem 4 by the method of least squares.
Obtain trend values for the following data using 4-yearly centered moving averages.
| Year | 1971 | 1972 | 1973 | 1974 | 1975 | 1976 |
| Production | 1 | 0 | 1 | 2 | 3 | 2 |
| Year | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 |
| Production | 3 | 6 | 5 | 1 | 4 | 10 |
Solve the following problem :
Obtain trend values for the data in Problem 7 using 4-yearly moving averages.
Following data shows the number of boxes of cereal sold in years 1977 to 1984.
| Year | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 | 1984 |
| No. of boxes in ten thousand | 1 | 0 | 3 | 8 | 10 | 4 | 5 | 8 |
Fit a trend line to the above data by graphical method.
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 :
Following table shows the number of traffic fatalities (in a state) resulting from drunken driving for years 1975 to 1983.
| Year | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 |
| No. of deaths | 0 | 6 | 3 | 8 | 2 | 9 | 4 | 5 | 10 |
Fit a trend line to the above data by graphical method.
Solve the following problem :
Fit a trend line to data in Problem 13 by the method of least squares.
Choose the correct alternative:
Moving averages are useful in identifying ______.
The simplest method of measuring trend of time series is ______
State whether the following statement is True or False:
The secular trend component of time series represents irregular variations
State whether the following statement is True or False:
Least squares method of finding trend is very simple and does not involve any calculations
The following table gives the production of steel (in millions of tons) for years 1976 to 1986.
| Year | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 |
| Production | 0 | 4 | 4 | 2 | 6 | 8 | 5 | 9 | 4 | 10 | 10 |
Obtain the trend value for the year 1990
The complicated but efficient method of measuring trend of time series is ______.
Complete the following activity to fit a trend line to the following data by the method of least squares.
| Year | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 |
| Number of deaths | 0 | 6 | 3 | 8 | 2 | 9 | 4 | 5 | 10 |
Solution:
Here n = 9. We transform year t to u by taking u = t - 1979. We construct the following table for calculation :
| Year t | Number of deaths xt | u = t - 1979 | u2 | uxt |
| 1975 | 0 | - 4 | 16 | 0 |
| 1976 | 6 | - 3 | 9 | - 18 |
| 1977 | 3 | - 2 | 4 | - 6 |
| 1978 | 8 | - 1 | 1 | - 8 |
| 1979 | 2 | 0 | 0 | 0 |
| 1980 | 9 | 1 | 1 | 9 |
| 1981 | 4 | 2 | 4 | 8 |
| 1982 | 5 | 3 | 9 | 15 |
| 1983 | 10 | 4 | 16 | 40 |
| `sumx_t` =47 | `sumu`=0 | `sumu^2=60` | `square` |
The equation of trend line is xt= a' + b'u.
The normal equations are,
`sumx_t = na^' + b^' sumu` ...(1)
`sumux_t = a^'sumu + b^'sumu^2` ...(2)
Here, n = 9, `sumx_t = 47, sumu= 0, sumu^2 = 60`
By putting these values in normal equations, we get
47 = 9a' + b' (0) ...(3)
40 = a'(0) + b'(60) ...(4)
From equation (3), we get a' = `square`
From equation (4), we get b' = `square`
∴ the equation of trend line is xt = `square`
