sim_region: Simulated unbalanced panel with region-specific time effects

sim_regionR Documentation

Simulated unbalanced panel with region-specific time effects

Description

A simulated unbalanced panel with 500 units belonging to 5 regions and 20 time periods. The DGP includes region-specific linear time trends as the confounding source. Treatment probability and timing depend on region, and units in higher-numbered regions enter the panel later, creating unbalancedness. Used to demonstrate additional fixed effects in the CFE estimator.

Format

A data frame with columns:

time

Time period (1 to 20)

id

Unit identifier (1 to 500)

region

Region indicator (1 to 5)

Y

Outcome variable

D

Treatment indicator (0/1)

region_time

Region-by-time interaction factor


fect documentation built on April 30, 2026, 9:06 a.m.