Description Usage Arguments Value Author(s)
Conditional power rule for the one-sample (or paired) t-test using the function link{stats::power.t.test}
. Reestimates the standard deviation from the first stage and recomputes the sample size such that the power to reject the null meets the target power assuming that the mean (paired treatment difference) is equal to a prespecified value.
1 | cond_power_rule_t(x1, m = 1, target = 0.9, alpha = 0.025, maxN = Inf)
|
x1 |
First stage observations |
m |
Target mean value |
target |
Target power |
alpha |
Significance level |
maxN |
Maximum sample size |
Total sample size required to achieve the target power
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.