RD {SMARTbayesR} | R Documentation |
Risk Differences for Embedded Dynamic Treatment Regimes
Description
Computes the embedded dynamic treatment regime specific risk differences with the best.
Usage
RD(
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"
)
Arguments
response_prob |
the probability of response for each of 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. |
stage_one_trt_one_response_prob |
the probability of response to stage-1 treatment given stage-1 treatment one. |
stage_one_trt_two_response_prob |
the probability of response to stage-1 treatment given stage-1 treatment two. |
stage_one_trt_three_response_prob |
the probability of response to stage-1 treatment given stage-1 treatment three (for design-3 only) |
design |
which SMART design: design-1 or general. |
Value
The embedded dynamic treatment regime specific risk differences.
[Package SMARTbayesR version 2.0.0 Index]