n <- 1000; time <- 1:n eps <- rt(n, df=3) # t with 3 degrees of freedom (heavy-tailed) plot(time, eps, type="l", col=2)
February 28, 2017
n <- 1000; time <- 1:n eps <- rt(n, df=3) # t with 3 degrees of freedom (heavy-tailed) plot(time, eps, type="l", col=2)
x <- filter(eps, 0.5, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, -0.5, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, 1, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, -1, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, 1.1, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, -1.1, method="recursive") plot(time, x, type="l", col=2)
x <- filter(eps, c(0.4, -0.2), method="recursive") plot(time, x, type="l", col=2) # stationary?
x <- filter(eps, c(0.5, 0.5), method="recursive") plot(time, x, type="l", col=2) # stationary?