powered by
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)
Power for Comparing Dependent Correlations, One Variable in Common
Correlation between the first predictor and the dependent variable
Correlation between the second predictor and the dependent variable
Correlation between the first predictor and the second predictor
Starting sample size
Ending sample size
Type I error (default is .05)
one or two-tailed tests (default is 2)
Incremental increase in sample size from low to high
depcorr1(r1y=.3,r2y=.04,r12 = .2, nlow=100,nhigh=300,by=10, tails=2)
Run the code above in your browser using DataLab