analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios

Identify unemployment rises with elevated GDP and estimate Deficit/GDP ranges using FRED data.

3|1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/fatfingererr/macro-skills --skill analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios
Source: https://github.com/fatfingererr/macro-skills/tree/main/skills/analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios
Command: npx skills add https://github.com/fatfingererr/macro-skills --skill analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, requests, scipy, matplotlib, statsmodels, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps analysts understand how fiscal deficits as a share of GDP may expand when unemployment rises while GDP remains elevated, providing a structured framework to quantify risks and narrative around long-term UST implications.

Core Features & Use Cases

  • Labor slack construction: compute UJO, Sahm rule, and ΔUR to identify "labor softening" events.
  • Event sampling: identify historical episodes where labor weakness and high GDP co-occur.
  • Deficit/GDP projection: apply three modeling approaches (event banding, quantile mapping, robust regression) to generate distributional projections and scenario narratives.
  • UST risk interpretation: produce a dual-channel assessment (supply pressure vs. risk aversion) with actionable monitoring indicators.
  • Visualization outputs: generate three-axis charts and scenario visuals to support decision making for macro risk.
  • Use Case: a risk team evaluating how plausible deficits could rise in a future with rising unemployment but still-strong GDP, informing debt management and Fed policy considerations.

Quick Start

  • Run fast diagnostics using the default configuration to get a current snapshot of slack, GDP stance, and baseline deficit projections.
  • Perform full scenario analysis by adjusting lookback horizons, horizon quarters, GDP path, and unemployment shock parameters.
  • Generate visualization outputs to accompany the numerical projections and scenario narratives.

Quick Start Example: Run the default quick analysis to obtain a baseline projection and diagnostics, then generate visuals for the moderate scenario and save results to result.json.

Frequently Asked Questions about analyze-high-unemployment-high-gdp-growth-fiscal-deficit-scenarios

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I project fiscal deficit to GDP ratios when unemployment rises but GDP remains high?

The tool identifies historical episodes where labor weakness and high GDP co-occur using labor slack indicators like UJO and the Sahm rule. It then estimates the Deficit/GDP range using these historical relations applied to your custom GDP path and unemployment shock parameters.

What is the relationship between labor slack and long-term UST risk?

It generates actionable monitoring indicators and scenario visuals to support decision making for macro risk teams evaluating how plausible deficits could rise in a future with rising unemployment but still-strong GDP.

Can I use FRED series data to model unemployment shock scenarios?

It requires Python dependencies including pandas, numpy, requests, scipy, matplotlib, and statsmodels to run the three modeling approaches and generate the visualization outputs.

How do I calculate the Sahm rule and UJO for identifying labor softening events?

The event sampling results feed into three modeling approaches that generate distributional projections for the Deficit/GDP range under your specified GDP path scenarios.

What are the limitations of using event banding for deficit projections?

Users should adjust lookback horizons carefully, as sparse historical events may constrain the reliability of the baseline deficit projections for long-term UST risk planning.

Does this tool work with statsmodels and matplotlib for econometric scenario visualization?

Results can be saved to result.json, providing both numerical projections and scenario narratives for further analysis.