*! version 1.0.0 15feb2025

undid_init

undid

undid - Estimate difference-in-differences with unpoolable data.

Command Description

undid_init Generates an initial CSV file (`init.csv`) specifying the silo names, start times, end times, and treatment times.

Required parameters:

- silo_names : A string specifying the different silo names.

- start_times : A string which indicates the starting time for the analysis at each silo.

- end_times : A string which indicates the end time for the analysis at each silo.

- treatment_times : A string which indicates the treatment time at each silo. Control silos should be labelled with the treatment time "control".

Optional parameters:

- covariates : A string specifying covariates to be considered at each silo.

- filename : A string specifying the outputted filename. Must end in ".csv". Defaults to "init.csv".

- filepath : A string specifying the path to the folder in which to save the output file, e.g. "`c(pwd)'". Defaults to "`c(tempdir)'".

Syntax

undid_init silo_names(string) start_times(string) end_times(string) treatment_times(string)[covariates(string) filename(string) filepath(string)]

Examples

undid_init, silo_names("71 73 58 46") start_times("1989") end_times("2000") treatment_times("1991 control 1993 control") covariates("asian black male")

init.csv saved to: C:\Users\ERICBR~1\AppData\Local\Temp\init.csv

Author

Eric Jamieson

For more information about undid, visit the https://github.com/ebjamieson97/undid GitHub repository.

Citation

Please cite: Sunny Karim, Matthew D. Webb, Nichole Austin, Erin Strumpf. 2024. Difference-in-Differenecs with Unpoolable Data. https://arxiv.org/abs/2403.15910