groupseqDATA_look1 {snSMART} | R Documentation |
Group sequential data look 1
Description
sample dataset of group sequential trial design snSMART, can be used for interim analysis
Usage
groupseqDATA_look1
Format
This data frame contains the following columns:
- time.1st.trt
first treatment time
- time.1st.resp
first response time
- time.2nd.trt
second treatment time
- time.2nd.resp
second response time
- trt.1st
treatment arm for first treatment
- resp.1st
response for first treatment
- trt.2nd
treatment arm for second treatment
- resp.2nd
response for second treatment
Examples
mydata <- groupseqDATA_look1
result1 <- group_seq(
data = mydata, interim = TRUE, drop_threshold_pair = c(0.5, 0.4),
prior_dist = c("beta", "beta", "pareto"), pi_prior = c(0.4, 1.6, 0.4, 1.6, 0.4, 1.6),
beta_prior = c(1.6, 0.4, 3, 1), MCMC_SAMPLE = 6000, n.adapt = 1000, n_MCMC_chain = 1
)
[Package snSMART version 0.2.3 Index]