ci_cz: Confidence interval using Chan & Zhang (1999) methodology

Description Usage Arguments Value References Examples

Description

This function calculates the confidence interval based on Chan & Zhang (1999) given an ordering criterion specified in the method argument. The default ordering criterion (method="MN") is the ordering criterion used in Chan & Zhang (1999).

Usage

1
ci_CZ(x.T, x.C, N.T, N.C, method = "MN", alpha = 0.05, tol = 0.001, eps = 0.3)

Arguments

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

method

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

alpha

numeric between 0 and 1 representing the significance level

tol

positive numeric representing the increment size for domain of Delta. Default is set to 0.001.

eps

positive numeric representing the range from starting values based on Miettinen & Nurminen confidence limits.

Value

list of length 2 (ci.lower, ci.upper) representing the lower and upper Chan and Zhang confidence limits

References

\insertRef

Chan:99EC

Examples

1
2
#Chan & Zhang confidence interval for the Rodary et al. study. (1989)
#ci_CZ(x.T=83,x.C=69,N.T=88,N.C=76, method="MN",alpha=0.05)

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