Methodology

How ATARS turns data into defensible insight

On this page

1 · The analytics workflow 2 · Dataset understanding 3 · Data quality & cleaning 4 · Statistical analysis 5 · Machine learning & AutoML 6 · Explainability 7 · Forecasting 8 · Querying, SQL & combining 9 · Business analytics 10 · Verifying every number 11 · What the AI analyst is taught 12 · How the calculations are checked 13 · Assumptions & limits

1 · The analytics workflow

Every dataset moves through the same transparent pipeline so results are reproducible and auditable: understand → audit → clean → explore → model → explain → forecast → simulate → report. You can branch or export at any step; nothing is a black box.

2 · Dataset understanding

On load, ATARS profiles every column — type, cardinality, missingness, distribution — and resolves common semantic aliases (e.g. rev→revenue, qty→quantity). It infers the likely problem type (classification, regression, forecasting or clustering), candidate target and feature columns, and recommends a workflow and models.

3 · Data quality & cleaning

A quality auditor produces a readiness score from completeness, consistency, duplication, outliers and class balance, and flags potential data leakage and bias. Cleaning operations — imputation, de-duplication, outlier handling, type conversion, encoding and scaling — are applied transparently and recorded in an audit log so every transformation is traceable.

Number parsing handles currency symbols, Indian crore and lakh, European decimals (1.234,56) and accounting negatives ((500)), and duplicate category spellings such as "Male", "male" and "MALE" are merged into one level. By default, missing numbers are filled with the median and missing categories with the most common value, and each fill is counted in the log. From version 5.5, ATARS will not impute a column that is more than half empty — filling it would make a mostly unknown column look fully measured — and never fills free-text columns with a repeated value; the log names every column it left untouched and why.

4 · Statistical analysis

Hypothesis testing and inference use standard, peer-reviewed methods from statsmodels and scipy: t-tests, z-tests, ANOVA, chi-square, correlation and normality tests, non-parametric tests (e.g. Mann-Whitney, Kruskal-Wallis), variance analysis, confidence intervals and assumption diagnostics. Test choice and assumptions are surfaced alongside results, and when you combine datasets ATARS checks whether branches differ significantly (ANOVA, Kruskal-Wallis and pairwise t-tests) rather than by chance.

5 · Machine learning & AutoML

Models cover regression, classification and clustering, built with scikit-learn — Random Forest, Gradient Boosting, SVM and linear families among them. ATARS uses train/validation splits and leakage-safe cross-validation, reports the appropriate metrics (R², MAE, RMSE for regression; accuracy, precision, recall, F1 for classification), and the AutoML engine trains several candidates, tunes them and ranks a leaderboard to select the best — with a Fast mode that samples large data for a quick ranking and a Full-accuracy mode that trains on every row, plus a live progress view. Trained models support single and batch prediction.

6 · Explainability

Predictions are explained with SHAP (SHapley Additive exPlanations), giving both global feature importance and local, per-prediction contribution breakdowns. This is what lets you see why a model produced a result, not just what it produced.

7 · Forecasting

Time-series forecasting uses classical, well-understood methods (e.g. ARIMA and Holt-Winters exponential smoothing) to capture trend and seasonality, and reports confidence intervals so uncertainty is explicit rather than hidden.

8 · Querying, SQL & combining

SQL Lab runs full SQL against your data with DuckDB — joins, window functions, CTEs and aggregations — so you can reshape, filter and aggregate exactly how you want, then promote a query result back into the working dataset. Multiple files can be combined by stacking rows or joining on a detected key, and every branch can be compared side by side.

9 · Business analytics

Beyond generic charts, ATARS includes the metrics teams report on: cohort & retention analysis, RFM (Recency, Frequency, Monetary) customer segmentation, and time-series decomposition into trend, seasonality and residual components — each computed transparently from your own columns.

10 · Verifying every number

An analysis is only defensible if its figures can be re-derived. ATARS keeps the working behind the numbers it reports:

11 · What the AI analyst is taught

