Scripts used in "Weighted Asymptotically Optimal Sequential Testing" paper. The script folder contains two R script files: code.R and plot.R.
This R script contains the functions needed to run the simulation and save the workspace image as sim_dat.RData. To run this do
source("~/scripts/code.R")
This scripts contains the functions needed for generating Figure 1 in the paper and save it as plot_ess.tex. Before running it, make sure to run the code.R file and have the sim_dat.RData in the work directory. Then run
source("~/scripts/plot.R")