| app-data | R Documentation |
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.
data(interflex)
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_adiguzel20231,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_bb2024810 rows, 22 columns. Treatment: treat_rev. Outcome:
sup_tax. Moderator: clim_belief. Multi-arm
treatment example.
app_et2023570 rows, 39 columns. Treatment: board_service. Outcome:
seat_next_5yr. Illustrates binning and fixed-effect
estimators on legislative career data.
app_hma20151,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_vernby2013183 rows, 9 columns. Treatment: noncitvotsh. Outcome:
school_diff. Moderator: Taxbase2. Small-sample
regional dataset used in the extensions chapter.
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/.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.