A time series can be defined as ‘A set of observations of a variable recorded at successive intervals or point of time’. Mathematically, a time series is defined by the functional relationship 𝑌 𝑡 = 𝑓 𝑡 ; 𝑡 = 𝑡 1 , 𝑡 2 , 𝑡 3 … … … … … … … … … … . . Where, 𝑌 𝑡 is the value of the phenomenon at time t.
I. The selling amount ( 𝑌 𝑡 ) of a particular Grocer’s shop in every day. II. The no. of new born baby in Bangladesh ( 𝑌 𝑡 ) in each year (t).
Mean forecasting Naïve forecasting Linear trend forecasting Non – Linear trend forecasting Forecasting with exponential smoothing
1. To study the past behavior of data. 2. To make forecasts for future.
To study the past behavior of the phenomenon under consideration. To forecast the behavior of the phenomenon in future which is essential for future planning. To compare the changes in the values of different phenomenon at different time or places. The segregation and study of the various components is of great importance to the planner in business, policy making, decision making and so forth. To realize the actual current performance with respect to past and future.
The change which are being in time, they are effected by Economic, Social, Natural, Industrial and Political Reasons. These reasons are called components of time series . Components of time series: There are four components of time series. Such as, Secular Trend Seasonal Variation Cyclic variation Irregular Variation
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 movement of the data. An upward tendency is seen in the population data while in the data of birth, death epidemics e.t.c
There are two types of trend exist. Such as Linear trend Non- linear trend
If in a time series analysis, the time series values cluster more or less around a straight line then the trend is called linear trend. If in a time series analysis, the time series values not anyway lie around any straight line is called the non- linear trend.
Cyclical variation are recurrent upward or downward movements in a time series but the period of cycle is more than one year are called cyclic variation. Also these variation are not regular as seasonal variation. The production of jute in Bangladesh which is influence by weather, socio- economic condition, farmer’s personal view e.t.c
The changes observed in the time series data which are due to the changes in season are called seasonal variations. 1. The demand of umbrella increase in rainy season.
The fluctuations in a time series which are purely random, unpredictable and are due to factors which are beyond the control of human hands are called irregular variation. Fluctuation in agricultural data due to floods, draughts e.t.c Fluctuation in the price of goods due to war.
For analysis the time series data, we have the following model: Additive Model Multiplicative Model Mixed Model
We may set the additive model as, 𝒀 𝒕 = 𝑻 𝒕 + 𝑺 𝒕 + 𝑪 𝒕 + 𝑹 𝒕 Where, 𝐶 𝑡 (and 𝑆 𝑡 𝑖𝑓 𝑎𝑛𝑦) will have positive or negative values whether we are in an above normal or below normal phase of the cycle and the total of the values for any cycle would be zero. 𝑅 𝑡 will also have positive or negative values and in the long run ∑ 𝑅 𝑡 =
We may write the multiplicative model as 𝒀 𝒕 = 𝑻 𝒕 × 𝑺 𝒕 × 𝑪 𝒕 × 𝑹 𝒕 Where, 𝑆 𝑡 , 𝐶 𝑡 𝑎𝑛𝑑 𝑅 𝑡 are indices fluctuating above or below unity and the geometric means of long run period are unity.
The mixed model can be written as 𝑌 𝑡 = 𝑇 𝑡 × 𝐶 𝑡 + 𝑆 𝑡 × 𝑅 𝑡 𝑌 𝑡 = 𝑇 𝑡 + 𝑆 𝑡 × 𝐶 𝑡 . 𝑅 𝑡
Graphical Method Semi- Average Method Moving Average Method Least Square Method / Curve Fitting Method
Fit a Trend line to the following data, by the free-hand method. Year 1980 1981 1982 1983 1984 1985 1986 Sales 85 110 105 110 140 180 205
Fitting trend line by Graphical method 85 110 105 110 140 180 205 1980 1981 1982 1983 1984 1985 1986 Fig: Trend Line By Graphically 100 200 300 Sales Sales Scale: On the, OX- axis 5 square = 1 year OY- axis 1 square = 10 ton
Fit a trend line to the following data by the method of semi-average. Year 1992 1993 1994 1995 1996 1997 1998 1999 2000 Sales 85 110 105 110 140 180 205 82 84
Here, the number of years n=9 (odd) and therefore, two parts are obtained by omitting the value corresponding to the middle time point 1996. Table for calculation of semi-averages Year Production (in lac ton) Semi- total Semi-Average 1992 60 1993 65 267 66.75 1994 70 1995 72 1996 73 1997 70 1998 80 316 79.0 1999 82 2000 84
Find out four year moving average from the following data: Year 1 2 3 4 5 6 7 8 9 10 11 12 Value 53 79 76 66 69 94 105 87 79 104 98 97
Calculation of trend by moving- average method Year Value 4-yearly Moving 4- yearly moving average (centered) 1 53 2 79 3 76 68.50 70.500 4 66 72.50 74.375 5 69 76.25 79.875 6 94 83.50 86.125 7 105 88.75 90.000 8 87 91.25 92.500 9 79 93.75 92.875 10 104 92.00 93.250 11 98 12 97
The production of a fertilizer factory (in thousand tons) are given below: Year 1977 1978 1979 1980 1981 1982 1983 Production 70 75 90 98 85 91 100 Compute the linear trend vales by the least square method and plot the value in a chart. Estimate the probable production of 1985. What is the monthly and quarterly fertilizer production? After eliminating the trend values what components of the time series are thus left over? Eliminating the trend values based on additive model.
Solution: Let us consider, time (x) = 𝑇𝑖𝑚𝑒 − 1980 And Production = Y Year Production (Y) X = Time - 1980 XY 𝑋 2 Trend values, 𝑌 𝑐 = 𝑋87 + 4.179 𝑋 1977 70 - 3 - 210 9 74.46 1978 75 - 2 - 150 4 78.64 1979 90 - 1 - 90 1 82.82 1980 98 87.00 1981 85 1 85 1 91.18 1982 91 2 182 4 95.36 1983 100 3 300 9 99.54 ∑ 𝑌 = 609 ∑ 𝑋 = ∑ 𝑋𝑌 = 17 ∑ 𝑋 2 = 28 ∑ 𝑌 𝑐 = 609
Let the equation of the linear trend is, 𝒀 = 𝒂 + 𝒃𝑿 Where, x denotes time 𝑌 𝑐 𝑖𝑠 𝑡𝑒 𝑡𝑟𝑒𝑛𝑑 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑎𝑡 𝑡𝑖𝑚𝑒 𝑡 a and b are constants
70 75 90 98 91 100 74.46 78.64 82.82 87 85 91.18 95.36 99.54 60 40 120 100 80 20 1977 1978 1979 1980 1981 1982 1983 Actual Trend Trend Line Production Year
ii. Estimate the probable production in 1985, For the year 1985, coded time, 𝑋 = 𝑌𝑒𝑎𝑟 − 1985 = 1985 − 1980 = 5 So, the estimated probable production for the year 1985 is 𝑌 1985 = 87 + 4.18 × 5 = 107.895
iii. We have the estimated trend line equation, 𝑌 = 87 + 4.18 𝑋 The monthly increase in fertilizer production 𝑏 4.18 12 12 = = 0.348 The quarterly increase in fertilizer production = 𝑏 4.18 4 4 = 1.045
Table for eliminating the trend values based on additive model iv. After eliminating the trend value, Seasonal variation, cyclic variation and Irregular variation components of time series are left over. Year Production (Y) Trend values, 𝑌 𝑐 = 87 + 4.179 𝑋 Additive model ( 𝑦 − 𝑦 ^ ) 1977 70 74.46 - 4.46 1978 75 78.64 - 3.64 1979 90 82.82 7.18 1980 98 87.00 11 1981 85 91.18 - 6.18 1982 91 95.36 - 4.36 1983 100 99.54 0.46 ∑ 𝑌 = 609 ∑ 𝑌 𝑐 = 609