synth-inference / synthdid

Synthetic difference in differences
https://synth-inference.github.io/synthdid
BSD 3-Clause "New" or "Revised" License
262 stars 98 forks source link

Multiple outcomes and panel.matrices #104

Open cdrake219 opened 1 year ago

cdrake219 commented 1 year ago

Hi all,

I would like to use synthdid_estimate with 10 or so outcome variables. Is there a way to use panel.matrices such that I can create a matrix with multiple outcomes? I'd like to be able to do something like...

synthdid_estimate(setup$Y1, setup$N0, setup$T0) synthdid_estimate(setup$Y2, setup$N0, setup$T0)

without creating a bunch of different matrices. Any subsequent advice on how to loop/list synthdid_estimate would also be appreciated.

Thanks!