AppLecture3
AppLecture3
Year 1973 1974 1975 1976 1977 1978 1979 1980 1981
No. of Books
Year Semi Total Semi Average Coded Year Trend Values
Sold
1973 42 0 39.5
1974 38 1 36.5
140 35
1975 35 2 33.5
1976 25 3 30.5
1977 32 4 27.5
1978 24 5 24.5
1979 20 6 21.5
80 20
1980 19 7 18.5
1981 17 8 15.5
Example:
Measure the trend by the method of semi-averages by using the table given below. Also write the equation of the trend line with
origin at 1984-85.
Years Value in Million
1984 – 85 18.6
1985 – 86 22.6
1986 – 87 38.1
1987 – 88 40.9
1988 – 89 41.4
1989 – 90 40.1
1990 – 91 46.6
1991 – 92 60.7
1992 – 93 57.2
1993 – 94 53.4
Solution: x=t-1982
Year Sales Semi Total Semi Average Coded Year Trend Values
1982 10 0 9
1983 12 33 11 1 11
1984 11 2 13
1985 16 3 15
1986 15 51 17 4 17
1987 20 5 19
b = 4(S2-S1)/n2= 4(51-33)/36=2
The constant ‘a’ gives the mean of Y and ‘b’ gives the rate of change (slope).
(v) By substituting the values of ‘a’ and ‘b’ in the trend equation (1), we get the Line of Best Fit.
Example:
Given below are the data relating to the production of sugarcane in a district.
Fit a straight line trend by the method of least squares and tabulate the trend values.
Solution:
Computation of trend values by the method of least squares (ODD Years).
Therefore, the required equation of the straight line trend is given by
Y = a+bX;
Y = 45.143 + 1.036 (x-2003)
Example
Given below are the data relating to the sales of a product in a district.
Fit a straight line trend by the method of least squares and tabulate the trend values.
Solution:
Computation of trend values by the method of least squares.
In case of EVEN number of years, let us consider
similarly other values can be obtained.
Ex. 1
Ex. 2
Ex. 3 Fit a straight line trend on the following data using the Least Squares Method.
Period
1996 1997 1998 1999 2000 2001 2002 2003 2004
(year)
Y 4 7 7 8 9 11 13 14 17