trialDataMF dataset

Dataset with continuous outcomes

Dataset with continuous outcomes

sample synthetic dataset of snSMART (mapping function) with continuous outcomes data

Format

This data frame contains the following columns:

  • id: participant ID
  • trt1: treatment received in stage 1 - possible values: 1 (placebo), 2, 3
  • stage1outcome: a number between 0-100 that represents the stage 1 treatment effect
  • stay: indicates whether the participant stayed on the same treatment arm in stage 2 - possible values: 0 (didn't stay), 1 (stayed)
  • trt2: treatment received in stage 2 - possible values: 2, 3
  • stage2outcome: a number between 0-100 that represents the stage 2 treatment effect
trialDataMF

Examples

trialData <- trialDataMF BJSM_result <- BJSM_c( data = trialData, xi_prior.mean = c(50, 50, 50), xi_prior.sd = c(50, 50, 50), phi3_prior.sd = 20, n_MCMC_chain = 1, n.adapt = 1000, MCMC_SAMPLE = 5000, ci = 0.95, n.digits = 5 ) summary(BJSM_result) print(BJSM_result)
  • Maintainer: Michael Kleinsasser
  • License: GPL (>= 2)
  • Last published: 2024-10-16

About the dataset

  • Number of rows: 60
  • Number of columns: 6
  • Class: data.frame

Column names and types

  • id:integer
  • trt1:integer
  • stage1outcome:numeric
  • stay:integer
  • trt2:integer
  • stage2outcome:numeric