corr: Compute power for Pearson's Correlation Takes correlation and...

Description Usage Arguments Value Examples

Description

Compute power for Pearson's Correlation Takes correlation and range of values

Usage

1
corr(r, nlow, nhigh, alpha = 0.05, tails = 2, by = 1)

Arguments

r

Correlation

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 Pearson's Correlation

Examples

1
corr(r=.30, nlow=60, nhigh=100,by=2)

pwr2ppl documentation built on June 12, 2019, 5:03 p.m.