arXiv:2505.01933cs.LGecon.EM2025-05被引 3

用机器学习预测美国失业率,树模型和LSTM表现更优。

Unemployment Dynamics Forecasting with Machine Learning Regression Models

  • 对比七种回归与机器学习模型,树模型和LSTM效果更好。
  • 就业空缺和消费者信心是影响失业率的最关键因素。
  • 适合经济政策分析与实时劳动力市场监测使用。

本文研究了多种回归与机器学习方法在月度美国失业数据上的应用,以实现及时预测。比较了线性回归、SGDRegressor、随机森林、XGBoost、CatBoost、支持向量回归(SVR)和LSTM网络,均基于历史数据训练并在后续保留期评估。输入特征包括宏观指标(GDP增长、CPI)、劳动力市场指标(职位空缺、首次申领失业金人数)、金融变量(利率、股指)及消费者信心。通过交叉验证调优超参数,采用标准误差指标和方向预测能力评估性能。总体上,基于树的集成模型(尤其是CatBoost)显著优于简单线性方法,而LSTM在捕捉时间模式方面优于其他非线性方法。SVR与SGDRegressor虽有小幅提升,但未达集成与深度学习模型的一致性。可解释性工具(特征重要性与SHAP值)显示,职位空缺和消费者信心是所有方法中最关键的预测因子。通过对线性、集成与深度学习方法的直接对比,本研究证实现代机器学习技术能有效提升实时失业预测能力,为经济学家和政策制定者提供更深入的劳动力市场洞察。模型评估基于2020年1月至2024年12月期间包含30个特征的数据集。

原文摘要 · Abstract (English)

In this paper, I explored how a range of regression and machine learning techniques can be applied to monthly U.S. unemployment data to produce timely forecasts. I compared seven models: Linear Regression, SGDRegressor, Random Forest, XGBoost, CatBoost, Support Vector Regression, and an LSTM network, training each on a historical span of data and then evaluating on a later hold-out period. Input features include macro indicators (GDP growth, CPI), labor market measures (job openings, initial claims), financial variables (interest rates, equity indices), and consumer sentiment. I tuned model hyperparameters via cross-validation and assessed performance with standard error metrics and the ability to predict the correct unemployment direction. Across the board, tree-based ensembles (and CatBoost in particular) deliver noticeably better forecasts than simple linear approaches, while the LSTM captures underlying temporal patterns more effectively than other nonlinear methods. SVR and SGDRegressor yield modest gains over standard regression but don't match the consistency of the ensemble and deep-learning models. Interpretability tools ,feature importance rankings and SHAP values, point to job openings and consumer sentiment as the most influential predictors across all methods. By directly comparing linear, ensemble, and deep-learning approaches on the same dataset, our study shows how modern machine-learning techniques can enhance real-time unemployment forecasting, offering economists and policymakers richer insights into labor market trends. In the comparative evaluation of the models, I employed a dataset comprising thirty distinct features over the period from January 2020 through December 2024.

失业预测机器学习时间序列经济分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。