pairt | 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.
pairt(m1 = NULL, m2 = NULL, s = NULL, n = NULL, r = NULL, alpha = 0.05)
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) |
Power for the Paired t-test
pairt(m1=25,m2=20, s = 5, n = 25, r = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.