Skip to content
Back to skills

GEO INFER ECON

ASecurity

Geospatial economics and bioregional market modeling. Use when analyzing spatial economic patterns, bioregional markets, ecosystem-service credit auctions, spatial econometrics (SAR/SEM/SDM/SAC), or supply-demand modeling with geographic context.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 1, 2026
ai-agentspythongo

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add ActiveInferenceInstitute/GEO-INFER --skill GEO-INFER-ECON --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of GEO INFER ECON?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for GEO INFER ECON
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/activeinferenceinstitute-geo-infer-econ/badge)](https://www.skillsdirectory.com/skills/activeinferenceinstitute-geo-infer-econ)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: geo-infer-econ
description: Geospatial economics and bioregional market modeling. Use when analyzing spatial economic patterns, bioregional markets, ecosystem-service credit auctions, spatial econometrics (SAR/SEM/SDM/SAC), or supply-demand modeling with geographic context.
prerequisites:
  required:
    - geo-infer-space
    - geo-infer-data
  recommended:
    - geo-infer-time
    - geo-infer-bayes
difficulty: intermediate
estimated_time: 45min
examples_dir: ../GEO-INFER-EXAMPLES/examples/
---

# GEO-INFER-ECON

## Instructions

### Core Capabilities

- **Bioregional markets**: Ecosystem-service credit markets with double-auction / call-auction clearing (`BioregionalMarketDesign`, `EcosystemServicesMarkets`)
- **Spatial econometrics**: SAR / SEM / SDM / SAC estimation, GWR, Moran's I and Getis-Ord G* diagnostics (`SpatialEconometricsEngine`)
- **Supply-demand**: Consumer demand systems (OLS, SUR, AIDS), market structure and spatial market analysis
- **Impact assessment**: Policy engine and macroeconomic models (growth, business cycles, monetary, fiscal, trade)
- **Logistics integration**: Bridge to LOG module for supply chain analysis

### Key Imports

```python
from geo_infer_econ.bioregional.bioregional_markets import (
    BioregionalMarketDesign, BioregionalAsset, MarketParticipant, EcosystemServicesMarkets
)
from geo_infer_econ.core.econometrics_engine import SpatialEconometricsEngine
from geo_infer_econ.integrations.logistics_integration import LogisticsEconomicAnalyzer
from geo_infer_econ.microeconomics.market_structure import SpatialMarketAnalysis
from geo_infer_econ.macroeconomics import BusinessCycleModels, MonetaryPolicyModels
```

## Examples

Ecosystem-service credit market with call-auction clearing:

```python
import geopandas as gpd
from shapely.geometry import Polygon
from geo_infer_econ.bioregional.bioregional_markets import (
    BioregionalMarketDesign, BioregionalAsset, MarketParticipant, EcosystemServicesMarkets
)

boundary = gpd.GeoDataFrame(
    [{"region_id": "pnw"}],
    geometry=[Polygon([(-120.5, 45.5), (-120.0, 45.5), (-120.0, 45.0), (-120.5, 45.0), (-120.5, 45.5)])],
)
market = BioregionalMarketDesign(bioregion_boundary=boundary)
market.register_asset(BioregionalAsset(
    asset_id="a1", asset_type="forest", location=(45.5, -122.6), area_hectares=100,
    ecological_attributes={}, economic_attributes={}, ownership_type="private",
    management_regime="sustainable", ecosystem_services=["carbon"],
))
market.register_participant(MarketParticipant(
    participant_id="buyer_1", participant_type="buyer", location=(45.5, -122.6),
    assets_owned=[], market_preferences={}, budget_constraints={}, sustainability_goals={},
))
market.register_participant(MarketParticipant(
    participant_id="seller_1", participant_type="seller", location=(45.4, -122.5),
    assets_owned=["a1"], market_preferences={}, budget_constraints={}, sustainability_goals={},
))
credit = market.create_ecosystem_service_credit(
    asset_id="a1", service_type="carbon", quantity=10.0, quality_parameters={"quality": 0.9}
)

esm = EcosystemServicesMarkets(market_design=market)
esm.submit_buy_order("buyer_1", "carbon", quantity=5.0, max_price=100.0, location_preferences={})
esm.submit_sell_order("seller_1", credit.credit_id, min_price=10.0)
trades = esm.clear_market()
print(f"Trades executed: {len(trades)}")
```

Spatial autoregressive model fit and diagnostics:

```python
import numpy as np
from geo_infer_econ.core.econometrics_engine import SpatialEconometricsEngine

n = 16
W = np.zeros((n, n))
for i in range(n):
    for j in range(n):
        if abs(i - j) == 1:
            W[i, j] = 1.0
W /= W.sum(axis=1, keepdims=True)  # row-standardized weights

rng = np.random.default_rng(0)
X = np.column_stack([np.ones(n), rng.normal(size=n)])
e = rng.normal(size=n)
y = np.linalg.solve(np.eye(n) - 0.5 * W, X @ np.array([1.0, 2.0]) + e)

engine = SpatialEconometricsEngine({})
engine.fit(X, y, W, model_type="sar")
print("rho:", engine.coefficients_[0])
diagnostics = engine.spatial_diagnostics(engine.residuals, W)
print("Moran's I z-score:", diagnostics["z_morans"])
print("Getis-Ord G* z:", diagnostics["getis_ord_g_star_z"])
```

## Guidelines

- Ecosystem-service credit markets and call-auction clearing are real implementations (`EcosystemServicesMarkets.clear_market`)
- SAC models are estimated by full ML over (rho, beta, lambda, sigma2); standard errors for spatial models are OLS-style approximations and are documented as such in `convergence_info`
- Logistics integration bridges ECON to LOG module (`LogisticsEconomicAnalyzer` degrades gracefully when LOG is unavailable)
- Logger used instead of print() for all library output
- Test: `uv run python GEO-INFER-TEST/run_unified_tests.py --module ECON`

### Integrations

- **LOG** → Supply chain logistics cost modeling (optional, capability-flagged)
- **AG** → Agricultural commodity market analysis
- **TRANSPORT** → Transportation cost for trade flows
- **RISK** → Economic risk and insurance modeling
- **SPACE** → H3 spatial indexing and location analysis (optional, capability-flagged)

Files in this skill

  • AGENTS.md1.6 KB
  • README.md1.4 KB
  • SKILL.md2.3 KB
  • config/AGENTS.md1.1 KB
  • config/README.md918 B
  • config/example.yaml8.2 KB
  • docs/AGENTS.md1.2 KB
  • docs/README.md980 B
  • docs/api_schema.yaml34.6 KB
  • docs/bioregional_economics_guide.md1.4 KB
  • docs/microeconomics_guide.md1.6 KB
  • examples/AGENTS.md1.2 KB
  • examples/README.md1.6 KB
  • examples/comprehensive_economic_analysis.py11.1 KB
  • examples/integration_example.py7.7 KB
  • pyproject.toml3.6 KB
  • requirements.txt251 B
  • setup.py1.4 KB
  • src/AGENTS.md1.1 KB
  • src/README.md915 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.