Data Science, Statistics, Analytics, Experiment, Causality.
split). Although dummy / one-hot encoding is more common, for experiments we prefer encoding control and treatment as -1 and 1. The effect sizes are more interpretable. Dummy encoding yields coefficients that are relative to a reference cell — rarely the quantity we’re interested in. In a balanced