The Method of Least Squares
Lecture 05
Introduction
The method of least squares
is applicable when there is a strong association between time series
observations. demonstrating a trend towards increment or decrement as time
increases. This method is suitable for a reliable forecast value.
The principle of least squares is used when the trend is
linear or non-linear.
Linear Trend
If time is treated as an independent variable, a
mathematical equation in the shape of a straight line, a parabola, or an
exponential can be used to calculate the secular trend. Let's assume that the
secular trend is linear. Then
the equation of the least squares linear trend would be
When the secular trend of a time series graph appears to be a curve, then a parabola of second or third degree or a curve of some other type, such as the exponential, modified exponential, etc., is to be used.
The second degree of parabola
The following three normal equations are used to estimate the parameters of the above-stated model.
Practice Question
Determine the trend line by straight-line equation from the following data.
|
Year |
1991 |
1992 |
1993 |
1994 |
1995 |
1996 |
1997 |
|
Sale (00,000,000) |
21 |
24 |
28 |
18 |
20 |
16 |
25 |
b = -12 / 28
b = -0.4285
The estimated model
Practice Question
Fit a second-degree equation to the following data and find the trend line.
|
Year |
1985 |
1986 |
1987 |
1988 |
1989 |
|
Values |
125 |
160 |
150 |
135 |
170 |
Solution:
|
Year |
t |
t² |
t² Yt |
t⁴ |
|||
|
1985 |
125 |
-2 |
-250 |
4 |
500 |
-8 |
16 |
|
1986 |
160 |
-1 |
-160 |
1 |
160 |
-1 |
1 |
|
1987 |
150 |
0 |
0 |
0 |
0 |
0 |
0 |
|
1988 |
135 |
+1 |
135 |
1 |
135 |
+1 |
1 |
|
1989 |
170 |
+2 |
340 |
4 |
680 |
+8 |
16 |
|
|
740 |
0 |
65 |
10 |
1475 |
0 |
34 |

No comments:
Post a Comment