size_Chan: Maximal size of Chan's exact p-value

Description Usage Arguments Value References Examples

View source: R/EC.R

Description

This function calculates the maximal size of Chan's (1998) exact p-value; see Hawila & Berg (2021)

Usage

1
size_Chan(alpha, N.T, N.C, delta0, method = "MN")

Arguments

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

method

character representing the method for ordering criterion("MN","FM","SS","Blackwelder")

Value

numeric representing the level using Chan's p-value method

References

\insertRef

Hawila:21EC \insertRefChan:03EC

Examples

1
2
#Level of Chan's p-value method for the Fries et al. study (1993)
size_Chan(alpha=0.05,N.T=15,N.C=15,delta0=0.2,method="MN")

NourHawila/EC documentation built on Feb. 24, 2022, 8:24 a.m.