indcorr | R Documentation |
Compute Power for Comparing Two Independent Correlations Takes correlations and range of values
indcorr(r1, r2, nlow, nhigh, propn1 = 0.5, alpha = 0.05, tails = 2, by = 1)
r1 |
Correlation for Group 1 |
r2 |
Correlation for Group 2 |
nlow |
Starting sample size |
nhigh |
Ending sample size |
propn1 |
Proportion of sample in first group (default is .50 for equally size groups) |
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 Two Independent Correlations
indcorr(r1=.3,r2=.1,nlow=200,nhigh=800,by=50, tails=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.