Advertisements
Advertisements
Question
Solve the following problem :
Fit a trend line to the data in Problem 7 by the method of least squares.
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
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 |
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.
State whether the following is True or False :
Moving average method of finding trend is very complicated and involves several calculations.
Solve the following problem :
Fit a trend line to data in Problem 4 by the method of least squares.
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 :
Following table shows the all India infant mortality rates (per ‘000) for years 1980 to 2010.
Year | 1980 | 1985 | 1990 | 1995 | 2000 | 2005 | 2010 |
IMR | 10 | 7 | 5 | 4 | 3 | 1 | 0 |
Fit a trend line to the above data by graphical method.
Solve the following problem :
Obtain trend values for data in Problem 16 using 3-yearly moving averages.
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
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 |
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 |
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`
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`
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 complicated but efficient method of measuring trend of time series is ______.
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 |