This function creates a Z matrix for the synthetic panel. It contains one observation for each unit (i) and one column for each variable to be used as a control.
1 | create_z_matrix(data, i_name, t_name, ...)
|
data |
A data.frame |
... |
Variables to be included as controls |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.