quant-statistics

Automate quantitative statistics tasks for investment research time-series analysis.

6.1k|1.2k|Updated Jun 9, 2022
One-click install
npx skills add https://github.com/charliedream1/ai_quant_trade --skill quant-statistics-charliedream1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quant-statistics
Source: https://github.com/charliedream1/ai_quant_trade/tree/main/a_%E5%85%A8%E7%BD%91%E4%BC%98%E7%A7%80%E8%B5%84%E6%BA%90/10_%E5%A4%A7%E6%A8%A1%E5%9E%8B/07_skill%E5%8C%85/vibe_trading_skills/quant-statistics
Command: npx skills add https://github.com/charliedream1/ai_quant_trade --skill quant-statistics-charliedream1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quantitative statistical methods for investment research, including stationarity testing, cointegration, volatility modeling, regression diagnostics, bootstrap, and hypothesis testing.

Core Features & Use Cases

  • ADF unit-root and stationarity testing to validate time-series readiness for modeling.
  • Cointegration analysis for pairs trading and long-run relationships.
  • GARCH family volatility modeling and diagnostic checks for risk management.
  • Bootstrap-based inference for performance metrics and strategy robustness.
  • Use Case: Apply to equity and crypto time-series to build robust statistical indicators and risk controls.

Quick Start

Run a complete time-series analysis on your dataset to generate ADF, cointegration, GARCH, and diagnostic results.

Frequently Asked Questions about quant-statistics

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

FAQPage Schema
How do I run ADF stationarity testing on financial time-series data?

ADF unit-root stationarity testing checks whether your time-series is ready for modeling by detecting non-stationary trends. This Skill provides ready-to-use implementations that output test statistics and interpretation guidance for equity and crypto datasets.

What is cointegration analysis and when do I need it for pairs trading?

Cointegration analysis identifies long-run equilibrium relationships between two or more non-stationary time-series. You need it for pairs trading and statistical arbitrage to confirm that asset price spreads are mean-reverting rather than randomly drifting.

How do I model volatility using GARCH for risk management?

GARCH family volatility modeling captures time-varying variance in financial returns for risk management. This Skill provides diagnostic checks and example implementations that output conditional variance forecasts and model fit metrics using the arch library.

Can I use bootstrap inference to validate trading strategy robustness?

Bootstrap inference resamples your historical returns or performance metrics to estimate confidence intervals without relying on strict distributional assumptions. This Skill applies bootstrap methods to evaluate strategy robustness and performance metric significance across time-series datasets.

Do I need pandas and statsmodels to run quantitative statistics on crypto time-series?

Yes, you need pandas, numpy, statsmodels, and arch libraries to execute the ADF, cointegration, GARCH, and bootstrap methods. These Python data-science dependencies handle the time-series manipulation and statistical computations required to reproduce the provided results.

What's the best way to run regression diagnostics on investment research data?

Regression diagnostics validate model assumptions by checking residuals for autocorrelation, heteroskedasticity, and normality. This Skill automates diagnostic reporting on equity and fixed income datasets, outputting clear test results and interpretation guidance for your statistical models.