depcorr1 {pwr2ppl} | R Documentation |
Compute Power for Comparing Two Dependent Correlations, One Variable in Common Takes correlations and range of values
Description
Compute Power for Comparing Two Dependent Correlations, One Variable in Common Takes correlations and range of values
Usage
depcorr1(r1y, r2y, r12, nlow, nhigh, alpha = 0.05, tails = 2, by = 1)
Arguments
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 |
Value
Power for Comparing Dependent Correlations, One Variable in Common
Examples
depcorr1(r1y=.3,r2y=.04,r12 = .2, nlow=100,nhigh=300,by=10, tails=2)
[Package pwr2ppl version 0.5.0 Index]