rho_0 <- 0.5
rho_1 <- 0.7
alpha_nom <- 0.05
beta_nom <- 0.2
tout_design(rho_0, rho_1, alpha_nom, beta_nom)
# Allowing for adjustment effects:
tout_design(rho_0, rho_1, alpha_nom, beta_nom, tau = c(0.08, 0.12))
# Allowing for different error probabilities following a pause decision
tout_design(rho_0, rho_1, alpha_nom, beta_nom, eta_0 = 0.3)
# Designs for continuous outcomes:
tout_design(rho_0 = 0, rho_1 = 0.4, alpha_nom, beta_nom, sigma = 1)
Run the code above in your browser using DataLab