用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/openJiuwen-ai/agent-store --skill gdp-forecasting命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | gdp-forecasting |
| description | GDP预测模型,支持生产法、支出法与HP滤波趋势外推。适用于宏观经济预测方法的。ARIMA/HP滤波为简化实现,未做季节调整与结构断点检验,不适用于正式经济预测,不构成投资建议。 |
| version | 1.0.0 |
| author | wangyi |
GDP 预测模型工具,支持生产法、支出法和趋势+周期分解方法对国内生产总值进行预测分析,仅使用 Python 标准库。
📌 说明:本工具基于简化模型实现,仅使用 Python 标准库。结果仅供学习参考,不构成投资建议。
production_approach(sector_data, forecast_horizon=4)生产法 GDP 预测。 必填: sector_data
expenditure_approach(expenditure_components, forecast_horizon=4)支出法 GDP 预测。 必填: expenditure_components
hp_filter(series, lam=1600.0, max_iter=1000, tol=1e-08)Hodrick-Prescott 滤波分解。 必填: series
hp_filter_forecast(historical_gdp, lam=1600.0, forecast_horizon=4)HP滤波趋势外推预测。 必填: historical_gdp
forecast_gdp(method='hp_filter')统一 GDP 预测接口。
python scripts/main.py \
--method <method> \
--expenditure-components <expenditure_components> \
--forecast-horizon <forecast_horizon> \
--historical-gdp <historical_gdp> \
--lam <lam> \
--max-iter <max_iter> \
--sector-data <sector_data> \
--series <series> \
--tol <tol>