• No se han encontrado resultados

p2_ts.pdf

N/A
N/A
Protected

Academic year: 2020

Share "p2_ts.pdf"

Copied!
35
0
0

Texto completo

(1)

BAYESIAN UNIVARIATE MODELING

OF SEASONAL TIME SERIES:

CANOVA PRIOR

Enrique M. Quilis

Macroeconomic Research Department Ministry of Economy and Finance. Spain.

(2)

CONTENTS

Standard model: unit roots.

Litterman prior: non-seasonal unit root.

Canova prior: seasonal unit roots and zero

frequency unit root.

frequency unit root.

(3)
(4)

UNIT ROOTS: STANDARD MODEL

6 7 8 9 10

1 2 3 4 5

G

a

(5)

UNIT ROOTS: STANDARD MODEL

Unit root at w=0

frequency period = ∝.

Stochastic trend.

)

B

1

(

=

))

B

(

U

(

4

=

∇∇

Stochastic trend.

Represented by the

Litterman prior (random walk + drift).

)

B

1

(

(6)

UNIT ROOTS:

=

(

1

B

)

6 7 8 9 10

1 2 3 4 5

G

a

(7)

UNIT ROOTS: LITTERMAN PRIOR

)

B

1

(

=

Mean centered around a random walk with

drift:

t

t

u

z

)

B

1

(8)

LITTERMAN PRIOR: Mean



µ

=

=

φ

0

*

=

=

φ

=

φ

else

0

1

h

1

(9)

LITTERMAN PRIOR: Variance

µ

=

θ

σ

=

µ φ

)

(

)

(

v

)

V

(

diag

2

σ

θ

θ

=

φ

φ

h

)

)

