2026-01-18 19:02:03 -08:00
# Statistics
Statistical tools applied to price and returns. These indicators quantify relationships, measure dispersion, test hypotheses. Unlike momentum or trend indicators, statistics describe the data itself.
2026-01-19 18:25:48 -08:00
| Indicator | Full Name | Description |
2026-01-18 19:02:03 -08:00
| :--- | :--- | :--- |
2026-02-04 11:43:59 -08:00
| [ACF ](acf/Acf.md ) | Autocorrelation Function | Correlation of time series with lagged copy. For ARMA model identification. |
2026-03-17 08:35:29 -07:00
| [ADF ](adf/Adf.md ) | Augmented Dickey-Fuller Test | Unit root test for stationarity. MacKinnon p-value output [0,1]. |
2026-02-04 11:43:59 -08:00
| [BETA ](beta/Beta.md ) | Beta Coefficient | Asset volatility relative to market. β=1 means market-matched risk. |
| [CMA ](cma/Cma.md ) | Cumulative Moving Average | Running average of all values. Welford's algorithm. No window. |
| [COINTEGRATION ](cointegration/Cointegration.md ) | Cointegration | Tests if series share long-term equilibrium. Pairs trading foundation. |
2026-03-17 08:35:29 -07:00
| [CONVEXITY ](convexity/Convexity.md ) | Beta Convexity | Up/Down beta asymmetry. Convexity = (β⁺ - β⁻)². Measures payoff curvature. |
2026-03-16 12:45:13 -07:00
| [CORREL ](correl/Correl.md ) | Correlation | Linear relationship between two variables. Range: -1 to +1. |
2026-02-04 11:43:59 -08:00
| [COVARIANCE ](covariance/Covariance.md ) | Covariance | Joint variability of two random variables. Building block for β. |
2026-02-13 21:44:45 -08:00
| [ENTROPY ](entropy/Entropy.md ) | Shannon Entropy | Measures uncertainty/randomness. Higher entropy = less predictable. |
| [GEOMEAN ](geomean/Geomean.md ) | Geometric Mean | nth root of product. Use for growth rates and ratios. |
| [GRANGER ](granger/Granger.md ) | Granger Causality | Tests if one series helps predict another. Not true causality. |
2026-02-15 21:59:03 -08:00
| [HARMEAN ](harmean/Harmean.md ) | Harmonic Mean | Reciprocal of arithmetic mean of reciprocals. For rates/ratios. |
| [HURST ](hurst/Hurst.md ) | Hurst Exponent | Long-term memory. H>0.5: trending. H<0.5: mean-reverting. |
| [IQR ](iqr/Iqr.md ) | Interquartile Range | P75 - P25. Robust dispersion measure. |
2026-02-16 16:54:36 -08:00
| [JB ](jb/Jb.md ) | Jarque-Bera Test | Normality test using skewness and kurtosis. |
| [KENDALL ](kendall/Kendall.md ) | Kendall Rank Correlation | Ordinal association. Robust to outliers. |
| [KURTOSIS ](kurtosis/Kurtosis.md ) | Kurtosis | Tail heaviness. High kurtosis = fat tails = more extreme events. |
2026-02-04 11:43:59 -08:00
| [LINREG ](linreg/LinReg.md ) | Linear Regression | Least squares fit. Outputs slope, intercept, R². |
2026-03-17 08:35:29 -07:00
| [MEANDEV ](meandev/MeanDev.md ) | Mean Absolute Deviation | Outlier-robust dispersion. Core of CCI. MD ≈ 0.7979σ for normal data. |
2026-02-04 11:43:59 -08:00
| [MEDIAN ](median/Median.md ) | Median | Middle value in sorted window. Robust to outliers. |
2026-02-16 16:54:36 -08:00
| [MODE ](mode/Mode.md ) | Mode | Most frequent value. Use for categorical or discrete data. |
2026-02-04 11:43:59 -08:00
| [PACF ](pacf/Pacf.md ) | Partial Autocorrelation Function | Direct correlation at lag k after removing intermediate effects. For AR model identification. |
2026-02-16 16:54:36 -08:00
| [PERCENTILE ](percentile/Percentile.md ) | Percentile | Value below which given percentage of observations fall. |
2026-03-17 08:35:29 -07:00
| [POLYFIT ](polyfit/Polyfit.md ) | Polynomial Fitting | Least-squares polynomial regression. |
2026-02-16 16:54:36 -08:00
| [QUANTILE ](quantile/Quantile.md ) | Quantile | Divides distribution into equal probability intervals. |
2026-02-04 11:43:59 -08:00
| [SKEW ](skew/Skew.md ) | Skewness | Distribution asymmetry. Positive: right tail. Negative: left tail. |
2026-02-16 16:54:36 -08:00
| [SPEARMAN ](spearman/Spearman.md ) | Spearman Rank Correlation | Pearson on ranks. Measures monotonic relationship. |
2026-02-04 11:43:59 -08:00
| [STDDEV ](stddev/StdDev.md ) | Standard Deviation | Square root of variance. Same units as data. |
2026-03-17 08:35:29 -07:00
| [STDERR ](stderr/Stderr.md ) | Standard Error of Regression | OLS residual scatter over rolling window. Quantifies trend fit quality. |
2026-02-04 11:43:59 -08:00
| [SUM ](sum/Sum.md ) | Rolling Sum | Kahan-Babuška summation. Numerically stable. |
2026-02-16 16:54:36 -08:00
| [THEIL ](theil/Theil.md ) | Theil Index | Inequality measure. Decomposable into within/between group. |
2026-03-03 08:33:20 -08:00
| [TRIM ](trim/Trim.md ) | Trimmed Mean MA | Mean after discarding extreme percentiles. |
2026-03-17 08:35:29 -07:00
| [VARIANCE ](variance/Variance.md ) | Variance | Average squared deviation from mean. Units are squared. |
2026-03-03 08:33:20 -08:00
| [WAVG ](wavg/Wavg.md ) | Weighted Average | Generic weighted mean. |
| [WINS ](wins/Wins.md ) | Winsorized Mean MA | Mean with extreme values clamped to percentile bounds. |
2026-03-17 08:35:29 -07:00
| [ZSCORE ](zscore/Zscore.md ) | Z-Score | Standard deviations from mean. Normalizes different scales. |
| [ZTEST ](ztest/Ztest.md ) | Z-Test | One-sample t-test statistic against hypothesized mean. |