Syl-5. Forecasting and Time Series Analysis
Syl-5. Forecasting and Time Series Analysis
(i) Secular trend: The general tendency of a data set to increase or decrease or
remain stable over a period of time is called trend or secular trend or long-term
2. Math (2010):- You are given below the figures of annual production (in thousand
tones) of sugar mill:-
Year 2003 2004 2005 2006 2007 2008 2009
Production 70 75 90 91 95 98 100
(i) Use the method of least squares to fit a straight line to the above data.
(ii) Estimate likely production for 2012.
(iii) Plot the above figures and draw the line.
Solution: (i) Fitting the straight line Trend
Years Production (in Deviation from xy X2 Trend
thousand tones) middle year (x) Values Yc
Y
2003 70 -3 -210 9 73.31
2004 75 -2 -150 4 78.35
2005 90 -1 -90 1 83.39
2006 91 0 0 0 88.43
2007 95 +1 +95 1 93.47
2008 98 +2 +196 4 98.51
7
3. Math (2008):- calculate the trend values by the method of least squares from the
data given below and estimate the sales for the year 2005:-
Year 1996 1997 1998 1999 2000
Sales of TV sets (in ‘000) 12 18 20 23 27
4. Math 1:- Below are given the figures of production (in million tones) of a cement
factory:-
Year 2002 2004 2005 2006 2007 2008 2009
Production(in 77 88 94 85 91 98 90
m. tones)
(i) Fit a straight line trend by the least squares method and tabulate the trend
values.to fit a straight line to the above data.
(ii) Eliminate the trend. What components of the Time Series are thus left over?.
(iii) What is monthly increase in the production of cement?
Solution: (i) Fitting the straight line Trend
Years Production (in Deviation from xy X2 Trend
9
10
7. Math-(2011 H): From the following data, calculate trend values using 3-yearly
moving average:
Year 1981 1982 1983 1984 1985 1986 1987
Production 412 438 446 454 470 483 490
Solution: Calculation of 3- Yearly Moving Averages
Years Price (Tk) Y 3- Yearly moving 3- Yearly Moving
totals Averages
1981 412 - -
1982 438 1296 432
1983 446 1338 446
1984 454 1370 456.67
1985 470 1407 469
1986 483 1443 481
1987 490 - -
13
We know, The equation of the straight line is: Yc = a + bx. Since x is not zero,
we will solve the two normal equations.
y = Na + b x ------------(i)
xy = a x + b x2-------(ii)
Putting the value (i) and (ii)
623 = 7a +b ------------(iii)
159 = a +51b -------------(iv)
Multiplying eq. (iv) by 7 - (iii), we get b= 1.38 and putting the value of b in eq.
(iii)
623 = 7a + 1.38
a=88.80
Hence Yc = 88.80 + 1.38x is the equation of the straight line
14
64
We know, The equation of the straight line is: Yc = a + bx
y 90 xy 64
Where, a= = = 15; b= = = 0.91
N 6 x 2 70
15
16
Ok-12.12.17
17