bwCov: Covariance Bandwidth Calculation by Cross-Validation
bwCov calculates a single bandwidth to estimate the time-varying variance-
covariance matrix.
Description
Covariance Bandwidth Calculation by Cross-Validation
bwCov calculates a single bandwidth to estimate the time-varying variance-
covariance matrix.
# NOT RUN {data(CEES)
## Using a shorter set for a quick example. Variable "Date" is removed.mydata <- tail (CEES[, -1], 50)
bw.cov <- bwCov(mydata)
Sigma.hat <- tvCov(mydata, bw = bw.cov)
# }