corr {pwr2ppl}R Documentation

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

Description

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

Usage

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

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

[Package pwr2ppl version 0.5.0 Index]