| sim_trend | R Documentation |
A simulated balanced panel with 200 units and 50 time periods. All 80 treated units receive treatment at period 41 (block DID design). The DGP includes unit-specific amplitudes on a half-cycle sinusoidal time trend, where treated units have systematically larger amplitudes.
A data frame with 10000 rows and 4 columns:
Unit identifier (1 to 200)
Time period (1 to 50)
Outcome variable
Treatment indicator (0/1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.