Advertisements
Advertisements
Question
Solve the following problem :
Fit a trend line to data in Problem 13 by the method of least squares.
Advertisements
Solution
In the given problem, n = 9 (odd), middle t – value is 1979, h – 1
u = `"t - middle value"/"h" = ("t" - 1979)/(1)` = t – 1979
We obtain the following table.
| Year t |
No. of deaths yt |
u = t – 1979 | u2 | uyt | Trend Value |
| 1975 | 0 | –4 | 16 | 0 | 2.5554 |
| 1976 | 6 | –3 | 9 | –18 | 3.2221 |
| 1977 | 3 | –2 | 4 | –6 | 3.8888 |
| 1978 | 8 | –1 | 1 | –8 | 4.5555 |
| 1979 | 2 | 0 | 0 | 0 | 5.2222 |
| 1980 | 9 | 1 | 1 | 9 | 5.8887 |
| 1981 | 4 | 2 | 4 | 8 | 6.5556 |
| 1982 | 5 | 3 | 9 | 15 | 7.2223 |
| 1983 | 10 | 4 | 16 | 40 | 7.8890 |
| Total | 47 | 0 | 60 | 40 |
From the table, n = 9, `sumy_"t" = 47, sumu = 0, sumu^2 = 60,sumuy_"t" = 40`
The two normal equations are: `sumy_"t" = "na"' + "b"' sumu "and" sumuy_"t", = a'sumu + b'sumu^2`
∴ 47 = 9a' + b'(0) ...(i) and
40 = a'(0) + b'(60) ...(ii)
From (i), a' = `(47)/(9)` = 5.2222
From (ii), b' = `(40)/(60)` = 0.6667
∴ The equation of the trend line is yt = a' + b'u
i.e., yt = 5.2222 + 0.6667 u, where u = t – 1979.
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.
Obtain the trend values for the data in using 4-yearly centered moving averages.
| Year | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 |
| Index | 0 | 2 | 3 | 3 | 2 | 4 | 5 | 6 | 7 | 10 |
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 ______.
Fill in the blank :
The method of measuring trend of time series using only averages is _______
State whether the following is True or False :
Least squares method of finding trend is very simple and does not involve any calculations.
State whether the following is True or False :
All the three methods of measuring trend will always give the same results.
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.
Fit a trend line to the following data by the method of least squares.
| 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.
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:
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 :
Obtain trend values for data in Problem 10 using 3-yearly moving averages.
Solve the following problem :
Obtain trend values for data in Problem 13 using 4-yearly moving averages.
Solve the following problem :
Following tables shows the wheat yield (‘000 tonnes) in India for years 1959 to 1968.
| Year | 1959 | 1960 | 1961 | 1962 | 1963 | 1964 | 1965 | 1966 | 1967 | 1968 |
| Yield | 0 | 1 | 2 | 3 | 1 | 0 | 4 | 1 | 2 | 10 |
Fit a trend line to the above data by the method of least squares.
State whether the following statement is True or False:
The secular trend component of time series represents irregular variations
Obtain trend values for data, using 4-yearly centred moving averages
| 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 |
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 |
Following table shows the all India infant mortality rates (per ‘000) for years 1980 to 2010
| Year | 1980 | 1985 | 1990 | 1995 |
| IMR | 10 | 7 | 5 | 4 |
| Year | 2000 | 2005 | 2010 | |
| IMR | 3 | 1 | 0 |
Fit a trend line by the method of least squares
Solution: Let us fit equation of trend line for above data.
Let the equation of trend line be y = a + bx .....(i)
Here n = 7(odd), middle year is `square` and h = 5
| Year | IMR (y) | x | x2 | x.y |
| 1980 | 10 | – 3 | 9 | – 30 |
| 1985 | 7 | – 2 | 4 | – 14 |
| 1990 | 5 | – 1 | 1 | – 5 |
| 1995 | 4 | 0 | 0 | 0 |
| 2000 | 3 | 1 | 1 | 3 |
| 2005 | 1 | 2 | 4 | 2 |
| 2010 | 0 | 3 | 9 | 0 |
| Total | 30 | 0 | 28 | – 44 |
The normal equations are
Σy = na + bΣx
As, Σx = 0, a = `square`
Also, Σxy = aΣx + bΣx2
As, Σx = 0, b =`square`
∴ The equation of trend line is 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 | – | – |
Following table shows the amount of sugar production (in lakh tonnes) for the years 1931 to 1941:
| Year | Production | Year | Production |
| 1931 | 1 | 1937 | 8 |
| 1932 | 0 | 1938 | 6 |
| 1933 | 1 | 1939 | 5 |
| 1934 | 2 | 1940 | 1 |
| 1935 | 3 | 1941 | 4 |
| 1936 | 2 |
Complete the following activity to fit a trend line by method of least squares:
The following table shows gross capital information (in Crore ₹) for years 1966 to 1975:
| Years | 1966 | 1967 | 1968 | 1969 | 1970 |
| Gross Capital information | 20 | 25 | 25 | 30 | 35 |
| Years | 1971 | 1972 | 1973 | 1974 | 1975 |
| Gross Capital information | 30 | 45 | 40 | 55 | 65 |
Obtain trend values using 5-yearly moving values.
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`
Following table gives the number of road accidents (in thousands) due to overspeeding in Maharashtra for 9 years. Complete the following activity to find the trend by the method of least squares.
| Year | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 |
| Number of accidents | 39 | 18 | 21 | 28 | 27 | 27 | 23 | 25 | 22 |
Solution:
We take origin to 18, we get, the number of accidents as follows:
| Year | Number of accidents xt | t | u = t - 5 | u2 | u.xt |
| 2008 | 21 | 1 | -4 | 16 | -84 |
| 2009 | 0 | 2 | -3 | 9 | 0 |
| 2010 | 3 | 3 | -2 | 4 | -6 |
| 2011 | 10 | 4 | -1 | 1 | -10 |
| 2012 | 9 | 5 | 0 | 0 | 0 |
| 2013 | 9 | 6 | 1 | 1 | 9 |
| 2014 | 5 | 7 | 2 | 4 | 10 |
| 2015 | 7 | 8 | 3 | 9 | 21 |
| 2016 | 4 | 9 | 4 | 16 | 16 |
| `sumx_t=68` | - | `sumu=0` | `sumu^2=60` | `square` |
The equation of trend 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=68,sumu=0,sumu^2=60,sumux_t=-44`
Putting these values in normal equations, we get
68 = 9a' + b'(0) ...(3)
∴ a' = `square`
-44 = a'(0) + b'(60) ...(4)
∴ b' = `square`
The equation of trend line is given by
xt = `square`
