xweights | R Documentation |
Auxiliary function. Computation of the leverage weights based on robust Mahalanobis distance.
xweights(X, weight, clevel1)
X |
matrix of explanatory variables. |
weight |
method used to calculated the weighting. |
clevel1 |
the critical level used for calculating the Mahalanobis distance. |
Vector of weights.
Mikhail Zhelonkin, Andre Bik, Andrea Naghi
cov.rob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.