Phone: +1 (888) 427-9486
+1 (312) 324-0367
Fax: +1 (312) 238-9092
Contact Us
ARCHTest (Pro.)
| Attachment | Size | |
|---|---|---|
| ARCHTest.xlsx |
Calculates the p-value of the ARCHi effect test (i.e. the white-noise test for the squared time series).
Syntax
X
is the univariate time series data (a one dimensional array of cells (e.g. rows or columns)).
Order
is the time order of the data series (i.e. whether the first data point corresponds to the earliest or latest date (earliest date=1 (default), latest date=0)).
| Order | Description |
|---|---|
| 1 | ascending (the first data point corresponds to the earliest date) (default) |
| 0 | descending (the first data point corresponds to the latest date) |
M
is the maximum number of lags included in the ARCH effect test. If omitted, the default value of log(T) is assumed.
Remarks
- The time series is homogeneous or equally spaced.
- The time series may include missing values (e.g. #N/A) at either end.
-
The ARCH effect applies the white-noise test on the time series squared:
-
The test hypothesis for the ARCH effect:



Where:
-
is the null hypothesisi.
-
is the alternate hypothesis.
-
is the population autocorrelation function for the squared time series (i.e.
).
-
is the maximum number of lags included in the ARCH effect test.
-
-
The Ljung-Box modified
statistic is computed as:

Where:
-
is the maximum number of lags included in the ARCH effect test.
-
is the sample autocorrelation at lag j for the squared time series.
-
is the number of non-missing values in the data sample.
-
-
has an asymptotic chi-square distribution with
degrees of freedom and can be used to test the null hypothesis that the time series has an ARCH effect.

Where:
-
is the Chi-square probability distribution function.
-
is the degrees of freedom for the Chi-square distribution.
-
-
This is one-side (i.e. one-tail) test, so the computed p-value should be compared with the whole significance level (
).
Examples
Example 1:
Let's consider the sample time series in the spreadsheet attachment on this page.

We computed the P-Value for different values of the maximum lags:

Please note the plot of the ARCH test P-value reaches it lowest level (floor) around
, and looses its power for larger numbers due to the size of the sample.
References
- Hamilton, J .D.; Time Series Analysis
, Princeton University Press (1994), ISBN 0-691-04289-6 - Tsay, Ruey S.; Analysis of Financial Time Series
John Wiley & SONS. (2005), ISBN 0-471-690740
