Fit a straight line trend by the method of least squares to the following data Year 1980 1981 1982 1983 1984 1985 1986 1987 Sales 50.3 52.7 49.3 57.3 56.8 60.7 62.1 58.7
Advertisements
Question
Fit a straight line trend by the method of least squares to the following data
| Year | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 |
| Sales | 50.3 | 52.7 | 49.3 | 57.3 | 56.8 | 60.7 | 62.1 | 58.7 |
Advertisements
Solution
| Year (x) |
Sales (y) |
x = `((x - 1983.5))/0.5` | xy | x2 | Trend values (yt) |
| 1980 | 50.3 | – 7 | – 352.1 | 49 | 50.1775 |
| 1981 | 52.7 | – 5 | – 263.5 | 25 | 51.8375 |
| 1982 | 49.3 | – 3 | – 147.9 | 9 | 53.4975 |
| 1983 | 57.3 | – 1 | – 57.3 | 1 | 55.1575 |
| 1984 | 56.8 | 1 | 56.8 | 1 | 56.8175 |
| 1985 | 60.7 | 3 | 182.1 | 9 | 58.4775 |
| 1986 | 62.1 | 5 | 310.5 | 25 | 60.1375 |
| 1987 | 58.7 | 7 | 410.9 | 49 | 61.7975 |
| N = 8 | `sum` = 447.9 | `sumx` = 0 | `sumxy` = 139.5 | `sumx^2` = 168 | `sumy"t"` = 447.9 |
a = `(sumy)/"n" = 447.9/8` = 55.9875
b = `(sumxy)/(sumx^2) = 139.5/168` = 0.830
Therefore, the required equation of the straight line trend is given by
y = a + bx
y = 55.9875 + 0.830x
⇒ y = 55.9875 + 0.83`((x - 1983.5)/0.5)`
The trend values can be obtained by
When x = 1980
y = 55.9875 + 0.83 `((1980 - 1983.5)/0.5)`
= 55.9875 + 0.83(– 7)
= 55.9875 – 5.81
= 50.1775
When x = 1981
y = 55.9875 + 0.83 `((1981 - 1983.5)/0.5)`
= 55.9875 + 0.83(– 5)
= 55.9875 – 4.15
= 51.8375
When x = 1982
y = 55.9875 + 0.83 `((1981 - 1983.5)/0.5)`
= 55.9875 + 0.83(– 3)
= 55.9875 – 2.49
= 53.4975
When x = 1983
y = 55.9875 + 0.83 `((1983 - 1983.5)/0.5)`
= 55.9875 + 0.83(– 1)
= 55.9875 – 0.83
= 55.1575
When x = 1984
y = 55.9875 + 0.83 `((1984 - 1983.5)/0.5)`
= 55.9875 + 0.83(1)
= 56.8175
When x = 1985
y = 55.9875 + 0.83 `((1985 - 1983.5)/0.5)`
= 55.9875 + 0.83(3)
= 55.9875 + 2.49
= 58.4775
When x = 1986
y = 55.9875 + 0.83 `((1986 - 1983.5)/0.5)`
= 55.9875 + 0.83(5)
= 55.9875 + 4.15
= 60.1375
When x = 1987
y = 55.9875 + 0.83 `((1987 - 1983.5)/0.5)`
= 55.9875 + 0.83(7)
= 55.9875 + 5.81
= 61.7975
APPEARS IN
RELATED QUESTIONS
Define Time series
What is the need for studying time series?
The following table gives the number of small-scale units registered with the Directorate of Industries between 1985 and 1991. Show the growth on a trend line by the free hand method.
| Year | No. of units (in '000) |
| 195 | 10 |
| 986 | 22 |
| 1987 | 36 |
| 198 | 62 |
| 1989 | 55 |
| 1990 | 0 |
| 1991 | 34 |
| 1992 | 50 |
Determine the equation of a straight line which best fits the following data
| Year | 2000 | 2001 | 2002 | 2003 | 2004 |
| Sales (₹ '000) | 35 | 36 | 79 | 80 | 40 |
Compute the trend values for all years from 2000 to 2004
The sales of a commodity in tones varied from January 2010 to December 2010 as follows:
| In Year 2010 | Sales (in tones) |
| Jan | 280 |
| Feb | 240 |
| Mar | 270 |
| Apr | 300 |
| May | 280 |
| Jun | 290 |
| Jul | 210 |
| Aug | 200 |
| Sep | 230 |
| Oct | 200 |
| Nov | 230 |
| Dec | 210 |
Fit a trend line by the method of semi-average
Use the method of monthly averages to find the monthly indices for the following data of production of a commodity for the years 2002, 2003 and 2004
| 2002 | 2003 | 2004 |
| 15 | 20 | 18 |
| 18 | 18 | 25 |
| 17 | 16 | 21 |
| 19 | 13 | 11 |
| 16 | 12 | 14 |
| 20 | 15 | 16 |
| 21 | 22 | 19 |
| 18 | 16 | 20 |
| 17 | 18 | 1 |
| 15 | 20 | 16 |
| 14 | 17 | 18 |
| 18 | 15 | 20 |
Calculate the seasonal indices from the following data using the average method:
| Year | I Quarter | II Quarter | III Quarter | IV Quarter |
| 2008 | 72 | 68 | 62 | 76 |
| 2009 | 78 | 74 | 78 | 72 |
| 2010 | 74 | 70 | 72 | 76 |
| 2011 | 76 | 74 | 74 | 72 |
| 2012 | 72 | 72 | 76 | 68 |
Choose the correct alternative:
A time series is a set of data recorded
Choose the correct alternative:
The additive model of the time series with the components T, S, C and I is
The sum of the series `log_4 2 - log_8 2 + log_16 2 + ...............` to `oo` is
