pairt {pwr2ppl}R Documentation

Compute power for a Paired t-test Takes means, sd, and sample sizes. Alpha is .05 by default, alternative values may be entered by user. correlation (r) defaults to .50.

Description

Compute power for a Paired t-test Takes means, sd, and sample sizes. Alpha is .05 by default, alternative values may be entered by user. correlation (r) defaults to .50.

Usage

pairt(m1 = NULL, m2 = NULL, s = NULL, n = NULL, r = NULL, alpha = 0.05)

Arguments

m1

Mean for Pre Test

m2

Mean for Post Test

s

Standard deviation

n

Sample size

r

Correlation pre-post measures (default is .50)

alpha

Type I error (default is .05)

Value

Power for the Paired t-test

Examples

pairt(m1=25,m2=20, s = 5, n = 25, r = .5)

[Package pwr2ppl version 0.5.0 Index]