regintR2 | R Documentation |
Compute Power for Regression Interaction (R2 Change Approach)
regintR2(R2Mod, R2Ch, mod_pred, ch_pred, nlow, nhigh, by = 1, alpha = 0.05)
R2Mod |
Full Model R2 |
R2Ch |
Change in R2 Added by Interaction |
mod_pred |
Full Model Number of Predictors |
ch_pred |
Change Model Number of Predictors |
nlow |
starting sample size |
nhigh |
ending sample size |
by |
incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14) |
alpha |
Type I error (default is .05) |
Power for Regression Interaction (R2 Change Approach)
regintR2(R2Mod=.092,R2Ch=.032,mod_pred=3, ch_pred=1,nlow=100,nhigh=400,by=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.