Description Usage Arguments Value References
This implements the 'smoothed hard rejection' estimator. It is very
similar to Rocke's translated biweight S-estimator in the cov.shr
function, but has been found to work better in problems where the number of
variables is greater than 15 or so (Maronna & Yohai, 2017). The algorithm is
initialized with Billor, Hadi, and Velleman's (2000) BACON algorithm.
1 | cov.shr(X, maxit = 50, tol = 1e-04)
|
X |
a data frame or matrix of numeric covariates |
maxit |
maximum number of iterations. defaults to 50. |
tol |
convergence tolerance |
a covRobust object containing the following elements:
center: multivariate mean of cleaned data set after applying casewise weights.
cov: covariance matrix of cleaned data set after applying casewise weights.
dist: the mahalanobis distances used in calculating the weights.
outliers: the indices of the outliers identified.
weights: the weights for downweighting outliers.
Muler, N. & Yohai, V.J. (2002). Robust estimates for arch processes. Journal of Time Series Analysis, 23(3), 341–375. doi:10.1111/1467-9892.00268
Maronna, R.A. & Yohai, V.J. (2017) Robust and efficient estimation of multivariate scatter and location. Computational Statistics and Data Analysis, 109, 64–75. doi: 10.1016/j.csda.2016.11.006
Billor, N., Hadi, A. S., & Velleman , P. F. (2000). BACON: Blocked Adaptive Computationally-Efficient Outlier Nominators; Computational Statistics and Data Analysis, 34, 279–298. doi: 10.1016/S0167-9473(99)00101-2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.