• No results found

Time Series

N/A
N/A
Protected

Academic year: 2021

Share "Time Series"

Copied!
75
0
0

Loading.... (view fulltext now)

Full text

(1)

Lesson 1: What is a time series

Umberto Triacca

Dipartimento di Ingegneria e Scienze dell’Informazione e Matematica Universit`a dell’Aquila,

(2)

Time series

(3)

Time series

A time series is a set of observations on a

(4)

Time series

If we denote withT the set of time points at which observations are made,

with xt the observation made at timet, then the time

series is represented by the set

(5)

Time series

If we denote withT the set of time points at which observations are made, withxt the observation made at timet,

then the time series is represented by the set

(6)

Time series

If we denote withT the set of time points at which observations are made, withxt the observation made at timet, then the time

series is represented by the set

(7)

Time series

No restriction is placed on the nature of T .

However, two important cases are when

T is a finite set of time points; T is a closed time interval.

(8)

Time series

No restriction is placed on the nature of T . However, two important cases are when

T is a finite set of time points; T is a closed time interval.

(9)

Time series

No restriction is placed on the nature of T . However, two important cases are when

T is a finite set of time points;

(10)

Time series

No restriction is placed on the nature of T . However, two important cases are when

T is a finite set of time points; T is a closed time interval.

(11)

Time series

Discrete time series

(12)

Time series

Discrete time series Continuous time series

(13)

Time series

Discrete time series. A discrete time series is one in which the set of times at which observations are made is a finite set.

Continuous time series. A continuous time series is obtained when the observations are made continuously over some closed time interval.

(14)

Time series

Discrete time series. A discrete time series is one in which the set of times at which observations are made is a finite set. Continuous time series. A continuous time series is obtained when the observations are made continuously over some closed time interval.

(15)

Time series

Consider a discrete time series.

Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(16)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT

satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(17)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(18)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT. If the time points are equally spaced

(i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(19)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant),

we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(20)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled.

Otherwise, the sequence of observations is called irregularly sampled time series.

(21)

Time series

Consider a discrete time series. Let the times at which observations are made be

t1, t2, ..., tT satisfying

t1< t2< ... < tT.

If the time points are equally spaced (i.e. ti +1− ti = ∆ for all i = 1, ..., T − 1, where ∆ > 0 is a constant), we call the time series regularly sampled. Otherwise, the sequence of observations is called irregularly sampled time series.

(22)

Time series

When we consider a discrete regularly sampled time series, the observation dates (periods) are denoted by integers t = 1, 2, ..., T

Thus a discrete regularly sampled time series on one variable x with T observations, will be represented by the sequence

(23)

Time series

When we consider a discrete regularly sampled time series, the observation dates (periods) are denoted by integers t = 1, 2, ..., T Thus a discrete regularly sampled time series on one variable x with T observations, will be represented by the sequence

(24)

Time series

(25)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly, daily, ..., every minutes.

(26)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly, daily, ..., every minutes.

(27)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded

annually, quarterly, monthly, weekly, daily, ..., every minutes.

(28)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually,

quarterly, monthly, weekly, daily, ..., every minutes.

(29)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly,

monthly, weekly, daily, ..., every minutes.

(30)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly,

weekly, daily, ..., every minutes.

(31)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly,

daily, ..., every minutes.

(32)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly, daily,

(33)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly, daily, ...,

(34)

Time series

An important feature of time series data is the frequency at which the data are collected:

the sampling frequency

Series can be recorded annually, quarterly, monthly, weekly, daily, ..., every minutes.

(35)

Time series

In economics, the most common frequencies are:

annual, quarterly, monthly, daily

(36)

Time series

In economics, the most common frequencies are: annual,

quarterly, monthly, daily

(37)

Time series

In economics, the most common frequencies are: annual,

quarterly,

monthly, daily

(38)

Time series

In economics, the most common frequencies are: annual,

quarterly, monthly,

(39)

Time series

In economics, the most common frequencies are: annual,

quarterly, monthly, daily

(40)

Time series

Thus we can have annual, quarterly, monthly, weekly, daily time series.

the GDP in a country in successive years

the money supply in a country in successive quarters the number of international airline passengers in successive months

(41)

Time series

Thus we can have annual, quarterly, monthly, weekly, daily time series.

the GDP in a country in successive years

the money supply in a country in successive quarters the number of international airline passengers in successive months

(42)

Time series

Thus we can have annual, quarterly, monthly, weekly, daily time series.

the GDP in a country in successive years

the money supply in a country in successive quarters

the number of international airline passengers in successive months

(43)

Time series

Thus we can have annual, quarterly, monthly, weekly, daily time series.

the GDP in a country in successive years

the money supply in a country in successive quarters the number of international airline passengers in successive months

(44)

Time series

Thus we can have annual, quarterly, monthly, weekly, daily time series.

the GDP in a country in successive years

the money supply in a country in successive quarters the number of international airline passengers in successive months

(45)

The time series graph

A important tool in time series analysis is the time series graph.

A time series graph is a scatter plot with the observation values on the y -axis and the corresponding dates on the x -axis.

(46)

The time series graph

A important tool in time series analysis is the time series graph. A time series graph is a scatter plot with the observation values on the y -axis and the corresponding dates on the x -axis.

(47)

The time series graph

Consider, for example, the monthly time series of the international airline passengers Jan 49 -ˆa Dec 60.

(48)

The time series graph

However, it is often convenient to join up consecutive points in time as in the following figure.

Figure : International airline passengers: monthly totals in thousands. Jan 49 - Dec 60

(49)

The time series graph

However, it is often convenient to join up consecutive points in time as in the following figure.

Figure : International airline passengers: monthly totals in thousands. Jan 49 - Dec 60

(50)

The time series graph

However, it is often convenient to join up consecutive points in time as in the following figure.

(51)

Time series

(52)

Time series

(53)

Time series

(54)

Time series

(55)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

5 Turning points: different trends within a series;

(56)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level;

2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

5 Turning points: different trends within a series;

(57)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

5 Turning points: different trends within a series;

(58)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

5 Turning points: different trends within a series;

(59)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

5 Turning points: different trends within a series;

(60)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

(61)

The time series graph

By plotting data as a function of time, we can gain insight into several data features. These features include:

1 Trend: a tendency, a long term change in the mean level; 2 Seasonality: an intra-year fluctuation that is more or less

stable year after year with respect to timing, direction and magnitude;

3 Cycle: an inter-year periodic fluctuation around the trend,

revealing a succession of phases of expansion and contraction;

4 Outliers: values that do not appear to be consistent with the

rest of the data;

(62)

The time series graph

An increasing trend is apparent in the number of divorces in Italy

(63)

The time series graph

A clear seasonal component is contained in the series presented in the following Figure.

Figure : Industrial production - total industry (excluding construction) in Italy, Index (2005 = 100) from January 1990 to February 2010.

(64)

A cyclic component is present in the following time series.

(65)

The time series graph

Figure : Daily returns of the Dow Jones Industrials index from 80/01/02 to 89/12/29

Direct inspection of figure suggests the series of daily returns of the Dow Jones Industrials index contains some outliers.

In particular, the crash of October 19, 1987.

(66)

The time series graph

Figure : Daily returns of the Dow Jones Industrials index from 80/01/02 to 89/12/29

Direct inspection of figure suggests the series of daily returns of the Dow Jones Industrials index contains some outliers. In

(67)

The time series graph

A turning point is present in the unemployment rate in Italy.

(68)

The time series graph

The annual U.S. price index for gasoline is shown in this Figure. It appears from the graph the presence of a structural break in the data.

(69)

The time series graph

In summary, a time series plot is a valuable tool used in order to identify patterns in the data.

bigskip

(70)

The time series graph

In summary, a time series plot is a valuable tool used in order to identify patterns in the data.

bigskip

(71)

Time series

A question:

(72)

Time series

A question:

(73)

Time series

The main objective for analyse a time series is to forecast its future values

(74)

Time series

In order to reach this goal we need of a model of the ”mechanism” that has generated the series.

(75)

Time series

In order to reach this goal we need of a model of the ”mechanism” that has generated the series.

References

Related documents

 Student must repeat the process annually to maintain eligibility for the special tuition rate by submitting Application and Affidavit for Undocumented Immigrants Tuition Rate

The impact of the theory of low-rank posteriors and enhanced acoustic modeling for query detection as well as posterior exemplar-based speech classification are studied in Section

• A partir de este caso el Tribunal Constitucional construye una doctrina que, a su juicio “al- tera el entendimiento que ha existido acerca de la potestad discrecional del

On a longer timescale the following need clarification: the locations of the beam line and diagnostic systems, their data bandwidth requirements, the locations of the switches,

A doubling of a neighborhood’s vacancy rate, say from 4 to 8 percent, would be associated with a 6 percent increase in the foreclosure rate for the average Tenth District

Zhao, Guoqiang; Wang, Xingyong; Wang, Shaolan; Rui, Kun; Chen, Yaping; Yu, Haibo; Ma, Jing; Dou, Shi Xue; and Sun, Wenping, &#34;Heteroatom-doped MoSe2 Nanosheets with

The model generates a path for domestic bank lending, capital accumulation and the growth of the foreign currency debt of domestic banks that ultimately leads to a financial crisis

We then used this engine to create metamorphic variants of a seed virus (created using the PS-MPK virus creation kit [15]) and demonstrated the validity of the assertion in [1]