tfromd | R Documentation |
Compute power for a t test using d statistic Takes d, sample size range, type of test, and tails.
tfromd(d, nlow, nhigh, alpha = 0.05, test = "I", tails = 2, by = 2)
d |
standardize mean difference (Cohen's d) |
nlow |
Starting total sample size |
nhigh |
Ending total sample size |
alpha |
Type I error (default is .05) |
test |
"I" for independent, "P" for paired |
tails |
one or two-tailed tests (default is 2) |
by |
Incremental increase in sample size from low to high |
Power for the t-test from d statistic
tfromd(d=.2,nlow=10,nhigh=200,by=10, test="P") tfromd(d=.2,nlow=10,nhigh=200,by=10, test="I")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.