## R-style CITATION file. Used by citation("interflex").
## Cite the methodological paper (for the linear, binning and kernel
## estimators), the Practical Guide (for the modern estimators: AIPW-Lasso,
## DML, GATE) and the package itself (for software credit).
## When the Cambridge Element appears, replace the arXiv entry with the
## published one (bibtype "Book", publisher, DOI).

bibentry(
  bibtype  = "Article",
  title    = "How Much Should We Trust Estimates from Multiplicative Interaction Models? Simple Tools to Improve Empirical Practice",
  author   = c(person("Jens", "Hainmueller"),
               person("Jonathan", "Mummolo"),
               person("Yiqing", "Xu")),
  journal  = "Political Analysis",
  year     = "2019",
  volume   = "27",
  number   = "2",
  pages    = "163-192",
  doi      = "10.1017/pan.2018.46",
  header   = "To cite the underlying methodology, use:"
)

bibentry(
  bibtype  = "Misc",
  title    = "A Practical Guide to Estimating Conditional Marginal Effects: Modern Approaches",
  author   = c(person("Jiehan", "Liu"),
               person("Ziyi", "Liu"),
               person("Yiqing", "Xu")),
  year     = "2025",
  note     = "arXiv:2504.01355. Forthcoming as a Cambridge Element (Cambridge University Press)",
  doi      = "10.48550/arXiv.2504.01355",
  url      = "https://arxiv.org/abs/2504.01355",
  header   = "To cite the modern estimators (AIPW-Lasso, DML, GATE) and the practical guide, use:"
)

bibentry(
  bibtype  = "Manual",
  title    = "interflex: Estimation, Diagnostics and Visualization of Conditional Marginal Effects",
  author   = c(person("Jens", "Hainmueller"),
               person("Jonathan", "Mummolo"),
               person("Tianzhu", "Qin"),
               person("Jiehan", "Liu"),
               person("Ziyi", "Liu"),
               person("Yiqing", "Xu")),
  year     = sub("-.*", "", meta$Date),
  note     = sprintf("R package version %s", meta$Version),
  url      = "https://CRAN.R-project.org/package=interflex",
  header   = "To cite the R package, use:"
)
