Simulates data from DGPs used in the placebo studies in Sections 3 and 5 of the synthetic difference in differences paper. Described there in Section 3.1.1.

simulate_dgp(parameters, N1, T1)

Arguments

parameters,

a list of dgp parameters (F,M,Sigma,pi) as output by estimate.dgp

N1,

a cap on the number of treated units,

T1,

the number of treated periods.

Value

a list with 3 elements: the outcome matrix Y, the number of control units N0, and the number of control periods T0. The first N0 rows of Y are for units assigned to control, the remaining rows are for units assigned to treatment.