quant-statistics
Quant-statistics provides time-series testing and volatility modeling tools for quantitative investing. It covers stationarity detection via ADF tests, cointegration analysis for pair trading, GARCH volatility forecasting, and regression diagnostics including heteroskedasticity and autocorrelation checks.
Quant-statistics performs stationarity and cointegration tests to identify tradable pair relationships for strategy development.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
Quant-statistics performs stationarity and cointegration tests to identify tradable pair relationships for strategy development. Quant-statistics provides time-series testing and volatility modeling tools for quantitative investing. It covers stationarity detection via ADF tests, cointegration analysis for pair trading, GARCH volatility forecasting, and regression diagnostics including heteroskedasticity and autocorrelation checks.
Use it when
- Quant-statistics includes cointegration analysis tools designed for pair trading strategy development.
- Yes, quant-statistics supports GARCH and variant models for volatility forecasting and risk management.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
HKUDS/Vibe-Trading/quant-statistics · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What ADF unit root test and stationarity capabilities does quant-statistics offer?
Quant-statistics provides ADF (Augmented Dickey-Fuller) unit root testing to detect stationarity in time series data. This is essential for identifying mean-reverting assets and avoiding spurious regression in quantitative strategies. The skill enables researchers to validate whether price series or spreads are stationary before building statistical arbitrage models.
How does quant-statistics support cointegration testing for pair trading?
Quant-statistics includes cointegration analysis tools designed for pair trading strategy development. These tests identify long-term equilibrium relationships between two assets, calculate hedge ratios, and detect mean-reverting spreads. Cointegration testing helps traders establish when two securities move together and when deviations signal trading opportunities.
Can quant-statistics model and forecast volatility using GARCH?
Yes, quant-statistics supports GARCH and variant models for volatility forecasting and risk management. The toolkit enables modeling of time-varying volatility, capturing volatility clustering in financial returns, and generating forward-looking volatility estimates. EGARCH variants are also available for capturing asymmetric volatility effects in downturns.
What regression diagnostics does quant-statistics provide for model validation?
Quant-statistics validates regression models through comprehensive diagnostic tests including heteroskedasticity detection, autocorrelation checks via Ljung-Box testing, and residual analysis. These diagnostics ensure regression assumptions hold and help identify model specification issues before deployment in quantitative strategies.
How does quant-statistics estimate confidence intervals and test significance?
Quant-statistics employs bootstrap methods to estimate confidence intervals and assess statistical significance without relying on parametric assumptions. This approach is particularly valuable for testing Sharpe ratio significance, factor returns, and other non-normally distributed financial metrics in quantitative research.
Does quant-statistics support multiple-testing corrections for factor research?
Quant-statistics includes hypothesis testing and multiple-testing correction methods such as FDR (False Discovery Rate) for factor research. These corrections prevent false discoveries when testing many factors simultaneously, ensuring robust factor analysis and reducing the risk of overfitting in quantitative finance applications.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Quantitative Statistical Methods
Overview
Common statistical methodology used in quantitative investing, covering time-series testing, volatility modeling, regression diagnostics, and statistical inference. Provides the statistical foundation for strategy development and factor research.
Time-Series Tests
1. ADF Unit-Root Test (Stationarity Test)
Why it matters: regressing non-stationary series directly can produce spurious regression, making conclusions unreliable.
```python from statsmodels.tsa.stattools import adfuller
def adf_test(series: pd.Series, significance: float = 0.05) -> dict: """ ADF test: H0 = unit root exists (non-stationary), H1 = stationary
Args:
series: Time series
significance: Significance level
Returns:
Test result
"""
result = adfuller(series.dropna(), autolag='AIC')
return {
'adf_statistic': result[0],
(truncated - see the full file via the links below)
File tree — 1 file
agent/src/skills/quant-statistics/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Perform stationarity and cointegration tests for pair trading strategy development”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Statsmodels provides classical statistical modeling with rigorous inference for Python, covering linear regression, generalized linear models, discrete choice analysis, and time series forecasting. It emphasizes coefficient interpretation, hypothesis testing, and model diagnostics rather than prediction optimization. Use this skill when you need detailed statistical inference, confidence intervals, and assumption validation.
Build volatility forecasts using GARCH(1,1) and GJR(1,1) models with walk-forward fitting, then apply them to scale positions inversely to risk. The toolkit includes tested recipes for univariate fits, DCC correlation overlays, and position-sizing logic on BTC, ETH, SOL, and AVAX futures data. Results are cost-dependent: GJR vol-scaling works at institutional rates (2bps) but erodes at retail spreads (7bps); DCC de-weighting adds minimal economic value.
Mean-reversion identifies when prices, spreads, or other financial metrics deviate from their long-run average and predictably return. This skill provides statistical tests (ADF, Hurst exponent, variance ratio) to confirm mean reversion, half-life estimation to time entries and exits, z-score frameworks for signal generation, and Ornstein-Uhlenbeck process modeling for continuous-time analysis.
Correlation-Analysis discovers asset pairs with strong co-movement for pairs trading and hedging through multiple analytical modes: co-movement scanning, deep return correlation studies, sector clustering, and cointegration testing. It computes Pearson, Spearman, and Kendall correlations, rolling dynamics, and spread Z-scores to identify statistically significant relationships.
Pywayne Statistics provides a unified library for statistical hypothesis testing across normality assessment, group comparisons, correlation analysis, time series validation, and regression diagnostics. Each test returns consistent result objects with p-values, confidence intervals, and effect sizes, making it straightforward to validate data assumptions and detect significant effects in A/B tests and observational studies.
Longbridge Quant provides frameworks for building and backtesting quantitative strategies, including pairs trading with cointegration, volatility regime detection, multi-factor stock selection, and factor research with IC/IR analysis. Run indicator scripts against K-line data via CLI, optimize strategy parameters with walk-forward validation, and model execution costs and hedging approaches.
More skills feature-engineering (MIT) · cointegration-analysis (MIT) · volatility-modeling (MIT) · statistics-fundamentals (MIT) · volatility-modeling (MIT) · statsmodels (Apache-2.0) · pair-trade-screener (MIT) · statsmodels (MIT)