Learn R Programming

twfeivdecomp (version 0.1.0)

simulation_data: Example simulation data

Description

A toy dataset included in the package to illustrate the use of the twfeiv_decomp() function. This is artificial data and does not represent real observations.

Usage

simulation_data

Arguments

Format

A data frame with 60 rows and 6 variables:

id

Individual identifier (1–10)

time

Time period (2000–2005)

instrument

Binary instrumental variable

treatment

Treatment variable

outcome

Outcome variable

control1

Control variable 1

control2

Control variable 2

Examples

Run this code
data(simulation_data)
head(simulation_data)

Run the code above in your browser using DataLab