Description Usage Arguments Value References Examples
This function calculate statistics for testing noninferiority based on Santner & Snell (1980), Blackwelder (1982), Miettinen & Nurminen (1985) and Farrington & Manning (1990).
1 | stat_general(x.T, x.C, N.T, N.C, delta0, method)
|
x.T |
positive integer representing the observed number of responders in the treatment group |
x.C |
positive integer representing the observed number of responders in the control group |
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 |
method |
character representing the method for ordering criterion("MN","FM","SS","Blackwelder") |
numeric representing the value of the test statistic
Santner:80EC
\insertRefBlackwelder:82EC
\insertRefMiettinen:85EC
\insertRefFarrington:90EC
1 2 3 4 5 6 7 8 9 10 | #First example calculates the Miettinen & Nurminen test statistic
#for the Rodary et al. (1989) study with proportion of success
#in the treatment group being 83/88 and 69/76 for the control
#with a 10% noninferiority margin.
#Second example calculates the Farrington & Manning test statistic
#for the Fries et al. (1993) study with proportion of success
#in the treatment group being 8/15 and 3/15 for the control
#with a 20% noninferiority margin.
stat_general(x.T=83,x.C=69,N.T=88,N.C=76,delta0=0.1,method="MN")
stat_general(x.T=8,x.C=3,N.T=15,N.C=15,delta0=0.2,method="FM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.