Code for "Inferring the Long-Term Causal Effects of Long-Term Treatments from Short-Term Experiments"
The following code generates the simulated data and the figure below
Install dependencies
python3.10 -m pip install -r requirements.txt
Run main script to run the Monte Carlo simulations
python3.10 example.py
Run figures.py
to generate figures (use a notebook or add a line to save the figure)