Time Series Analysis
Time Series Analysis
n ∑ tY −∑Y ∑t
where a=Ý −b t́ and b=
n ∑t 2 −¿ ¿ ¿ .
ii. Nonlinear trend: In some instances, the straight line is not
enough to explain the trend in observed time series. For
example, U.S. GDP per capita has grown at an exponential rate
of approximately two percent per year for two centuries, so
clearly straight line is not appropriate for U.S. GDP. Similarly,
it is always better to model population growth by logistic
curve. We will study two different types of non-linear trends.
i. Polynomial trend :
Polynomial curves fitting points generated with a sine function.
Let us start with a first degree polynomial equation:
This is a line with slope a. We know that a line will connect any
two points. So, a first degree polynomial equation is an exact fit
through any two points with distinct x coordinates.
If we increase the order of the equation to a second degree
polynomial, we get:
This will exactly fit a simple curve to three points.
If we increase the order of the equation to a third degree
polynomial, we get:
and then simple linear regression determines log (a) and log(b).
Taking antilogarithm will determine a and b.