How can you determine the causal effect of a treatment on an outcome?
In data science, you often want to measure the impact of a treatment, such as a new feature, a policy change, or a medical intervention, on an outcome, such as user behavior, social welfare, or health status. But how can you tell if the treatment actually caused the outcome, and not some other factors? This is the question of causal inference, and it requires careful design and analysis of experiments or observational data. In this article, you will learn some basic concepts and methods to determine the causal effect of a treatment on an outcome.