Advertisements
Advertisements
प्रश्न
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
उत्तर
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
संबंधित प्रश्न
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.
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?
The simplest method of measuring trend of time series is ______.
State whether the following is True or False :
Graphical method of finding trend is very complicated and involves several calculations.
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 :
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.
Solve the following problem :
Fit a trend line to the data in Problem 7 by the method of least squares.
Solve the following problem :
Obtain trend values for the data in Problem 7 using 4-yearly moving averages.
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.
The complicated but efficient method of measuring trend of time series is ______
The simplest method of measuring trend of time series is ______
The method of measuring trend of time series using only averages is ______
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 shows the production of gasoline in U.S.A. for the years 1962 to 1976.
| 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 | 7 | 8 | 9 | 8 | 9 | 10 |
- Obtain trend values for the above data using 5-yearly moving averages.
- Plot the original time series and trend values obtained above on the same graph.
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`
Obtain trend values for data, using 3-yearly moving averages
Solution:
| Year | IMR | 3 yearly moving total |
3-yearly moving average (trend value) |
| 1980 | 10 | – | – |
| 1985 | 7 | `square` | 7.33 |
| 1990 | 5 | 16 | `square` |
| 1995 | 4 | 12 | 4 |
| 2000 | 3 | 8 | `square` |
| 2005 | 1 | `square` | 1.33 |
| 2010 | 0 | – | – |
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 publisher of a magazine wants to determine the rate of increase in the number of subscribers. The following table shows the subscription information for eight consecutive years:
| Years | 1976 | 1977 | 1978 | 1979 |
| No. of subscribers (in millions) |
12 | 11 | 19 | 17 |
| Years | 1980 | 1981 | 1982 | 1983 |
| No. of subscribers (in millions) |
19 | 18 | 20 | 23 |
Fit a trend line by graphical method.
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 |
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`
