MSE {StatPerMeCo}R Documentation

Mean Square Error

Description

Compute the Mean Square Error between the matrices S and H. See, Becker et al. (2015).

Usage

MSE(S, H)

Arguments

S

Proxy for the conditional covariance/correlation matrix

H

Estimate of the conditional covariance/correlation matrix.

Author(s)

Carlos Trucios

References

Becker, R., Clements, A. E., Doolan, M. B., & Hurn, A. S. (2015). Selecting volatility forecasting models for portfolio allocation purposes. International Journal of Forecasting, 31(3), 849-861.

Examples

X = matrix(rnorm(4000),ncol=4)
S = diag(4)
H = cov(X)

MSE(S, H)

[Package StatPerMeCo version 0.1.0 Index]