Professional Documents
Culture Documents
Time Series Lecture Notes-Ch-1
Time Series Lecture Notes-Ch-1
Time Series Lecture Notes-Ch-1
INTRODUCTION
1.1. Definition
A time series is a sequence of observations that are arranged according to the
time of their outcome.
i.e. The characteristic property of a time series is the fact that the data are not
generated independently and their dispersion varies in time.
When the measurements stray too far from some target value, appropriate
corrective action should be taken to control the process.
Time series of this type, called binary processes, occur in many situations,
including the study of communication theory.
For example, the position of a switch, either ‘on’ or ‘off’, could be recorded
as one or zero, respectively.
ON
1
OFF
0
F. Time Plot :
It is a plot of observations against time. It is most important step in any time
series analysis. This graph should show up important features of the series such as
trend, seasonality, outliers, change in structure etc. the plot is vital, both to
describe the data and to help in formulating a sensible model.
G. Stationary series:
A series whose overall behavior remains the same over time. It fluctuates around
a constant mean
Description
Control
Prediction Explanation
Trend,
Seasonal variation,
Other cyclic changes, and
Irregular fluctuations.
This approach is not always the best but is particularly valuable when the
variation is dominated by trend and/or seasonality.
4. Irregular Component:
The phrase ‘irregular fluctuations’ is often used to describe any variation that is
‘left over’ when other components of the series (trend, seasonal and cyclical) have
been accounted for. As such, they may or may not be random.
1. An additive model:
Yt = Tt+ St+ Ct +It
2. multiplicative model:
Yt = Tt*St *Ct*It,
Mixed Model:
Yt = Tt +St +Ct*It
Yt = Tt +St *Ct*It
Yt = Tt *St *Ct+It
Analysts generally like to think they have ‘good’ data, meaning that the data
have been carefully collected with no outliers or missing values.
The process of checking through data is often called cleaning the data, or data
editing.
It is an essential precursor to attempts at modeling data.
Data cleaning could include modifying outliers, identifying and correcting
obvious errors and filling in (or imputing) any missing observations.
Missing Value
plug in the mean for the overall series.
computing mean of the adjacent observations.
Missing value replacement in exponential smoothing often applies one-step-
ahead forecasting from the previous observations.
Outliers
Outliers, or aberrant observations, are often clearly visible in the time plot of
the data.
Monday, May 27, 2024 Time Series Analysis 22
Instead of adjusting or removing outliers, an alternative approach is to use
robust methods, which automatically down weight extreme observations.
Running median smoothers (also called Odd-span moving medians) are
effective data smoothers when time series data may be contaminated with
unusual values.
The moving median of span-3 is a very popular and effective data smoother,
where mt = median(Yt-1, Yt, Yt+1).
For example:
consider the sequence of observations:
time 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
data 15 18 13 12 16 14 16 17 18 15 18 200 19 14 21 24 19 19 25
odd-span-3 15 13 13 14 16 16 17 17 18 18 19 19 19 21 21 19 19
time 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
data 15 18 13 12 16 14 16 17 18 15 18 200 19 14 21 24 19 19 25
odd-spam 3 15 15 13 13 14 16 16 17 17 18 18 19 19 19 21 21 19 19 25