CV

Education

City University of Macau, B.A. in Applied Economics, 2023 – Present

  • Faculty of Finance
  • GPA: 3.80 / 4.00
  • Ranked 8th out of 264 (2024–2025)
  • Advisor: Prof. Wenli Xu

Working Papers

  • Xuanyu Cai and Wenli Xu. "lwdid: A Python Package for Lee–Wooldridge Difference-in-Differences Estimation with Small Samples." Under SSRN Review, 2026. [SSRN · GitHub]
  • Wenli Xu, Xuanyu Cai, and Xiangxu Chang. "How Does Climate Political Pressure Affect Corporate Decarbonization? Evidence from China's 'Message Board for Leaders'." Under SSRN Review, 2025.
  • Xiangxu Chang, Xuanyu Cai, and Wenli Xu. "Apathy in the Heatwave: How Climate Shocks Exacerbating Emotional Violence." SSRN Preprint (Under Review), 2025. [SSRN]

Publications

  • Xuanyu Cai, Kunyu Yang, and Yunfan Zhang. "How Does Quality Culture Help Successfully Implement Lean Projects in the Age of Artificial Intelligence? A Moderated Mediation Model." China Quality (中国质量), 2025(03). [DOI]

Presentations

  • "气候政治压力如何影响企业减碳?——来自'领导留言板'的证据," The 9th China Green and Low-Carbon Development Forum (第九届中国绿色低碳发展论坛), organized by the Institute of Quantitative & Technological Economics, Chinese Academy of Social Sciences, 2025.

Software

  • lwdid (Python) — Lee–Wooldridge Difference-in-Differences for panel data [GitHub · SSRN]
  • pretest (Stata) — Conditional extrapolation pre-test for DiD [GitHub]
  • equitrends (Stata) — Equivalence tests for pre-trends in DiD [GitHub]
  • diddesign (Stata) — Double Difference-in-Differences via GMM [GitHub]

Professional Service

  • Co-organizer (with Prof. Wenli Xu), CityUM-FOF Economic and Financial Workshop, Faculty of Finance, City University of Macau

Awards & Honors

  • Macau International Bank Scholarship (2025)
  • Dean's List, City University of Macau (2024–2025)

Skills

  • Programming: Stata · Python · R · Markdown · LaTeX
  • AI Tools: Claude Code · Codex · Cursor, etc.
  • Familiar with: ArcGIS · Web Development · Rust
  • Languages: Chinese (Native) · English (Fluent) · Japanese (JLPT N2)