app-data: Replication Datasets from Published Interaction-Effect...

app-dataR Documentation

Replication Datasets from Published Interaction-Effect Studies

Description

A collection of data frames from published political science studies that feature conditional marginal effects. These datasets are shipped with interflex so users can reproduce the applied examples in the package's user manual (https://yiqingxu.org/packages/interflex/) and experiment with the provided estimators on real data.

Usage

data(interflex)

Format

Each object is a data.frame. Column sets differ across studies; the treatment variable, moderator, and outcome used in the manual examples are listed below.

app_adiguzel2023

1,295 rows, 10 columns. Treatment: Dakp_3. Moderator: lograyic09. Used in the user manual to illustrate linear and kernel estimators on a discrete treatment with continuous moderator.

app_bb2024

810 rows, 22 columns. Treatment: treat_rev. Outcome: sup_tax. Moderator: clim_belief. Multi-arm treatment example.

app_et2023

570 rows, 39 columns. Treatment: board_service. Outcome: seat_next_5yr. Illustrates binning and fixed-effect estimators on legislative career data.

app_hma2015

1,482 rows, 11 columns. Treatment: threat (binary). Outcome: totangry. Moderator: pidentity. Based on Huddy, Mason, and Aarøe (2015); used throughout the manual as the primary binary-treatment running example.

app_vernby2013

183 rows, 9 columns. Treatment: noncitvotsh. Outcome: school_diff. Moderator: Taxbase2. Small-sample regional dataset used in the extensions chapter.

Source

Each dataset is redistributed with permission from its original study's replication archive. See the user manual for full citations and links to the source archives: https://yiqingxu.org/packages/interflex/.

References

Adiguzel, F. S. (2023). Bernauer, J. and Bodnar, M. (2024). Eggers, A. C. and Tanaka, S. (2023). Huddy, L., Mason, L. and Aarøe, L. (2015). Expressive partisanship: Campaign involvement, political emotion, and partisan identity. American Political Science Review 109(1), 1-17. Vernby, K. (2013). Inclusion and public policy: Evidence from Sweden's introduction of noncitizen suffrage. American Journal of Political Science 57(1), 15-29.


interflex documentation built on April 14, 2026, 5:10 p.m.