cov_control | R Documentation |
Obtain a list with tuning paramters for cov_Huber()
.
cov_control(prob = 0.95, max_iterations = 200, tol = 1e-07)
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. |
A list with components corresponding to the arguments.
Andreas Alfons
Huber, P.J. (1981) Robust Statistics. John Wiley & Sons.
cov_Huber()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.