(

g

(

)

(

(10)

LITTERMAN PRIOR: Variance

Temporal decay

θ

θ

=

1

h

1

0

1

g

<

θ

=

θ

1

h

0

h

g

(11)

LITTERMAN PRIOR: Variance

Temporal decay

0.6 0.7 0.8 0.9 1 Geometric 0.1 0.5 0.9 0.6 0.7 0.8 0.9 1 Harmonic 0.1 0.5 0.9

1 2 3 4 5 6 0 0.1 0.2 0.3 0.4 0.5 Lag

(12)

LITTERMAN PRIOR: Variance

0.6 0.8 1 1.2

Prior on phi parameters: th1=0.1 th2=0.5

1 1.5 2

Prior on phi parameters: th1=1 th2=0.5

0 1 2 3 4 5 6 7 -0.2

0 0.2 0.4 0.6

0 1 2 3 4 5 6 7 -1

(13)

UNIT ROOTS: CANOVA PRIOR

)

B

1

(

=

)

B

(

U

4

=

)

B

B

B

1

(

)

B

(

U

=

+

+

2

+

3

Unit root at w=0

frequency period = ∝.

Stochastic trend. Represented by stochastic constraints

)

B

1

(

=

Seasonal unit roots at

w=π/2 and w=π

frequencies period = 4q and 2q.

Stochastic seasonality. Represented by

)

B

B

B

1

(

)

B

(

(14)

SEASONAL UNIT ROOTS: CANOVA PRIOR

)

B

1

)(

B

1

(

)

B

B

B

1

(

)

B

(

U

=

+

+

2

+

3

=

+

2

+

Unit root at w=π/2

frequency period = 4q=1y.

Stochastic annual

seasonality.

Unit root at w=π

frequency period = 2q=0.5y.

Stochastic semiannual

(15)

SEASONAL UNIT ROOTS:

(

1

+

B

2

)

6 7 8 9 10

0 1 2

0 1 2 3 4 5

Cycle per year

G

a

(16)

SEASONAL UNIT ROOTS:

(

1

+

B

)

6 7 8 9 10

1 2 3 4 5

G

a

(17)

UNIT ROOTS: CANOVA PRIOR

6 7 8 9 10

0 1 2

0 1 2 3 4 5

Cycle per year

G

a

(18)

BASIC MODEL: AR(p)

s

p

u

z

z

z

z

t 1 t 1 1 t 2 p t p t

+

φ

+

+

φ

+

φ

+

µ

=

L

(19)

BASIC MODEL: AR(p): Spectrum

π

φ

=

=

2

v

)

w

cos(

1

1

)

w

(

f

p a

1 h

h

Unit roots at critical frequencies wc={0,π/2, π} mean

an infinity peak at them: f(wc)=∝.

Hence, the denominator should be zero the AR

(20)

BASIC MODEL: AR(p): Constraints.

}

,

2

/

,

0

{

w

1

)

w

cos(

c

p

1 h

h

c

φ

=

=

π

π

=

Unit roots at critical frequencies wc={0,π/2, π} mean

an infinity peak at them: f(wc)=∝.

Hence, the denominator should be zero linear

combinations of the AR parameters should be constraint to add up to one.

(21)

BASIC MODEL: AR(p): Constraints.

0 2 4 6 8 10 12

-1 0 1

w=0

1

w=pi/2

0 2 4 6 8 10 12

-1 0

0 2 4 6 8 10 12

-1 0 1

(22)

BASIC MODEL: AR(p): Constraints.

We consider this prior information in a

stochastic (i.e., inexact or approximate) way,

adding a disturbance to the constraints.

The disturbance reflects:

Approximation errors due to the selection of a

finite order AR polynomial.

finite order AR polynomial.

It is not generally known at which frequency a

peak will appear.

(23)

BASIC MODEL: AR(p): Constraints.

+

=

φ

)

Q

,

0

(

N

~

e

e

r

R

The prior considers an

hyperparameter that represents the global

tightness of the prior and a set of variances to take

θ

=

π π

v

0

0

0

v

0

0

0

v

Q

/2

0 c

a set of variances to take into account the

uncertainties concerning the peak at each of the unit root frequencies:

trend, annual seasonality and semiannual

(24)

FULL CANOVA PRIOR

We have two prior structures:

Litterman prior: representation of a unit root at

the zero frequency (stochastic trend) by means of

a prior centered around a random walk with drift.

Partial Canova prior: unit roots at critical

frequencies (trend, annual seasonality and

frequencies (trend, annual seasonality and

semiannual seasonality) are introduced using

stochastic constraints on the AR parameters.

We combine both sources of prior information

(25)

FULL CANOVA PRIOR: Hyperparameters

We have two set of hyperparameters:

Litterman prior: global tightness, decay, and

tightness on intercept.

Partial Canova prior: global tightness of the prior

(26)

FULL CANOVA PRIOR

(

V

R

'

Q

R

) (

V

R

'

Q

r

)

~

1 1 1 −1 ∗ −1

φ −

− −

φ

+

φ

+

=

φ

(

1 1

)

1

~

V

R

'

Q

R

~

φ

φ

=

+

Σ

φ

=

(

V

φ

+

R

'

Q

R

)

Σ

)

~

,

~

(

N

~

~

C

φ

Σ

(27)

APPLICATION

Box-Jenkins Airline data.

Quarterly totals: s=4.

Log-transformed.

(28)
(29)

AIRLINE DATA: Logs

6.8 7 7.2 7.4 7.6

Q1-48 Q1-50 Q1-52 Q1-54 Q1-56 Q1-58 Q1-60 Q1-62

(30)

AIRLINE DATA: Logperiodogram

6 8 10 12

Periodogram

lo

g

(p

o

w

e

r)

0 2 4

lo

g

(p

o

w

e

(31)

FULL CANOVA PRIOR (Canova, table 1)

p --> 12

Canova

Global

Tightness 0 π/2 π

4.00 0.90 2.00 3.00

Litterman

Global

(32)

BAR ESTIMATION

0 2 4 6 8 10 12

-2 0 2

AR estimation

2

PRIOR

0 2 4 6 8 10 12

-2 0

0 1

(33)

AR ESTIMATION

5 6 7 8

GAIN FUNCTION

0 0.5 1

0 1 2 3 4

(34)

BAR ESTIMATION

5 6 7 8

GAIN FUNCTION

(35)

REFERENCES

CANOVA, F. (1992) "An alternative approach

to modeling and forecasting seasonal time

series",

Journal of Business and Economic

Statistics

, vol. 10, n. 1, p. 97-108.

CANOVA, F. (1993) "Forecasting time series

with common seasonal patterns",

Journal of

Referencias

Documento similar

Finally, we compared the flood events obtained from the continuous simulation to those considering the N highest storm events per year according to the three criteria and by focusing

Penelitian ini bertujuan untuk memperoleh sediaan masker gel peel-off dari ekstrak sari tomat yang memiliki aktivitas antioksidan serta untuk mengetahui kestabilan

Boxplot graphs showing the frequencies of innate and adaptative cell subsets from peripheral blood (blue) and valvular infiltrate (orange). Frequencies were calculated from the

Spatial distribution of the sign, magnitude (days dec -1 ) and significance of annual and seasonal trends of the number of days exceeding the 90 th percentile DPWG for 548

This paper adopts a versatile multivariate conditional correlation model to estimate daily seasonality in the returns, the volatility, and the corre- lations between stocks, bonds,

(estrogens, testosterone, and progestagen metabolites) in fresh feces exposed to field conditions for different periods of time in order to determine whether fecal material collected

We studied the effect of seed origin on annual increment, physical-mechanical properties and anatomical characteristics of Balfourodendron riedelianum wood in a

6 shows the evolution of the storage capacity, the ratio between the annual water storage and the storage capacity and the annual frequency of events above the 95th percentile in