Computes the embedded dynamic treatment regime specific log risk-ratios.
LogRR(
response_prob = c(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8),
stage_one_trt_one_response_prob = 0.6,
stage_one_trt_two_response_prob = 0.3,
stage_one_trt_three_response_prob = 0.4,
design = "general"
)
the probability of response for each of the embedded treatment sequences. In the case of the design 1 SMART there are 6, for the general design there are 8, and for design-3 there are 9.
the probability of response to stage-1 treatment given stage-1 treatment one.
the probability of response to stage-1 treatment given stage-1 treatment two.
the probability of response to stage-1 treatment given stage-1 treatment three (for design-3 only)
which SMART design: design-1 (ENGAGE-type), general, or design-3
The embedded dynamic treatment regime specific log-Risk Ratios.