Description Usage Arguments Value Author(s) See Also
This is an auxiliary function of 'sim_sample_pow'. It is conducting a study with a internal pilot study and normally distributed data. The calculated value of the test statistic is compared directly with the corresponding quantile of the t-distribution.
1 2 |
n1 |
Number. Size of the internal pilot study. |
N0 |
Number. Size of the originally planned sample size. |
sd_ber |
Number. Actual standard deviation in the data. |
delta |
Number. Expectation difference of two samples. |
Delta |
Number. Relevant difference of expected values in the alternative hypothesis. |
test |
Number. What type of hypothesis test should be performed. One-sided (Superiority/ |
alpha |
Number. Desired alpha-level of the test. |
beta |
Number. Acceptable beta error of the test. |
adj |
Logical. Should the one-sample variance, calculated in the internal pilot study, be adjusted? |
rule |
Logical. Should the sample size adjustment rule be applied by Wittes and Brittain? |
nbound |
Number. Upper limit of the sample size. |
This function returns a value if the simulation study rejects (1) or can not reject (0) the
null hypothesis.
Csilla van Lunteren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.