Quasi Experiment, Experimentation, Synthetic Control, Causal Inference, Data Science.
placebo_treatment_effect = data.loc[i, post_intervention_period] - placebo_counterfactual placebo_effects.append(placebo_treatment_effect) # Calculate the p-value based on the distribution of placebo treatment effects placebo_effects = np.array(placebo_effects) p_value = (np.abs(placebo_effects) >=