Advertisements
Advertisements
Question
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 |
Advertisements
Solution
In the given problem, n = 8 (even), two middle t – values are 1980 and 1981, h – 1
u = `"t - mean of two middle values"/("h"/2) = ("t" - 1980.5)/(1/2)` = 2(t – 1980.5)
We obtain the following table.
| Year t |
No. of boxes (in ten thousands) yt |
u = 2(t – 1980.5) | u2 | uyt | Trend Value |
| 1977 | 1 | –7 | 49 | –7 | 1.5836 |
| 1978 | 0 | –5 | 25 | 0 | 2.5240 |
| 1979 | 3 | –3 | 9 | –9 | 3.4644 |
| 1980 | 8 | –1 | 1 | –8 | 4.4048 |
| 1981 | 10 | 1 | 1 | 10 | 5.3452 |
| 1982 | 4 | 3 | 9 | 12 | 6.2856 |
| 1983 | 5 | 5 | 25 | 25 | 7.2260 |
| 1984 | 8 | 7 | 49 | 56 | 8.1664 |
| Total | 39 | 0 | 168 | 79 |
From the table, n = 8, `sumy_"t" = 39, sumu = 0, sumu^2 = 168,sumuy_"t" = 79`
The two normal equations are: `sumy_"t" = "na"' + "b"' sumu "and" sumuy_"t", = a'sumu + b'sumu^2`
∴ 39 = 8a' + b'(0) ...(i) and
79 = a'(0) + b'(168) ...(ii)
From (i), a' = `(39)/(8)` = 4.875
From (ii), b' = `(79)/(168)` = 0.4702
∴ The equation of the trend line is yt = a' + b'u
i.e., yt = 4.875 + 0.4702 u, where u = 2(t – 1980.5).
APPEARS IN
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.
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.
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?
Fill in the blank :
The method of measuring trend of time series using only averages is _______
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 :
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 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 :
Obtain trend values for data in Problem 13 using 4-yearly moving averages.
Solve the following problem :
Fit a trend line to data in Problem 16 by the method of least squares.
Solve the following problem :
Obtain trend values for data in Problem 16 using 3-yearly moving averages.
The complicated but efficient method of measuring trend of time series is ______
The simplest method of measuring trend of time series is ______
State whether the following statement is True or False:
Moving average method of finding trend is very complicated and involves several 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
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 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.
Fit a trend line to the following data by the method of least square :
| Year | 1980 | 1985 | 1990 | 1995 | 2000 | 2005 | 2010 |
| IMR | 10 | 7 | 5 | 4 | 3 | 1 | 0 |
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`
