Design and Analysis of a 2x2 Factorial Trial
Power of the Equal Allocation 2 procedure
Power of the Equal Allocation 3 procedure
Power of the Proportional Allocation 2 procedure
Round down a negative number
Hazard ratios and correlations for the 2x2 statistics
Critical values for the Equal Allocation 3, Proportional Allocation 2,...
Calculate event probabilities
Significance testing for the Proportional Allocation 2, Equal Allocati...
Power for the Equal Allocation 3, Proportional Allocation 2, and Equal...
Unstratified (ordinary) logrank power
Stratified (overall) logrank power
Used for the design and analysis of a 2x2 factorial trial for a time-to-event endpoint. It performs power calculations and significance testing as well as providing estimates of the relevant hazard ratios and the corresponding 95% confidence intervals. Important reference papers include Slud EV. (1994) <https://www.ncbi.nlm.nih.gov/pubmed/8086609> Lin DY, Gong J, Gallo P, Bunn PH, Couper D. (2016) <DOI:10.1111/biom.12507> Leifer ES, Troendle JF, Kolecki A, Follmann DA. (2020) <https://github.com/EricSLeifer/factorial2x2/blob/master/Leifer%20et%20al.%20paper.pdf>.