Description Usage Arguments Details Value Author(s)
This is an important secondary function. It checks whether the corresponding null hypothesis can be rejected by a calculated test statistic. Three cases of hypotheses can be considered: test for superiority, test for non-inferiority, test for difference. The test statistic is compared with the corresponding quantiles of the t-distribution.
1 | test_h0(test = 1, T, n1, n2, alpha = 0.05, delta = 0)
|
test |
Number. What type of hypothesis test should be performed, one-sided (Superiority/ Non-Inferiority |
T |
Number. Value of the calculated test statistic. |
n1 |
Number. sample size of the first sample. |
n2 |
Number. sample size of the second sample. |
alpha |
Number. Desired alpha-level of the test. |
delta |
Number. Expectation difference of two samples. |
The aim of this function is to simplify the application of test decisions in hypothesis tests.
The value 0 or 1 will be returned.
0 means the null hypothesis can not be rejected to the level alpha.
1 means the null hypothesis is rejected to the level alpha.
Csilla van Lunteren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.