Real Observed Panels
Notebook: tutorials/guides/01_real_observed_panels.ipynb
This tutorial applies all seven causaltensor estimators to three
classic panel datasets included in the package:
Smoking – California Proposition 99 (Abadie & Gardeazabal, 2003)
Basque – Basque terrorism economic impact (Abadie & Gardeazabal, 2003)
Germany – German reunification (Abadie, Diamond & Hainmueller, 2015)
Topics covered
Loading data with
PanelDataset.Fitting estimators – instantiate each solver with
(O, Z)and callfit().Counterfactual plots – interactive Plotly charts comparing actual vs. estimated counterfactual outcome trajectories for the treated unit.
Estimators demonstrated
DIDPanelSolver(DID)SDIDPanelSolver(SDID)DCPanelSolver(DC-PR)MCNNMPanelSolver(MC-NNM)CovariancePCAPanelSolver(CovPCA)OLSSCPanelSolver(SC)RSCPanelSolver(RSC)