How could I use GARCH model to detect if the volatility is constant during all the series(time series)?
I can't do a visual check, I need to detect if the volatility is constant using R and GARCH function of tseries package
|
|
|
You can use the classic Engle test for ARCH effects. The test is implemented as follows (copy from Ch. Brooks, "Introductory Econometrics for Finance").
This can be implemented in R as follows. Supposing we have $\hat{u}$, the p-value for the hypothesis is
Naturally you will need to decide how many lags to include. Since usually GARCH models use small numbers of lags, some predefined number may entirely appropriate. I would do some MC simulations to determine which works best. |
|||||||||||
|