Professional Documents
Culture Documents
Frequently, the data consist of numbers recorded by time period. For example, sales by
year, units of output by week, expenses by month and so on.
A series of values of a variable recorded for succeeding (berturut turut) time period is
called a time series. For example:
Year 1999 2000 2001 2002 2003 2004 2005 2006 2007
Sales 930 1028 1267 1035 1057 1332 1567 1757 1616
(hundreds)
Time series are analyzed to obtain measures that can be used for making current decision,
forecasting, and for planning future operations.
A time series has four components : long term trend (T), cycles(C), seasonal (S),
irregular(I).
A line describing a time series movements that persists(berlangsung) for many years is
called a long term trend.
Movements of the average level of a time series above and bellow the long term trend are
called cyclical movements.
A seasonal pattern is a within-a-year pattern whose shape repeats year after year.
Trend
Linear Trend:
Steps
1. Divide the time series in two groups
2. Compute average of group I ( Y 1) and group II ( Y 2)
3. Trend equation is : Y’= a + b X , where Y= trend value, a= Y 1, b=( Y 2- Y 1)/n,
n=(middle time of group II - middle time of group I), X = year - middle time of
group I (as a base period/base year/tahun dasar).
If amount of years is odd, the mid year must not include either in group I or group II.
X=0 represents the mid year of Group I
1
Least Square Method
1. Linear Trend
Y’= a + b X
Where:
n Σ XY -(ΣX) (ΣY)
b= ________________
nΣ X2 -(Σ X )2
a = (Σ Y)/n - b (Σ X)/n
Σ XY
b= ______
Σ X2
a = (Σ Y)/n
Example-1
The following time series data describes sales ( in thousands unit) of a company from
1990 to 1999.
Year 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
Unit 23 28 34 35 40 41 48 50 58 60
2
2. Quadratic Trend
Y’= a + b1 X + b2 X2
We use the following linear equation systems to find a and b2
(1) Σ Y = n a + b2 ΣX2
(2) Σ X2Y = a ΣX2+ b2 ΣX4
And We use the following formula to find b1
Σ XY
b1 = ______
Σ X2
Example-2
The following time series data describes amount of loan ( in billions rupiah) of a bank
from 1990 to 2000.
Year 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
Loan 600 714 778 856 915 990 1025 1070 1100 1130 1140
Find a and b2
10318 = 11 a + 110 b2 x 10
99550 = 110 a + 1958 b2
3630 = 0 a+ -858 b2
b2 = 3630 = -4,231
-858
a = 980,31
b1 = 5868 = 53,345
110
3
3. Exponential Trend
Y’= a b X
To find a and b, the first step is to convert Y’= a b X into linear model.
Y’= a b X
Log Y’= Log a b X
Log Y’= Log a + Log b X
Log Y’= Log a + X Log b
Y” = a’ + b’ X (linear model)
Where,
ΣY” ΣLogY
a’ = ______ = ______
n n
Σ XY” Σ XLogY
b’ = ______ = ______
ΣX2 ΣX2
Example-3
The following time series data describes production from 1990 to 2000.
Year 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
Production 405 420 441 465 490 522 552 585 620 670 725
29.93836
a’=
11
a’= 2.721669
a= 102,721669=526.83
4
2.770725
b’=
110
b’= 0.025188
b= 100.025188=1.06
The linear, parabolic(quadratic) and exponential trend for the time series are:
Linear Trend
Y= 7,733333 + 0,414286 X
Quadratic Trend
2
Y= 7,24375 + 0,414286 X + 0,041964 X
Exponential Trend
X
Y= 7,601592 1,053546