Probabilities of meeting positivity threshold under target HR
meeting_probs.Rd
Probabilities of meeting positivity threshold under target HR
Arguments
- summary
DataFrame. Summary dataframe from bounds.R
- lhr_pos
List. Log HRs for positive threshold
- lhr_target
Scalar. Target log HR to calculate the probability of meeting positivity thresholds
- rand_ratio
Integer. If patients are randomized k:1 between experimental intervention and control, rand_ratio should be inputted as k. Example: if patients are randomized 1:1 between experimental and control, k=1. If patients are randomized 2:1 between experimental and control, k=2.