Description Usage Arguments Value References Examples
This function computes the Chan & Zhang p-value given in Hawila & Berg (2021)
1 | pval_CZ(x.T, x.C, N.T, N.C, delta0, method = "MN", tol = 0.001)
|
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") |
tol |
positive numeric representing the tolerance for calculation |
numeric representing the Chan & Zhang p-value
Hawila:21EC
1 2 | #This example is taken from Hawila & Berg (2021)
pval_CZ(x.T=2,x.C=0,N.T=15,N.C=10,delta0=0.12,method="MN")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.