geovolTest: Test for GEOVOL

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/geovolTest.R

Description

Compute the GEOVOL test statistic for examining the null hypothesis that the average correlation of the squared volatility standardized residuals (which should be uncorrelated) is zero against the alternative that it is positive.

Usage

1

Arguments

e

matrix, multivariate time series or zoo object.

Value

The average correlation, the test statistic and the p-value.

Author(s)

Susana Campos-Martins

References

Engle, R.F. and Campos-Martins, S. (2020) Measuring and hedging geopolitical risk. Available at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3685213.

See Also

geovol, ]geovolSim

Examples

1
2
3
4
5
6
7
set.seed(123)

## Simulate from a GEOVOL model with s.d. 0.5 (default):
eSim <- geovolSim(n = 1500, m = 30)

## Test for GEOVOL:
geovolTest(e = eSim^2-1)

geovol documentation built on July 9, 2021, 9:09 a.m.