Skip to content

Instantly share code, notes, and snippets.

@sieste
Created March 9, 2020 08:22
Show Gist options
  • Save sieste/32e625cbb90c8bb81a6fbd678dac309d to your computer and use it in GitHub Desktop.
Save sieste/32e625cbb90c8bb81a6fbd678dac309d to your computer and use it in GitHub Desktop.
tt = seq(as.Date('2020-02-25'), as.Date('2020-03-08'), by='1 day')
I = c(13, 13, 15, 20, 23, 36, 39, 51, 85, 116, 164, 209, 273)
# Example 3.12
x = c(0.02, 0.19, 0.27, 0.28, 0.32, 0.50, 1.08, 1.42, 2.23)
# Example 3.13
x = c(-0.63, 0.18, -0.84, 1.60, 0.33, -0.82, 0.49, 0.74, 0.58)
y = c(-0.31, 1.51, 0.39, -0.62, -2.21, 1.12, -0.04, -0.02, 0.94)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment