Learn R Programming

TrialSize (version 1.4)

Dose.Response.binary: Linear Contrast Test for Binary Dose Response Study

Description

pi is the proportion of response in the ith group.

Ho: p1=p2=...=pk

Ha: L(p)= \( \sum ci \times pi = \epsilon\), not equal to 0

Usage

Dose.Response.binary(alpha, beta, pi, ci, fi)

Arguments

alpha

significance level

beta

power = 1-beta

pi

pi is the proportion of response in the ith group.

ci

a linear contrast coefficients ci with \( \sum ci=0 \).

fi

fi=ni/n is the sample size fraction for the ith group

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

Examples

Run this code
# NOT RUN {
pi=c(0.05,0.12,0.14,0.16);
ci=c(-6,1,2,3);

Example.11.2<-Dose.Response.binary(alpha=0.05,beta=0.2,pi=pi,ci=ci,fi=1/4)
Example.11.2
#382

# }

Run the code above in your browser using DataLab