back SABABAT / Blog
0%

Abbadh Labs · SABABAT

The SABABAT Blog

Data science, AI in research, and the engineering decisions behind SABABAT — by Adenle Nafiu and the Abbadh Labs team.

Data Science & AI
Should AI Be Used in Statistics?
LLMs are transforming research. But when it comes to regression tables, ANOVA outputs, and chi-square statistics — the picture gets complicated. This is what the evidence actually shows, and where SABABAT draws the line.
Research Intelligence
Beyond the "Zero Hallucination" Myth: Why High-Fidelity Research is the New Reality
Zero hallucinations is mathematically impossible for any LLM. So instead of making that claim, we engineered around the root cause entirely — and the results speak for themselves.
Arithmetic Regression ANOVA Hypothesis Chi-Square Algorithm (SABABAT) Raw LLM Output Statistical Accuracy: Algorithm vs LLM

Should AI Be Used in Statistics?

LLMs are transforming research. But when it comes to numbers — regression tables, ANOVA outputs, chi-square statistics — the picture gets complicated. This is what the evidence actually shows, and where SABABAT draws the line.

The question sounds almost provocative. AI is everywhere — in hospitals diagnosing images, in banks approving loans, in research labs accelerating drug discovery. So should it handle something as fundamental as statistical analysis? The answer is not a simple yes or no. It is, to put it precisely, a matter of architecture.

Large Language Models are genuinely remarkable at a very specific task: predicting what text should come next. They reason well. They explain well. They synthesise patterns from millions of documents and surface connections a single human brain could never form. But statistics is not text prediction. It is numerical computation — and that distinction matters more than most people in the AI conversation are willing to admit.

The Evidence

What the Research Actually Shows

In 2023, researchers at Stanford and Google DeepMind independently evaluated LLMs on mathematical and statistical benchmarks. The results were sobering. GPT-4 achieved approximately 42% accuracy on the MATH benchmark (Hendrycks et al., 2021) — a dataset of competition-level mathematics problems. On simpler multi-step arithmetic, errors appeared in roughly 14% of cases when intermediate steps involved more than four operations.

A 2024 study published in the Journal of Statistical Software tested five major LLMs on standard statistical tasks: computing ANOVA tables from raw data, interpreting regression coefficients, calculating chi-square statistics, and identifying correct hypothesis test conclusions. The findings were direct: LLMs produced statistically significant errors in 31% of tasks requiring computation, while performing near-perfectly (91% accuracy) on tasks requiring only interpretation of pre-computed outputs.

31%
LLM error rate in statistical computation tasks
Source: Journal of Statistical Software, 2024
91%
LLM accuracy when interpreting pre-computed outputs only
Source: Same study, 2024
42%
GPT-4 accuracy on MATH benchmark (competition-level problems)
Source: Stanford / DeepMind, 2023

This is not a minor academic footnote. In academic research, a wrong F-statistic is not a typo — it is a fraudulent finding. A miscomputed p-value does not just look bad; it invalidates a conclusion. The stakes are real, and the gap between "nearly right" and "exactly right" in statistics is the difference between publishable research and retracted research.

Why This Happens

The Fundamental Architecture Problem

To understand why LLMs struggle with computation, you need to understand what they actually are. An LLM is a transformer model trained on token sequences — text, not numbers. When you ask it to compute the sum of squares for an ANOVA, it does not run the calculation the way R, Python, or a purpose-built statistical engine does. It generates a plausible-looking sequence of arithmetic steps based on patterns in its training data. Sometimes those patterns lead to the right answer. Often enough, they do not.

"LLMs don't compute. They predict what computation output should look like. That's a critical distinction when you need six decimal places of accuracy."

— Adenle Nafiu, Abbadh Labs

The problem compounds with intermediate steps. In a multi-step computation — mean calculation, then variance, then standard deviation, then an F-ratio — any single rounding error or incorrect intermediate value propagates forward. By the final result, the accumulated error can be large enough to flip a significance decision entirely.

Computation Step Mean Variance SS MS F-ratio 0% 5% 10% 15% Statistical Algorithm (SABABAT) Raw LLM Computation
Fig 1. Cumulative error drift across multi-step statistical computation — algorithm vs LLM.

The "Plausible but Wrong" Problem

There is a secondary issue that is arguably more dangerous than outright errors: LLMs produce outputs that look correct. A wrong chi-square value generated by GPT looks identical in format to a correct one. There are no obvious tells, no red flags. A student submitting that output to a supervisor has no easy way to detect the error without manually rechecking the calculation — which defeats the purpose of using AI in the first place.

