Indirect Effect in Mediation Analysis (z, Joint, and Monte Carlo Tests)

zmed(
  calculate = "selectpower",
  stdinput = FALSE,
  a = 0.25,
  b = 0,
  cp = 0,
  sdy = 1,
  sdx = 1,
  sdm = 1,
  r2y = 0,
  r2m = 0,
  power = 0.8,
  alpha = 0.05,
  alternative = "not equal",
  mc = FALSE,
  n = 200
)

Arguments

calculate

.

stdinput

.

a

.

b

.

cp

.

sdy

.

sdx

.

sdm

.

r2y

.

r2m

.

power

.

alpha

.

alternative

.

mc

.

n

.

Value

A results object containing:

results$text2a preformatted
results$plotan image