summary.test_mediation: Summary of results from (robust) mediation analysis

Description Usage Arguments Value Author(s) See Also Examples

Description

Summarize results from (robust) mediation analysis for proper interpretation.

Usage

1
2
3
4
5
6
## S3 method for class 'boot_test_mediation'
summary(object, other = c("boot",
  "theory"), ...)

## S3 method for class 'sobel_test_mediation'
summary(object, ...)

Arguments

object

an object inheriting from class "test_mediation" containing results from (robust) mediation analysis.

other

a character string specifying how to summarize the effects other than the indirect effect(s). Possible values are "boot" (the default) to compute significance tests using the normal approximation of the bootstrap distribution (i.e., to assume a normal distribution of the corresponding effect with the standard deviation computed from the bootstrap replicates), or "theory" to compute significance tests via statistical theory (e.g., t-tests if the coefficients are estimated via regression). Note that this is only relevant for mediation analysis via a bootstrap test, where significance of the indirect effect is always assessed via a percentile-based confidence interval due to the asymmetry of its distribution.

...

additional arguments are currently ignored.

Value

An object of class "summary_test_mediation" with the following components:

object

the object passed to the summary method, which contains the results from testing the indirect effect.

summary

an object containing all necessary information to summarize the effects other than the indirect effect.

Author(s)

Andreas Alfons

See Also

test_mediation

Examples

1
2
3
4
5
6
data("BSG2014")
test <- test_mediation(BSG2014,
                       x = "ValueDiversity",
                       y = "TeamCommitment",
                       m = "TaskConflict")
summary(test)

robmed documentation built on Nov. 5, 2018, 5:06 p.m.