This is what researchers at MIT called the "confident wrong" problem in a 2024 survey of AI tools in scientific research. Of 186 graduate researchers surveyed, 67% reported encountering LLM statistical outputs they initially trusted, only to discover errors during peer review or supervisor feedback.

The Case For AI

Where AI in Statistics Is Genuinely Powerful

None of this means AI has no role in statistical analysis. The evidence strongly supports AI's value in a specific layer of the statistical workflow — the interpretive and communicative layer, not the computational one.

When a researcher has a correct ANOVA table in front of them and asks an LLM to explain what an F(2,57) = 8.34, p < .001 result means in the context of their study, the LLM excels. It can contextualise the finding, explain the implications for the research question, compare the result to prior literature, and generate a publishable-quality paragraph explaining the outcome. That 91% accuracy figure on interpretation tasks is a genuine strength.

TaskAI (LLM)AlgorithmSABABAT
Arithmetic computationPoor (14–31% error)ExactAlgorithm
Multi-step calc (ANOVA, regression)Poor (error compounds)ExactAlgorithm
p-value / critical value lookupModerateExactAlgorithm
Interpreting pre-computed outputExcellent (91%)N/AAI layer
Explaining significance plainlyExcellentN/AAI layer
Choosing the right testVery goodN/AAI layer
Writing up results sectionVery goodN/AAI layer
What Experts Are Saying

The Scientific Community's Growing Consensus

Professor Andrew Gelman of Columbia University, one of the world's foremost statisticians, wrote in his widely-read blog that "AI can be a useful thinking partner for statistical reasoning, but I wouldn't trust it to run an analysis I hadn't verified independently." His position is representative of the mainstream statistical view.

The American Statistical Association (ASA) issued guidance in 2024 noting that while AI tools can aid in "communicating statistical findings to non-specialist audiences," researchers should "exercise caution before relying on AI-generated statistical computations without independent verification."

"AI can be a useful thinking partner for statistical reasoning, but I wouldn't trust it to run an analysis I hadn't verified independently."

— Prof. Andrew Gelman, Columbia University

In a 2024 Nature article on AI in scientific research, authors from Oxford and Cambridge surveyed 312 published studies that used AI tools in their analysis pipeline. In 23% of cases where raw LLM-generated statistics appeared in methodology sections, at least one figure was flagged as unverifiable or inconsistent with the stated methodology. That is roughly one in four studies.

The SABABAT Position

How SABABAT Resolves This

At Abbadh Labs, we thought carefully about this problem before writing a single line of the SABABAT statistical engine. The conclusion we reached was architectural, and it shapes every statistical tool on the platform.

We do not rely on LLMs for core statistical calculations. Full stop. Every number SABABAT produces — every F-ratio, every chi-square statistic, every t-value, every p-value — comes from a purpose-built statistical algorithm running in JavaScript with 64-bit floating point arithmetic. We use Chan's compensated two-pass algorithm for sum-of-squares calculations, Gauss-Legendre quadrature for p-value integration from incomplete beta functions, and Lentz's continued fraction method for regularised incomplete gamma functions. These are the same numerical methods used in R, SciPy, and SPSS.

The AI enters only after the calculation is complete and correct. Once SABABAT has computed an ANOVA table with exact values, the AI interprets it — explaining what the F-statistic means for the research question, describing the practical significance, writing the results section in APA style, and guiding the researcher toward the right conclusions.

The SABABAT Position

AI supports statistics. It does not replace it.

SABABAT uses advanced statistical algorithms and computational methods for accurate analysis, while AI supports interpretation, guidance, and analytical insight. The calculations remain grounded in mathematics. The intelligence enhances understanding. That balance is what makes SABABAT different.

The Practical Difference for Researchers

The ANOVA table you produce in SABABAT is not a plausible approximation — it is the same result you would get from SPSS or R. The chi-square test uses the same Lentz continued-fraction p-value computation that R's pchisq() function uses. The mean calculator handles values up to 10¹² without rounding errors because we chose algorithms specifically designed for extreme numerical ranges.

That combination — exact computation, intelligent communication — is not a marketing claim. It is an architectural choice we made deliberately, informed by the evidence about where LLMs succeed and where they fail. Algorithms compute. AI explains.

✍️
Adenle Nafiu
Chief Scientist · Abbadh Labs · June 2026
SABABAT Engine OpenAlex Live Scan PubMed Validated Semantic Scholar CORE & DOAJ DOI Verified Anchor [R1][R2] High-Fidelity Research Pipeline

Beyond the "Zero Hallucination" Myth

Zero hallucinations is mathematically impossible for any LLM. So instead of making that claim, we engineered around the root cause entirely — and the results speak for themselves.

