Description Usage Arguments Value

Computes the embedded dynamic treatment regime specific risk differences with the best.

1 2 3 4 5 6 7 |

`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. |

The embedded dynamic treatment regime specific risk differences.

SMARTbayesR documentation built on Oct. 1, 2021, 1:06 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.