LogOR: Log-Odds Ratios for Embedded Dynamic Treatment Regimes

Description Usage Arguments Value

View source: R/LogOR.R

Description

Computes the embedded dynamic treatment regime specific log-odds ratios.

Usage

1
2
3
4
5
6
7
LogOR(
  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 embedded treatment sequences.

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 (ENGAGE-type), general, or design-3.

Value

The embedded dynamic treatment regime specific log-OR.


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