Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In the context of AR(1) processes, we spent some time to explain what happens when
- if
the process is stationary, - if
the process is a random walk - if
the process will explode
Again, random walks are extremely interesting processes, with puzzling properties. For instance,
as
Recently, in the MAT8181 course, we studied carefully properties of the ARCH(1) process, especially when
Consider some ARCH(1) process
where
and
Recall that
since
Further, if
since
If we look at simulations, we can generate an ARCH(1) process with
> n=600 > a=2 > w=0.2 > set.seed(1) > eta=rnorm(n) > epsilon=rnorm(n) > sigma2=rep(w,n) > for(t in 2:n){ + sigma2[t]=w+a*epsilon[t-1]^2 + epsilon[t]=eta[t]*sqrt(sigma2[t]) + } > plot(epsilon,type="l")
In order to understand what’s going on, we should keep in mind that, what we good is that
Write
and them, iterate
and iterate again, and again, and again…
where
Here, we have a sum of positive terms, and we can use the so-called Cauchy rule: define
then, if
which can also be written
and from the law of large numbers, since we have here a sum of i.i.d. terms,
So, if
The condition above can be written
which is called Lyapunov coefficient.
The equation
is a condition on
In the case where
> 1/exp(mean(log(rnorm(1e7)^2))) [1] 3.562517
In that case (
But in order to observe this difference, we need a lot of observations. For instance, with
and
we can easily see a difference. I do not say that it’s easy to see that the distribution above has an infinite variance, but still. Actually, if we consider Hill’s plot on the series above, on the tails of positive
> library(evir) > hill(epsilon)
or on the tails of negative
> hill(-epsilon)
we can see that the tail index is (strictly) smaller than 2 (meaning that the moment of order 2 does not exist).
Why is it puzzling? Maybe because here,
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.