pwr2ppl (version 0.1.1)

indcorr: Compute Power for Comparing Two Independent Correlations Takes correlations and range of values

Description

Compute Power for Comparing Two Independent Correlations Takes correlations and range of values

Usage

indcorr(r1, r2, nlow, nhigh, propn1 = 0.5, alpha = 0.05, tails = 2,
  by = 1)

Arguments

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

Value

Power for Comparing Two Independent Correlations

Examples

Run this code
# NOT RUN {
indcorr(r1=.3,r2=.1,nlow=200,nhigh=800,by=50, tails=1)
# }

Run the code above in your browser using DataCamp Workspace