A synthetic dataset generated to illustrate Gaussian copula endogeneity corrections. The dependent variable is driven by an endogenous regressor that is correlated with the structural error via a shared noise component.
Format
A data frame with 2000 rows and 4 variables:
- y
Outcome variable
- z_endog
Endogenous regressor that is correlated with the error term
- x_exog
Exogenous regressor
- w_instr
Instrument used by copula estimators
Details
The true data-generating process is $$y = 1 + 2 z_{\text{endog}} + 1.5 x_{\text{exog}} + u,$$ where a latent Gaussian factor induces correlation between \(z_{\text{endog}}\) and the structural error \(u\). The instrument \(w_{\text{instr}}\) shifts the endogenous regressor but is excluded from the outcome equation.
