statistics-ai999x — offline, verified statistics solver with step-by-step answers
Install · Capability guide · Evaluation · AI999X on Hugging Face · Website · Support: Buy Me a Coffee
License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.0.0
Field: Mathematics & Statistics · Tasks: Question Answering, Token Classification, Text Classification, Tabular Regression, Sentence Similarity, Feature Extraction
statistics-ai999x is an offline, deterministic Python solver that answers statistics questions with verified results from 110 certified capabilities, gives 609 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
statistics-ai999x is a compact, deterministic statistics engine for Python. It reads a question in plain English (or a typed call), picks a certified statistics capability, computes the answer exactly, checks it, and returns the result with its steps, units, LaTeX and assumptions — or an honest refusal that says what is missing. It runs fully offline on any CPU, needs no GPU, no API key and no internet, and is built to give zero wrong answers: when it is not sure, it refuses instead of guessing.
Highlights
- Verified, not generated. Every answer is computed by a certified statistics capability and checked (substituted back, dimension-checked or compared with an independent computation) before it is returned.
- Zero wrong answers by design. Seven explicit outcomes — SOLVED, NEEDS_INPUT, AMBIGUOUS, INVALID_INPUT, OUT_OF_SCOPE, UNRECOGNIZED_FORMAT, INTERNAL_ERROR — never a silent guess. Every one of its 609 documented answers is reproduced exactly on every tested platform.
- Plain-English questions and a guaranteed typed interface.
ask()reads documented question forms;solve(capability_id, **inputs)always solves a supported task with valid inputs. - Explains itself. Steps, formulas in LaTeX, units, assumptions and the model used, ready for notebooks, tutoring apps and homework checkers.
- Small and portable. Pure Python (sympy, mpmath); identical answers on Windows and Linux (Python 3.10, 3.11, 3.12, 3.13, 3.14).
- Coverage: descriptive statistics, probability distributions, confidence intervals, hypothesis tests, regression and correlation, experimental design, quality control and reliability.
Model overview
| Property | Value |
|---|---|
| Package | statistics-ai999x 1.0.0 (import statistics_ai999x) |
| Type | Deterministic neuro-symbolic statistics engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 110 certified procedures |
| Knowledge pack | version 1.0.1 |
| Golden answers | 609 documented answers, identical on every tested platform |
| Platforms tested | Windows (Python 3.13), Linux x86-64 (Python 3.10, 3.11, 3.12, 3.13, 3.14) |
| Runtime | CPU only, offline; no GPU, no network, no API key |
| License | Apache-2.0 |
| Creator / engineer | Ibnul Jaif Farabi |
| Organization | AI999X |
Quickstart
pip install statistics-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/statistics-ai999x/resolve/main/dist/statistics_ai999x-1.0.0-py3-none-any.whl
import statistics_ai999x as statistics
statistics.ask("Perform a one-sample t-test of [5.1, 4.9, 5.3, 5.5, 5.0, 5.2] against mu0 = 5, two-sided.").show()
# -> SOLVED — t = 1.88982, df = 5, p_value = 0.117387, mean = 5.16667 (t_test_one_sample)
statistics.ask("For a normal distribution with mean = 100 and standard deviation = 15, find P(X < 120).").show()
# -> SOLVED — probability = 0.908789, z = 1.33333 (normal_probability_below)
statistics.ask("Find the 95% confidence interval for the mean of [12, 15, 11, 18, 14, 16].").show()
# -> SOLVED — lower = 11.6237, upper = 17.043, margin_of_error = 2.70963, critical_value = 2.57058 (ci_mean_t)
statistics.ask("Chi-square test of independence for the table [[20, 30], [25, 25]].").show()
# -> SOLVED — chi_square = 1.0101, df = 1, p_value = 0.314879, expected = [[22.5, 27.5], [22.5, 27.5]] (chi_square_independence)
statistics.solve("weibull_reliability", beta=2, eta=1000, t=500).show()
# -> SOLVED — reliability = 0.778801, unreliability = 0.221199, hazard_rate = 0.001, mttf = 886.227 (weibull_reliability)
statistics.ask("Who created you?").message
# -> statistics-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: statistics-ai999x "<question>", statistics-ai999x --capabilities. The outputs above were produced by running this exact code on statistics-ai999x 1.0.0.
How every answer is verified
- Reading — the question is turned into typed quantities (value, unit, kind, role) and one asked quantity; every stated number must be used or the question is refused.
- Planning — only certified capabilities may answer; a capability applies only under the conditions the wording states (for example a pendulum, a liquid at rest, boiling).
- Computing — exact symbolic or high-precision numeric evaluation.
- Checking — dimensions, substitution back into the defining equation, and agreement between independent readings; any disagreement becomes a refusal, never a number.
Capabilities are certified before they ship: each must reproduce hand-worked reference cases, reject a deliberately wrong variant (a control), and leave every benchmark answer unchanged.
Capabilities
110 certified procedures. A few of them:
- Procedures: 2^2 factorial design: main effects and interaction; 2^3 factorial design: main effects and interactions; Arithmetic mean; Bartlett's test for equal variances; Binomial probability: at least k successes; Binomial probability: at most k successes; Binomial probability: exactly k successes; Chi-square goodness-of-fit test; Chi-square test for a variance; Chi-square test of independence; Coefficient of variation; Cohen's d and Hedges' g; Confidence interval for a correlation (Fisher z); Confidence interval for a mean (sigma known, z-interval); Confidence interval for a mean from data (t-interval); Confidence interval for a mean from summary statistics (t-interval); Confidence interval for a proportion (Wald); Confidence interval for a variance and standard deviation; Confidence interval for the difference of two means; Covariance; Critical value of F; Critical value of Student's t; Critical value of chi-square; Critical value of z …
statistics_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 110 formulas
Show every formula, by topic
Analysis of variance
One-way ANOVA
Categorical data
Fisher's exact test (2 x 2)
McNemar's test for paired proportions
Confidence intervals
Confidence interval for a mean (sigma known, z-interval)
Confidence interval for a mean from data (t-interval)
Confidence interval for a mean from summary statistics (t-interval)
Confidence interval for a proportion (Wald)
Confidence interval for a variance and standard deviation
Confidence interval for the difference of two means
Wilson score interval for a proportion
Confidence intervals and tests
Critical value of F
Critical value of Student's t
Critical value of chi-square
Critical value of z
Descriptive statistics
Arithmetic mean
Coefficient of variation
Five-number summary and interquartile range
Geometric mean
Harmonic mean
Mean absolute deviation
Mean and standard deviation of a frequency table
Median
Median absolute deviation
Mode
Outliers by the 1.5 IQR rule
Percentile of a data set
Population standard deviation
Population variance
Range
Sample standard deviation
Sample variance
Skewness and kurtosis
Standard error of the mean
Trimmed mean
Weighted mean
z-score of a value
Effect sizes
Cohen's d and Hedges' g
Experimental design
2^2 factorial design: main effects and interaction
2^3 factorial design: main effects and interactions
Cronbach's alpha (internal consistency)
Randomized complete block design (two-way ANOVA without replication)
Hypothesis tests
Bartlett's test for equal variances
Chi-square goodness-of-fit test
Chi-square test for a variance
Chi-square test of independence
F-test for equality of two variances
Levene's test for equal variances
One-proportion z-test
One-sample t-test
One-sample z-test for a mean (sigma known)
Paired t-test
Two-proportion z-test
Two-sample t-test (pooled variances)
Two-sample t-test from summary statistics
Welch's two-sample t-test (unequal variances)
Nonparametric tests
Friedman test
Kruskal-Wallis H test
Mann-Whitney U test (exact)
Mann-Whitney U test (large-sample)
Sign test
Wilcoxon signed-rank test (exact)
Wilcoxon signed-rank test (large-sample)
Power and sample size
Power of a one-sample z-test
Power of a two-sample z-test
Sample size per group to compare two means (z-test power)
Sample size to estimate a mean
Sample size to estimate a proportion
Probability
Probability of at least one occurrence
Probability distributions
Binomial probability: at least k successes
Binomial probability: at most k successes
Binomial probability: exactly k successes
Expected value and variance of a discrete random variable
Exponential probability above a value
Exponential probability below a value
Geometric distribution: first success on trial k
Hypergeometric probability (sampling without replacement)
Inverse normal (normal percentile)
Mean and standard deviation of a binomial distribution
Negative binomial: r-th success on trial n
Normal probability above a value
Normal probability below a value
Normal probability between two values
Poisson probability: at least k events
Poisson probability: at most k events
Poisson probability: exactly k events
Quality control
Individuals and moving range (I-MR) chart limits
Process capability (Cp, Cpk) and expected nonconforming
X-bar and R control chart limits
X-bar and S control chart limits
c chart limits (defects per unit)
p chart limits (fraction defective)
Regression and correlation
Confidence interval for a correlation (Fisher z)
Covariance
Durbin-Watson statistic
Kendall's tau-b rank correlation
Multiple linear regression
Pearson correlation coefficient
Prediction from a least squares line
Significance test for a correlation coefficient
Simple linear regression (least squares line)
Spearman rank correlation
Reliability and survival
Exponential reliability (constant failure rate)
Kaplan-Meier survival estimate
Log-rank test comparing two survival curves
Reliability of a parallel system
Reliability of a series system
Weibull reliability, hazard rate and MTTF
k-out-of-n system reliability
Sampling distributions
Probability that a sample mean is above a value
Probability that a sample mean is below a value
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified statistics capabilities, and any question whose stated numbers it cannot all use — it refuses with the reason instead.
- High-stakes engineering, medical or legal decisions without independent review.
Limitations
- It answers what its certified capabilities cover (descriptive statistics, probability distributions, confidence intervals, hypothesis tests, regression and correlation, experimental design, quality control and reliability); anything else is refused with a reason.
ask()reads documented question forms and common phrasings; unusual wording may be refused — usesolve()for guaranteed results.- Results are as correct as the certified relations and their stated conditions; a certified relation is a checked model, not a claim about every physical situation.
Citation
@software{statistics_ai999x_1_0_0,
title = {statistics-ai999x: an offline, verified statistics solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/statistics-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/statistics-ai999x/discussions or visit https://ai999x.com.
Support the project
statistics-ai999x is free and open source. If it helps you, you can support further development on Buy Me a Coffee.
Created and engineered by Ibnul Jaif Farabi · AI999X · ai999x.com
- Downloads last month
- 15
Collections including AI999X/statistics-ai999x
Evaluation results
- identical on every platform on Golden answers (609 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000