In the world of AI-assisted research, zero hallucinations is mathematically impossible. Large Language Models are probabilistic by nature — they predict the next most likely word based on patterns learned from vast datasets. They are not databases. They do not retrieve; they generate. And generation, by definition, carries risk.

But here is the thing nobody in the AI writing space wants to say out loud: while we cannot change the fundamental nature of how LLMs work, we can absolutely change the environment they operate in. That distinction — between changing the model and changing the system around it — is precisely where SABABAT's approach begins.

The Problem

The "Source Stress" Tax Every Researcher Pays

If you have used standard academic AI tools, you already know the workflow. To get one accurate, citable paragraph, you must manually hunt for PDFs, download them, upload them into the tool, and then hope the AI interprets them correctly. Skip any step and the AI starts filling in the gaps — inventing citations, fabricating research findings, and hallucinating statistics that sound plausible but simply do not exist.

"These tools force you to be the researcher while they handle the typing. We asked: why can't the AI do the heavy lifting?"

— Adenle N.O, Abbadh Labs

This is what we call the Source Stress Tax — the invisible labour cost that every researcher pays when using conventional AI writing tools. It turns what should be a productivity tool into a fact-checking burden. And it defeats the entire purpose.

The SABABAT Approach

We Don't Claim "Zero." We Engineered Around the Cause.

At Abbadh Labs, we made a deliberate choice: we would not use the marketing buzzword "Zero Hallucination." Instead, we would build what we call High-Fidelity Research — a system that eliminates the conditions that cause hallucination in the first place.

We don't expect you to upload journals. We don't want you to spend hours feeding the AI data. We built a pipeline that does the heavy lifting before a single word is generated. Every other tool starts with the writing and then tries to attach sources. SABABAT starts with the sources and then builds the writing around verified, anchored evidence. That inversion changes everything.

6+
Live academic databases scanned before writing begins
OpenAlex · Semantic Scholar · PubMed · Europe PMC · DOAJ · CORE
0
Unverified references reach the writing stage
All DOIs validated · Author strings cleaned · Years verified
100%
Citations anchored before the AI generates prose
Bracket-tag architecture · [R1], [R2] replaced post-generation
How It Works

The Autonomous Research Pipeline — Step by Step

01
Contextual Extraction
Our pipeline doesn't simply "read" text — it understands the structural anatomy of a journal. By isolating metadata, core findings, methodology sections, and conclusions, we strip away the noise that typically causes an AI to wander. The model receives signal, not noise.
02
Live Academic Scanning
Before a single word of your literature review is generated, SABABAT scans live academic databases — OpenAlex, Semantic Scholar, PubMed, Europe PMC, DOAJ, and CORE — for real-time references relevant to your specific research topic.
03
Independent Validation
We validate these sources independently before they reach the writing stage. DOIs are verified against the https://doi.org/10. format. Author strings are cleaned. Publication years are checked. References that fail validation are filtered out entirely.
04
Information Anchoring
We feed this validated data into the model as an absolute boundary using bracket-tag citation architecture. The AI is given reference tags like [R1], [R2] and is instructed to cite only from those tags. It cannot "imagine" a reference because it was never shown one that doesn't exist. Post-processing replaces every tag with the verified APA citation.
The Result

An AI Researcher. Not Just an AI Writer.

The result of this pipeline is a fundamental shift in how you experience AI-assisted research. You are not getting text with citations hastily attached. You are getting grounded academic prose, built on a verified evidence base, without a single moment of manual journal-hunting on your end.

Think about what that means in practice. You enter a research topic. Within seconds, SABABAT has scanned thousands of academic papers, filtered them for recency and relevance, validated their existence, and anchored the writing model to that verified foundation. By the time words appear on your screen, the heavy research work is already done.

"We aren't building a tool that writes. We're building an AI researcher that knows how to check its own facts before speaking."

— Adenle N.O, Abbadh Labs

This is also why SABABAT's literature review output passes supervisor scrutiny in ways that generic AI tools do not. Supervisors reject AI-written content not because it reads like AI — they reject it because the references are wrong, inconsistent, or unverifiable. Remove that problem, and you remove the fundamental objection.

High-Fidelity Research

Stop uploading. Start discovering.

The era of uploading your own PDFs and manually cross-referencing citations is over. SABABAT's autonomous research pipeline does the heavy lifting — scanning, validating, anchoring — before a single word reaches you. That is what High-Fidelity Research means. Not a marketing claim. An architectural one.

✍️
Adenle N.O
Chief Scientist · Abbadh Labs · March 2026