data_dose | R Documentation |
sample synthetic dataset of snSMART (dose level treatment) with binary outcomes
data_dose
This data frame contains the following columns:
treatment received in stage 1 - possible values: 1 (placebo), 2, 3
whether patients respond to stage 1 treatment - possible values: 0 (nonresponder), 1 (responder)
treatment received in stage 2 - possible values: 2, 3
whether patients respond to stage 2 treatment - possible values: 0 (nonresponder), 1 (responder)
mydata <- data_dose
BJSM_dose_result <- BJSM_binary(
data = data_dose, prior_dist = c("beta", "gamma"),
pi_prior = c(3, 17), normal.par = c(0.2, 100), beta_prior = c(2, 2),
n_MCMC_chain = 2, n.adapt = 100, MCMC_SAMPLE = 2000, ci = 0.95
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.