cov_control {robmed} | R Documentation |
Tuning parameters for Huber M-estimation of location and scatter
Description
Obtain a list with tuning paramters for cov_Huber()
.
Usage
cov_control(prob = 0.95, max_iterations = 200, tol = 1e-07)
Arguments
prob |
numeric; probability for the quantile of the
|
max_iterations |
an integer giving the maximum number of iterations in the iteratively reweighted algorithm. |
tol |
a small positive numeric value to be used to determine convergence of the iteratively reweighted algorithm. |
Value
A list with components corresponding to the arguments.
Author(s)
Andreas Alfons
References
Huber, P.J. (1981) Robust Statistics. John Wiley & Sons.
See Also
Examples
data("BSG2014")
# run bootstrap test after winsorization
ctrl <- cov_control(prob = 0.95)
boot <- test_mediation(BSG2014,
x = "ValueDiversity",
y = "TeamCommitment",
m = "TaskConflict",
method = "covariance",
control = ctrl)
summary(boot)
[Package robmed version 1.0.2 Index]