Statistics Fundamentals
Statistical methods for financial returns covering distributions, covariance shrinkage, CAPM regression, and bootstrap inference.
- CCM score
- 66 of 100
- skills.sh installs
- 909
- GitHub stars
- 270
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers descriptive statistics, covariance and correlation, OLS regression, hypothesis testing, and bootstrap resampling for return series
- Includes a five-step analysis workflow that runs distribution checks, covariance estimation, regression diagnostics, and bootstrap confidence intervals in order
- Enforces n-1 sample variance and flags that the Jarque-Bera test has low power on small samples, so a failed rejection is not evidence of normality
- Designed for analysts checking fat tails, beta and alpha significance, or unstable optimizer weights, with
scripts/statistics_fundamentals.pyproviding the helper functions
Install
$ npx -y skills add joellewis/finance_skills --skill statistics-fundamentals -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Statistics Fundamentals
Core Concepts
Conventions and Decision Rules
Sample variance: use n-1
When estimating variance or standard deviation from a sample of returns, divide by n - 1 (Bessel's correction), not n. Dividing by n systematically underestimates dispersion. Standard deviation of returns is "volatility"; annualize with sigma_annual = sigma_period * sqrt(periods_per_year) (e.g., * sqrt(12) for monthly, * sqrt(252) for daily).
Normality testing: Jarque-Bera and its limits
JB = (n/6) * (skew^2 + excess_kurtosis^2 / 4), distributed chi-squared with 2 df under the null of normality (5% critical value: 5.99).
Low-power caveat: with small samples (n below roughly 50), JB rarely rejects even for clearly non-normal data — failing to reject is weak evidence of normality, not confirmation. With large samples, financial return series almost always reject due to fat tails and (for equities) negative skewness. Treat the test as a screen, and pair it with a look at the actual skew/kurtosis magnitudes and extreme observations.
Details
- Repository
- github.com/joellewis/finance_skills
- Categories
- Finance & Trading, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What is statistics-fundamentals?
statistics-fundamentals is an agent skill listed on Claude Marketplaces in the Finance & Trading category. The listing describes statistics-fundamentals like this: Apply statistical methods to financial data including descriptive statistics, covariance estimation, regression, hypothesis testing, and resampling.
How do I install statistics-fundamentals?
Run npx -y skills add joellewis/finance_skills --skill statistics-fundamentals -y in a project to install statistics-fundamentals. After that, the agent can use statistics-fundamentals in that project.
Which category is statistics-fundamentals in?
statistics-fundamentals is in the Finance & Trading category on Claude Marketplaces. Other listings in that category next to statistics-fundamentals include wind-mcp-skill, stripe-best-practices and wind-find-finance-skill.
Where is the source code of statistics-fundamentals?
The source code of statistics-fundamentals is on GitHub at https://github.com/joellewis/finance_skills. The joellewis account on GitHub publishes statistics-fundamentals.
More from joellewis/finance_skills
All 84- Finance Psychology876
- Quantitative Valuation875
- Commodities858
- Investment Policy855
- Rebalancing840
- Debt Management836
- Diversification828
- Historical Risk818
- Order Lifecycle817
- Market Data813
- Currencies And Fx808
- Time Value Of Money804
- Bet Sizing802
- Liquidity Management802
- Financial Planning Workflow801
- Emergency Fund799
- Volatility Modeling799
- Performance Metrics797
- Return Calculations795
- Savings Goals795
- Account Transfers787
- Fund Vehicles786
- Data Quality782
- Forward Risk782
Similar to Statistics Fundamentals
More Finance & Tradingquantitative-researchomer-metin/skills-for-antigravity2.8K installsSystematic trading research workflow covering backtests, alpha signals, factor models, and statistical arbitrage with overfitting guardrails.
statistical-analysisdavila7/claude-code-templates770 installsStatistical analysis toolkit covering hypothesis tests, regression, Bayesian methods, and APA reporting for academic research.
statistics-verifiertravisjneuman/.claude224 installsStructured frameworks for verifying statistical claims, checking methodology, and detecting analytical errors and biases.
historical-riskjoellewis/finance_skills818 installsQuantifies realized risk from historical prices using volatility estimators, drawdown analysis, and downside metrics.
performance-metricsjoellewis/finance_skills797 installsCatalog reference for risk-adjusted investment performance ratios and capture analysis, covering Sharpe through M-squared.
data-analystmindrally/skills802 installsPractice guidelines for pandas, numpy, matplotlib, seaborn, and Jupyter analysis workflows, covering validation through reporting.