LE: Euclidean distance

Description Usage Arguments Author(s) References Examples

View source: R/Measures.R

Description

Compute the Euclidean distance between the matrices S and H. See, Laurent et al. (2012) and Amendola et al. (2015).

Usage

1
LE(S, H)

Arguments

S

Proxy for the conditional covariance/correlation matrix

H

Estimate of the conditional covariance/correlation matrix.

Author(s)

Carlos Trucios

References

Amendola, A., & Storti, G. (2015). Model uncertainty and forecast combination in high-dimensional multivariate volatility prediction. Journal of Forecasting, 34(2), 83-91.

Laurent, S., Rombouts, J. V., & Violante, F. (2012). On the forecasting accuracy of multivariate GARCH models. Journal of Applied Econometrics, 27(6), 934-955.

Examples

1
2
3
4
5
X = matrix(rnorm(4000),ncol=4)
S = diag(4)
H = cov(X)

LE(S, H)

Example output

[1] 0.03305074

StatPerMeCo documentation built on May 2, 2019, 12:21 p.m.

Related to LE in StatPerMeCo...