Aryabhata does not improvise its method. Every written answer is assembled from three things, in this order: method — how a careful analyst works and what they refuse to claim; practice — the passages from ATARS's knowledge base that bear on this particular question; and facts — the numbers ATARS computed from your data. The facts are the only source of numbers: the model writes the explanation, it does not do the arithmetic.

The knowledge base is 18 short notes on statistical method, written for ATARS and drawing on the published works cited below. For each question, the notes that apply are found by a search that runs on your own computer, with no internet needed.

What these notes are, and are not. They are ATARS's own summaries of established method, each naming the work it draws on so you can follow the citation to the source. The authors listed wrote those works; they are not affiliated with ATARS and have not reviewed or endorsed it. The notes guide how the AI reasons — they do not make it infallible, so check any answer that a decision depends on.

12 · How the calculations are checked

A method is only as good as its arithmetic. ATARS runs a correctness benchmark that compares its own results with the standard scientific libraries — pandas, NumPy, scikit-learn and SciPy — on data built with properties that are known in advance. 14 of 14 checks pass on the current code.

Exact agreement with a reference library

These compare a number ATARS computes with the same number from an established library. The only differences are floating-point rounding.

CheckResult
✅The data-quality score equals its published formula
quality_score == reference formula
atars=96.666667 ref=96.666667
✅Mean equals pandas
stats.mean == pandas.mean
atars=995.1849 ref=995.1849
✅Median equals pandas
stats.median == pandas.median
atars=995.095 ref=995.095
✅Grouped totals equal a pandas group-by sum
aggregate(Sum) == pandas groupby-sum
max_abs_err=2.33e-10
✅The DuckDB engine agrees with pandas across six aggregations
DuckDB aggregate == pandas aggregate (6 aggs)
max_abs_err=1.02e-08

Correct behaviour where the answer is known

These build data with a known answer — duplicates, clusters, outliers, a leaking column, a learnable pattern — and check that ATARS finds it. They show the method behaves correctly; they are not a comparison of every digit.

CheckResult
✅Cleaning removes exact duplicate rows
clean_data removes exact duplicates
before=5100 after=4978
✅Cleaning never increases the number of missing values
clean_data reduces/holds null count
nulls before=201 after=0
✅Cleaning records every step it took
clean_data emits an audit trail
steps=11
✅PCA reports valid explained variance
PCA explained-variance in [0,1] and sums<=1
ratios=[0.951, 0.049]
✅K-means finds two clusters that were built into the data
KMeans recovers 2 separated clusters (silhouette>0.6)
silhouette=0.791
✅Anomaly detection flags outliers that were planted in the data
IsolationForest flags injected outliers
—
✅Feature importance ranks a real signal above random noise
feature_importance ranks signal above noise
—
✅The leakage check catches a column that copies the answer
leakage detector catches identical-to-target column
—
✅AutoML reaches over 90% accuracy where the answer is learnable
AutoML best model >0.9 accuracy on separable data
best=GradientBoosting acc=1.0

Beyond the benchmark. More than 900 automated tests run against the engine, including parity tests that fail if a core calculation silently changes its result. Separately, every tracked figure in your own analysis keeps a receipt and is re-derived from your data when you export (section 10).

What this proves, and what it does not. These checks cover ATARS's core calculations, not every result the app can produce. They are run by the developer, not by an independent auditor. Agreement with pandas, NumPy, scikit-learn and SciPy shows ATARS computes what those libraries compute; it does not guarantee that a method was the right one for your data. That judgement stays with you.

13 · Assumptions & limits

ATARS automates analysis but does not replace domain judgement. Results depend entirely on the quality and representativeness of your data. Statistical tests carry assumptions (normality, independence, sample size); forecasts assume past patterns continue; correlation is not causation. Always review outputs in context before making decisions.

⬇ Download ATARS — Free🛍️ Microsoft Store

Prefer the command line? pip install atars installs the free terminal edition on Windows, macOS and Linux — same engine, but a smaller, limited version of the app. Read the terminal-edition guide →