Description Usage Arguments Value References See Also Examples
This function calculates the Chan p-values for all 2x2 tables given N.T, N.C and an ordering criterion;
This function is primarily used in the size_Chan
function.
1 | mat_Chan(N.T, N.C, delta0, method = "MN")
|
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") |
array of dimension (N.T+1)x(N.C+1) where the (i,j) element is the exact p-value for x.T=i and x.C=j
Chan:98EC
size_Chan
1 2 3 4 5 | #8x6 array of the the Chan p-values based on Farrington & Manning
#statistic for all possible 2x2 tables arising from a sample size
#of 7 in the treatment group and 5 in the control group and 10%
#noninferiority margin.
mat_Chan(N.T=7,N.C=5,delta0=0.1,method="FM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.