Advertisements
Advertisements
Question
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 |
Advertisements
Solution
In the given problem, n = 9 (odd), middle t – value is 1978, h = 1
u = `"t - middle value"/"h" = ("t" - 1978)/(1)` = t – 1978
We obtain the following table.
| Year t |
Production yt |
u = t – 1978 | u2 | uyt | Trend Value |
| 1974 | 0 | –4 | 16 | 0 | 3.8001 |
| 1975 | 4 | –3 | 9 | –12 | 4.4334 |
| 1976 | 9 | –2 | 4 | –18 | 5.0667 |
| 1977 | 9 | –1 | 1 | –9 | 5.7 |
| 1978 | 8 | 0 | 0 | 0 | 6.3333 |
| 1979 | 5 | 1 | 1 | 5 | 6.9666 |
| 1980 | 4 | 2 | 4 | 8 | 7.5999 |
| 1981 | 8 | 3 | 9 | 24 | 8.2332 |
| 1982 | 10 | 4 | 16 | 40 | 8.8665 |
| Total | 57 | 0 | 60 | 38 |
From the table, n = 9, `sumy_"t" = 57, sumu = 0, sumu^2 = 60,sumuy_"t" = 38`
The two normal equations are: `sumy_"t" = "na"' + "b"' sumu "and" sumuy_"t", = a'sumu + b'sumu^2`
∴ 57 = 9a' + b'(0) ...(i) and
38 = a'(0) + b'(60) ...(ii)
From (i), a' = `(57)/(9)` = 6.3333
From (ii), b' = `(38)/(60)` = 0.6333
∴ The equation of the trend line is yt = a' + b' u
i.e., yt = 6.3333 + 0.6333 u, where u = t – 1978.
APPEARS IN
RELATED QUESTIONS
Obtain the trend line for the above data using 5 yearly moving averages.
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 |
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.
Choose the correct alternative :
What is a disadvantage of the graphical method of determining a trend line?
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 :
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 :
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.
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 :
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 16 by the method of least squares.
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
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 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 |
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 | – | – |
Obtain the trend values for the following data using 5 yearly moving averages:
| Year | 2000 | 2001 | 2002 | 2003 | 2004 |
| Production xi |
10 | 15 | 20 | 25 | 30 |
| Year | 2005 | 2006 | 2007 | 2008 | 2009 |
| Production xi |
35 | 40 | 45 | 50 | 55 |
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`
