depcorr1 | R Documentation |
Compute Power for Comparing Two Dependent Correlations, One Variable in Common Takes correlations and range of values
depcorr1(r1y, r2y, r12, nlow, nhigh, alpha = 0.05, tails = 2, by = 1)
r1y |
Correlation between the first predictor and the dependent variable |
r2y |
Correlation between the second predictor and the dependent variable |
r12 |
Correlation between the first predictor and the second predictor |
nlow |
Starting sample size |
nhigh |
Ending sample size |
alpha |
Type I error (default is .05) |
tails |
one or two-tailed tests (default is 2) |
by |
Incremental increase in sample size from low to high |
Power for Comparing Dependent Correlations, One Variable in Common
depcorr1(r1y=.3,r2y=.04,r12 = .2, nlow=100,nhigh=300,by=10, tails=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.