Quasi Experiment, Experimentation, Synthetic Control, Causal Inference, Data Science.
counterfactual # Perform placebo tests for each control unit placebo_effects = [] for i in range(1, len(data)): placebo_sc = SyntheticControl(data.loc[i], data.drop(i), pre_intervention_period) placebo_sc.fit() placebo_counterfactual = placebo_sc.predict(post_intervention_period)