quant-statistics
Skill by charliedream1
Provides Python code and decision rules for statistical methods used in quantitative investing, including ADF, cointegration, GARCH and bootstrap. Aimed at quant investors and analysts doing strategy and factor research.
Install quant-statistics
Built from the published package, never by AI.
git clone --depth 1 https://github.com/charliedream1/ai_quant_trade /tmp/ai_quant_trade && mkdir -p ~/.claude/skills && cp -r /tmp/ai_quant_trade/egs_skill/vibe_trading_skills/quant-statistics ~/.claude/skills/quant-statisticsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/charliedream1/ai_quant_trade /tmp/ai_quant_trade && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai_quant_trade/egs_skill/vibe_trading_skills/quant-statistics ~/.gemini/antigravity-cli/skills/quant-statisticsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a reference of statistical methods for quantitative investing. It gives Python functions for ADF unit-root tests, Engle-Granger cointegration tests with hedge ratio and half-life estimates, and Granger causality tests. It also covers GARCH(1,1) volatility modeling with a 5-day forecast, regression diagnostics, bootstrap confidence intervals, and a hypothesis-testing table.
The code uses statsmodels and arch, with pandas and numpy. Each test lists its null hypothesis and a decision rule, such as p-value thresholds for stationarity and VIF cutoffs for collinearity. The source presents these methods as a foundation for strategy development and factor research, so it suits quant investors and analysts.
Written from the project's SKILL.md and checked against it.
What it can do
- ADF unit-root testTests whether a series is stationary and gives a decision rule based on the p-value.
- Cointegration testRuns an Engle-Granger test on two price series to check for a long-run relationship.
- Pair-trading hedge ratioEstimates a hedge ratio, spread and half-life, with z-score signal levels.
- Granger causality testChecks whether past values of one series help predict another across lags.
- GARCH(1,1) modelFits a volatility model and returns parameters, persistence and a 5-day volatility forecast.
- Regression diagnosticsCovers heteroskedasticity, autocorrelation, multicollinearity and outlier checks.
- Bootstrap confidence intervalsEstimates confidence intervals for a statistic, including the Sharpe ratio.
What you need
- Python
- statsmodels library
- arch library
Try asking
- Run an ADF test on my price series and tell me if it is stationary
- Fit a GARCH(1,1) model to my daily returns and forecast 5-day volatility
- Bootstrap a 95% confidence interval for my strategy's Sharpe ratio
Good to know
- Granger causality shows predictive causality only, not true causality.
- The GARCH parameter ranges for China A-shares and BTC are typical values given in the source.
- The hypothesis-testing table in the source is incomplete.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: egs_skill/vibe_trading_skills/quant-statistics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB
Alternatives to quant-statistics
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
quant-statistics: common questions
What statistical tests does quant-statistics cover?
It covers ADF unit-root and Engle-Granger cointegration tests, Granger causality, GARCH volatility modeling, regression diagnostics, bootstrap methods, and hypothesis testing.
Which Python libraries does it use?
The examples import statsmodels and arch, along with pandas and numpy.
Does Granger causality prove real cause and effect?
No. The source says Granger causality is only predictive causality, not true causality.
How do I install quant-statistics?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is quant-statistics free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is quant-statistics safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to quant-statistics?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
