Description Usage Arguments Value Author(s) See Also Examples
Reperform a (fast and robust) bootstrap test or Sobel's test for the indirect effect(s) based on results from (robust) mediation analysis.
1 2 3 4 5 6 7 8 9 
object 
an object inheriting from class

... 
additional arguments to be passed down to methods. 
alternative 
a character string specifying the alternative hypothesis
in the test for the indirect effect. Possible values are 
level 
numeric; the confidence level of the confidence interval in the bootstrap test. The default is to compute a 95% confidence interval. 
type 
a character string specifying the type of confidence interval
to be computed in the bootstrap test. Possible values are 
An object of the same class as object
with updated test
results (see test_mediation
).
Andreas Alfons
1 2 3 4 5 6 7 8 9 10 11  data("BSG2014")
# run fast and robust bootstrap test
test < test_mediation(BSG2014,
x = "ValueDiversity",
y = "TeamCommitment",
m = "TaskConflict")
summary(test)
# now compute 97.5% confidence interval
retest(test, level = 0.975)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.