Skip to contents

Main Function

cont_did()
Difference-in-differences with a Continuous Treatment

Functions for Component Computations

setup_pte_cont()
Setup for DiD with a Continuous Treatment
cont_two_by_two_subset()
Continuous Two-by-Two Subset
cont_did_acrt()
Compute ACRT's for a Timing Group and Time Period

Plotting Functions

ggcont_did()
Plot Results with a Continuous Treatment

Helper Functions

choose_knots_even()
Choose Evenly Spaced Knots
choose_knots_quantile()
Choose Knots at Quantiles

Functions to Simulate Data

simulate_contdid_data()
Simulate data for DiD with a Continuous Treatment