Generalized Thompson sampling for sequential decision-making and causal inference · Study