Quasi Experiment, Experimentation, Synthetic Control, Causal Inference, Data Science.
Interrupted Time Series !pip install statsmodels import pandas as pd import statsmodels.api as sm # Load your dataset as a pandas DataFrame # This should be a time series dataset for the treated unit data = pd.read_csv("your_dataset.csv") # Create a time variable and an intervention indicator