View source: R/placebo-simulations.R
simulate_dgp | R Documentation |
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)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.