




























































































Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!





























































































Luis Guirola Spring 2026
UB-AQR-IREA
Definition If {𝑦𝑡} is a stationary time series, then for all 𝑠, the distribution of (𝑦𝑡, … , 𝑦𝑡+𝑠) does not depend on 𝑡.
𝑉 𝑎𝑟(𝑦𝑡) = 𝐸[(𝑦𝑡 − 𝜇)^2 ] = 𝜎^2 for all 𝑡
𝐶𝑜𝑣(𝑦𝑡, 𝑦𝑡−𝑘) = 𝛾𝑘 (Independent of 𝑡)
500 600700 Jan 2015 Apr 2015 Jul 2015 Day Oct 2015 Jan 2016
$US
(a) Google closing price 0
50 Jan 2015 Apr 2015 Jul 2015 Day Oct 2015 Jan 2016
$US
(b) Change in google price 40005000
6000
Number of strikes^1950 1960 Year^1970
(^) (c) Strikes: US
4060
80
Number of houses^ 1975 Jan1980 Jan1985 Jan1990 Jan1995 Jan Month
(^) (d) House sales: US
100200
300
$US (constant prices)^1900 1925 Year^1950
(e) Egg prices: US
4000080000
120000160000 Number of pigs 1980 Jan1990 Jan2000 Jan2010 Jan2020 Jan Month
(^) (f) Pigs slaughtered: Victoria, Australia
(^200000) 4000060000
80000
Number of lynx (^1860 1880) Year 1900 1920
(^) (g) Lynx trapped: Canada
400450
500550 Megalitres 1991 Q1 1992 Q1 1993 Q1 1994 Q1 1995 Q1 Quarter
(h) Beer production: Australia (^500) 100150
200250 Petajoules 1960 Q1 1980 Q1 Quarter 2000 Q
(i) Gas production: Australia
Definition If {𝑦𝑡} is a stationary time series, then for all 𝑠, the distribution of (𝑦𝑡, … , 𝑦𝑡+𝑠) does not depend on 𝑡.
Definition If {𝑦𝑡} is a stationary time series, then for all 𝑠, the distribution of (𝑦𝑡, … , 𝑦𝑡+𝑠) does not depend on 𝑡.
google_2018 <- gafa_stock |> filter(Symbol == "GOOG", year(Date) == 2018) head(google_2018)
google_2018 |>autoplot(Close) +labs(y = "Closing stock price
1000
1100
1200
Jan 2018 Apr 2018 Jul 2018 Date [!] Oct 2018 Jan 2019
Closing stock price ($USD)
The series wanders without a fixed mean. This “random walk” behavior is a classic sign of non-stationarity. 9
google_2018 |>autoplot(difference(Close)) +ggthemes::theme_tu labs(y = "Change in Google closing stock price ($USD)")
−
−
0
30
60
Jan 2018 Apr 2018 Jul 2018 Date [!] Oct 2018 Jan 2019
Change in Google closing stock price ($USD)
Observation: By computing the change (𝑦𝑡 − 𝑦𝑡−1), we remove the trend. The series now looks like random noise around zero (Stationary). 11
google_2018 |> ACF(difference(Close)) |> autoplot()+ggthemes:
−0.
−0.
−0.
(^0 5 10) lag [1] 15 20
acf
Occasionally the differenced data will not appear stationary and it may be necessary to difference the data a second time:
Occasionally the differenced data will not appear stationary and it may be necessary to difference the data a second time:
𝑦″𝑡 = 𝑦′𝑡 − 𝑦𝑡−1′ = (𝑦𝑡 − 𝑦𝑡−1) − (𝑦𝑡−1 − 𝑦𝑡−2) = 𝑦𝑡 − 2𝑦𝑡−1 + 𝑦𝑡−2.