Description Usage Arguments Value References Examples
This function evaluates maximum size of the decision rule based on the exact-corrected confidence interval
1 | size_EC(alpha, N.T, N.C, delta0, tolEC = 1e-04)
|
alpha |
numeric between 0 and 1 representing the significance level |
N.T |
positive integer representing the sample size in the treatment group |
N.C |
positive integer representing the sample size in the control group |
delta0 |
numeric between 0 and 1 representing the noninferiority margin |
tolEC |
positive numeric representing the tolerance for confidence interval convergence |
numeric representing the level of test based on the specified confidence interval method
Hawila:21EC
1 2 3 4 5 6 | #The three examples calculate the level of the exact-corrected,
#Chan & Zhang and Asymptotic confidence interval based on the
#Miettenen and Nurminen test statistic where each group has a
#sample size of 10, alpha is 0.1 and the noninferiority margin
#is 20%.
size_EC(alpha=0.1,N.T=10,N.C=10,delta0=0.2,tolEC=1e-4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.