The supplementary material  for the paper "Maximizing Benefits under Harm Constraints: A Generalized Linear Contextual Bandit Approach".

Appendix.pdf is the appendix of the paper, containing the proof for the theorem in paper, additional algorithm, results and computation details.

binary_example.R provides the R code to implement all the methods in this paper, as well as the code to reprodude the simulation results.

make_plots.R provides the R code to reproduce all the plots in this paper.

infoMatrix.R provides R code to calculate the information matrix to implement the optimal design of experiment (This method is only in the appendix).
