bandingEst | R Documentation |
bandingEst()
estimates the covariance matrix of data with
ordered variables by forcing off-diagonal entries to be zero for indices
that are far removed from one another. The {i, j} entry of the estimated
covariance matrix will be zero if the absolute value of {i - j} is greater
than some non-negative constant k
. This estimator was proposed by
\insertCitebickel2008_banding;textualcvCovEst.
bandingEst(dat, k)
dat |
A numeric |
k |
A non-negative, |
A matrix
corresponding to the estimate of the covariance
matrix.
bandingEst(dat = mtcars, k = 2L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.