Summarize the simulation results and generate the regret plot
output_summary(
S = 30,
num_cov = 4,
T.init = 20,
T0 = 1000,
alpha = 1,
gam = 25,
K = 20,
dist_env = c("Negative Binomial", "Poisson", "Linear TS", "ZIP", "ZINB"),
show_figure = TRUE
)The summary of the simulation results with cumulative regret, regret, and parameters is generated along with the optional
output of the regret plot (show_figure = TRUE).
number of replicates of the experiment (greater than 1). Default is 30.
dimension for beta and gamma; we assume that they have the same dimensions for now. Default is 4.
length of the initial exploration stage. Default is 20.
number of decision times. Default is 1000.
tuning parameter that controls the exploration-exploitation tradeoff. Default is 1.
over dispersion level of the environment model; this is only useful when the environment model is negative binomial or zero-inflated negative binomial. Default is 25.
number of actions/intervention options. Default is 20.
tuning parameter that controls which environment model to use, with the options "Negative Binomial", "Poisson", "Linear TS", "ZIP", "ZINB"
A logical flag specifying that the regret plot of the model should be returned if true (default), otherwise, false.
Liu, X., Deliu, N., Chakraborty, T., Bell, L., & Chakraborty, B. (2023). Thompson sampling for zero-inflated count outcomes with an application to the Drink Less mobile health study. arXiv preprint arXiv:2311.14359. https://arxiv.org/abs/2311.14359
output_summary(S = 2, num_cov = 2, T.init = 3, T0 = 5, dist_env = "Negative Binomial")
Run the code above in your browser using DataLab