Compute Power for Model 7 Conditional Processes Using Joint Significance Requires correlations between all variables as sample size Several values default to zero if no value provided This is the recommended approach for determining power
modmed7(
rxm,
rxw,
rxxw = 0,
rxy,
rwm,
rwxw = 0,
rwy = 0,
rmxw,
rmy,
rxwy = 0,
alpha = 0.05,
rep = 1000,
n = NULL
)
Power for Model 7 Conditional Processes
Correlation between predictor (x) and mediator (m)
Correlation between predictor (x) and moderator (w)
Correlation between predictor (x) and interaction term (xw) - defaults to 0
Correlation between DV (y) and predictor (x)
Correlation between moderator (w) and mediator (m)
Correlation between moderator (w) and interaction (xw) - defaults to 0
Correlation between DV (y) and moderator (w)
Correlation between mediator (m) and interaction (xw) - Key value
Correlation between DV (y) and mediator (m)
Correlation between DV (y) and interaction (xw) - defaults to 0
Type I error (default is .05)
Number of samples drawn (defaults to 5000)
Sample size
modmed7(rxm=.4, rxw=.2, rxy=.3, rwm=.2, rmxw=.1, rmy=.3,n=200)
Run the code above in your browser using DataLab