omnistats 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- omnistats-0.4.0/.gitignore +36 -0
- omnistats-0.4.0/.pre-commit-config.yaml +21 -0
- omnistats-0.4.0/CHANGELOG.md +60 -0
- omnistats-0.4.0/CITATION.cff +18 -0
- omnistats-0.4.0/CODE_OF_CONDUCT.md +28 -0
- omnistats-0.4.0/CONTRIBUTING.md +39 -0
- omnistats-0.4.0/LICENSE +176 -0
- omnistats-0.4.0/PKG-INFO +171 -0
- omnistats-0.4.0/README.md +118 -0
- omnistats-0.4.0/SECURITY.md +14 -0
- omnistats-0.4.0/benchmarks/bench_kernels.py +64 -0
- omnistats-0.4.0/docs/api/reference.md +50 -0
- omnistats-0.4.0/docs/getting-started/quickstart.md +61 -0
- omnistats-0.4.0/docs/index.md +33 -0
- omnistats-0.4.0/docs/theory/statistical-rigor.md +31 -0
- omnistats-0.4.0/mkdocs.yml +45 -0
- omnistats-0.4.0/omnistats/__init__.py +113 -0
- omnistats-0.4.0/omnistats/__main__.py +10 -0
- omnistats-0.4.0/omnistats/accessor.py +7 -0
- omnistats-0.4.0/omnistats/cli/__init__.py +7 -0
- omnistats-0.4.0/omnistats/cli/app.py +110 -0
- omnistats-0.4.0/omnistats/core/__init__.py +128 -0
- omnistats-0.4.0/omnistats/core/base.py +55 -0
- omnistats-0.4.0/omnistats/core/constants.py +24 -0
- omnistats-0.4.0/omnistats/core/dataframe.py +68 -0
- omnistats-0.4.0/omnistats/core/errors.py +73 -0
- omnistats-0.4.0/omnistats/core/fmt.py +148 -0
- omnistats-0.4.0/omnistats/core/guards.py +181 -0
- omnistats-0.4.0/omnistats/core/plotting.py +312 -0
- omnistats-0.4.0/omnistats/core/results/__init__.py +16 -0
- omnistats-0.4.0/omnistats/core/results/apa.py +98 -0
- omnistats-0.4.0/omnistats/core/results/eda.py +188 -0
- omnistats-0.4.0/omnistats/core/results/inference.py +296 -0
- omnistats-0.4.0/omnistats/core/results/regression.py +110 -0
- omnistats-0.4.0/omnistats/core/roles.py +88 -0
- omnistats-0.4.0/omnistats/core/types.py +158 -0
- omnistats-0.4.0/omnistats/eda/__init__.py +33 -0
- omnistats-0.4.0/omnistats/eda/io.py +69 -0
- omnistats-0.4.0/omnistats/eda/profile.py +106 -0
- omnistats-0.4.0/omnistats/eda/quality.py +78 -0
- omnistats-0.4.0/omnistats/eda/rel.py +91 -0
- omnistats-0.4.0/omnistats/eda/roles.py +7 -0
- omnistats-0.4.0/omnistats/functional/__init__.py +185 -0
- omnistats-0.4.0/omnistats/functional/adjust.py +158 -0
- omnistats-0.4.0/omnistats/functional/bayes.py +141 -0
- omnistats-0.4.0/omnistats/functional/checks.py +209 -0
- omnistats-0.4.0/omnistats/functional/correlation.py +181 -0
- omnistats-0.4.0/omnistats/functional/effects.py +336 -0
- omnistats-0.4.0/omnistats/functional/equivalence.py +73 -0
- omnistats-0.4.0/omnistats/functional/posthoc.py +178 -0
- omnistats-0.4.0/omnistats/functional/resample.py +169 -0
- omnistats-0.4.0/omnistats/functional/rm.py +88 -0
- omnistats-0.4.0/omnistats/functional/robust.py +140 -0
- omnistats-0.4.0/omnistats/functional/survival.py +175 -0
- omnistats-0.4.0/omnistats/functional/tests.py +346 -0
- omnistats-0.4.0/omnistats/functional/timeseries.py +149 -0
- omnistats-0.4.0/omnistats/integrations/__init__.py +34 -0
- omnistats-0.4.0/omnistats/integrations/pandas.py +110 -0
- omnistats-0.4.0/omnistats/integrations/plotting.py +174 -0
- omnistats-0.4.0/omnistats/integrations/polars.py +105 -0
- omnistats-0.4.0/omnistats/models/__init__.py +26 -0
- omnistats-0.4.0/omnistats/models/anova_table.py +142 -0
- omnistats-0.4.0/omnistats/models/causal.py +239 -0
- omnistats-0.4.0/omnistats/models/formula.py +156 -0
- omnistats-0.4.0/omnistats/models/glm.py +167 -0
- omnistats-0.4.0/omnistats/models/logistic.py +128 -0
- omnistats-0.4.0/omnistats/models/mixed.py +196 -0
- omnistats-0.4.0/omnistats/models/ols.py +158 -0
- omnistats-0.4.0/omnistats/models/survival.py +234 -0
- omnistats-0.4.0/omnistats/py.typed +1 -0
- omnistats-0.4.0/omnistats/stat/__init__.py +56 -0
- omnistats-0.4.0/omnistats/stat/compare.py +341 -0
- omnistats-0.4.0/omnistats/stat/equivalence.py +68 -0
- omnistats-0.4.0/omnistats/stat/power.py +9 -0
- omnistats-0.4.0/omnistats/stat/regression.py +7 -0
- omnistats-0.4.0/omnistats/stat/router/__init__.py +27 -0
- omnistats-0.4.0/omnistats/stat/router/k_sample.py +301 -0
- omnistats-0.4.0/omnistats/stat/router/normality.py +58 -0
- omnistats-0.4.0/omnistats/stat/router/two_sample.py +331 -0
- omnistats-0.4.0/omnistats/stat/screen.py +178 -0
- omnistats-0.4.0/pyproject.toml +179 -0
- omnistats-0.4.0/pyscio/__init__.py +26 -0
- omnistats-0.4.0/scripts/check_module_size.py +138 -0
- omnistats-0.4.0/tests/__init__.py +1 -0
- omnistats-0.4.0/tests/conftest.py +33 -0
- omnistats-0.4.0/tests/test_cli.py +60 -0
- omnistats-0.4.0/tests/test_core.py +320 -0
- omnistats-0.4.0/tests/test_ecosystem_extras.py +203 -0
- omnistats-0.4.0/tests/test_eda.py +181 -0
- omnistats-0.4.0/tests/test_features_f1_f6.py +185 -0
- omnistats-0.4.0/tests/test_functional.py +271 -0
- omnistats-0.4.0/tests/test_fuzz.py +108 -0
- omnistats-0.4.0/tests/test_phase7.py +321 -0
- omnistats-0.4.0/tests/test_public_api.py +190 -0
- omnistats-0.4.0/tests/test_r_parity.py +119 -0
- omnistats-0.4.0/tests/test_scaffolding.py +31 -0
- omnistats-0.4.0/tests/test_stat.py +283 -0
- omnistats-0.4.0/tests/test_survival_causal_timeseries.py +148 -0
- omnistats-0.4.0/uv.lock +2462 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Internal Framework Specs & Agent Skills (NEVER push to GitHub)
|
|
2
|
+
framework_specs/
|
|
3
|
+
scio-framework-specs/
|
|
4
|
+
.agent/
|
|
5
|
+
|
|
6
|
+
# Byte-compiled / optimized / DLL files
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
*$py.class
|
|
10
|
+
|
|
11
|
+
# Distribution / packaging
|
|
12
|
+
dist/
|
|
13
|
+
build/
|
|
14
|
+
*.egg-info/
|
|
15
|
+
.eggs/
|
|
16
|
+
|
|
17
|
+
# Unit test / coverage / type-check caches
|
|
18
|
+
.pytest_cache/
|
|
19
|
+
.coverage
|
|
20
|
+
coverage.xml
|
|
21
|
+
htmlcov/
|
|
22
|
+
.mypy_cache/
|
|
23
|
+
.ruff_cache/
|
|
24
|
+
.hypothesis/
|
|
25
|
+
|
|
26
|
+
# Virtual environments
|
|
27
|
+
.venv/
|
|
28
|
+
venv/
|
|
29
|
+
env/
|
|
30
|
+
|
|
31
|
+
# IDE / OS
|
|
32
|
+
.vscode/
|
|
33
|
+
.idea/
|
|
34
|
+
.DS_Store
|
|
35
|
+
Thumbs.db
|
|
36
|
+
*.gdoc
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-toml
|
|
9
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
10
|
+
rev: v0.9.0
|
|
11
|
+
hooks:
|
|
12
|
+
- id: ruff
|
|
13
|
+
args: [--fix]
|
|
14
|
+
- id: ruff-format
|
|
15
|
+
- repo: local
|
|
16
|
+
hooks:
|
|
17
|
+
- id: check-module-size-and-layers
|
|
18
|
+
name: Check module size budgets and layer contracts
|
|
19
|
+
entry: python scripts/check_module_size.py
|
|
20
|
+
language: system
|
|
21
|
+
pass_filenames: false
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to **`omnistats`** are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.4.0] - 2026-11-04
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **Official Rebranding to `omnistats`:**
|
|
12
|
+
- Package renamed to **`omnistats`** on PyPI (`pip install omnistats`).
|
|
13
|
+
- Primary namespace: `import omnistats as os` or `import omnistats as omni`, with `import omnistats.functional as F`.
|
|
14
|
+
- Added full backwards-compatibility shim for `pyscio` (`import pyscio as sc` continues to work with a deprecation notice).
|
|
15
|
+
- DataFrame accessors registered under both `df.omni` (primary) and `df.scio` (alias) across Pandas and Polars.
|
|
16
|
+
|
|
17
|
+
## [0.3.0] - 2026-11-04
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **Survival & Time-to-Event Analysis (S1 — `F.kaplan_meier`, `F.logrank_test`, `sc.coxph`):**
|
|
21
|
+
- Kaplan-Meier product-limit survival estimator (`F.kaplan_meier`) with Greenwood variance, Kalbfleisch-Prentice $[0, 1]$ log-log confidence intervals, and median survival time.
|
|
22
|
+
- Mantel-Cox Log-Rank test (`F.logrank_test`) for right-censored survival comparisons with Mantel-Haenszel Hazard Ratios.
|
|
23
|
+
- Cox Proportional Hazards regression (`sc.coxph(df, "Surv(time, event) ~ x1 + x2")`, `df.scio.coxph`, and automatic `sc.compare(df, "Surv(time, event) ~ ...")` routing) via Breslow partial likelihood Newton-Raphson with Hazard Ratios ($\text{HR} = \exp(\beta)$) and Harrell's Concordance Index ($C$-statistic).
|
|
24
|
+
- **Causal Inference & Propensity Adjustment (S2 — `sc.ate`, `sc.covariate_balance`):**
|
|
25
|
+
- Robins-Rotnitzky-Zhao **Doubly Robust Augmented Inverse Probability Weighting (`sc.ate(method="aipw")`)** and **Hajek IPTW (`sc.ate(method="iptw")`)** with semiparametric influence-function standard errors and positivity overlap guards.
|
|
26
|
+
- Standardized Mean Difference covariate balance auditing (`sc.covariate_balance`, `df.scio.covariate_balance`) comparing unweighted vs. propensity-weighted $|\text{SMD}| < 0.10$.
|
|
27
|
+
- **Time-Series Stationarity, Autocorrelation, & HAC Standard Errors (S3 — `F.adf_test`, `F.ljung_box`, `F.durbin_watson`, `sc.ols(robust_se="HAC")`):**
|
|
28
|
+
- Augmented Dickey-Fuller (`F.adf_test`) unit-root test with Schwert lag selection and MacKinnon response-surface $p$-values.
|
|
29
|
+
- Ljung-Box portmanteau serial autocorrelation test (`F.ljung_box`) and Durbin-Watson residual autocorrelation statistic (`F.durbin_watson`).
|
|
30
|
+
- Newey-West Heteroscedasticity and Autocorrelation Consistent (**HAC**) Bartlett-kernel covariance estimator in `sc.ols(..., robust_se="HAC", hac_lags=...)`.
|
|
31
|
+
|
|
32
|
+
## [0.2.0] - 2026-11-04
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
- **5-Layer Modular Architecture & Enforcement (R0–R6):** Split large modules into `omnistats/core/results/`, `omnistats/models/`, `omnistats/stat/router/`, and `omnistats/integrations/`, enforced by `scripts/check_module_size.py --strict` in CI.
|
|
36
|
+
- **Lazy Package Startup (PEP 562, R5/R8):** `import omnistats` loads submodules on demand via `importlib.import_module` with `globals()` caching.
|
|
37
|
+
- **Distributional Pathology Guards (`F.check_pathology`, `F.sarle_bimodality`):** Screens for point-mass/zero-inflation ($\ge 30\%$ ties), heavy-tailed/Cauchy regimes ($\text{SD}/(\text{IQR}/1.34898) > 2.2$), and bimodal mixtures (Sarle's $BC > 0.555$) before permitting Large-$N$ CLT overrides.
|
|
38
|
+
- **Exact Non-Central $t$ Effect Size Confidence Intervals (`F.cohen_d_ci`, `F.hedges_g_ci`, `F.cliffs_d_ci`):** Populates `TestResult.effect_ci` across two-sample, paired, and one-sample designs.
|
|
39
|
+
- **Tensor-Broadcasted Post-Hoc Pairwise Algorithms (`F.tukey`, `F.games_howell`, `F.dunn`):** Replaced Python pair loops with `np.triu_indices` upper-triangle tensor broadcasting and `np.add.reduceat`.
|
|
40
|
+
- **Wilkinson Formula Engine & Multivariate Models (`sc.ols`, `sc.logistic`, `sc.poisson`, `sc.anova_table`, `sc.mixedlm`):**
|
|
41
|
+
- Ordinary Least Squares (`sc.ols`) with QR decomposition and MacKinnon-White HC0–HC3 robust standard errors.
|
|
42
|
+
- Type II & Type III Factorial ANOVA / ANCOVA tables (`sc.anova_table`) with partial $\eta_p^2$ and $\omega^2$.
|
|
43
|
+
- Binary Logistic Regression (`sc.logistic`) via Newton-Raphson IRLS with Odds Ratios.
|
|
44
|
+
- Poisson Log-Linear GLM (`sc.poisson`) via IRLS with QMLE HC3 sandwich SEs, Incidence Rate Ratios ($\text{IRR}$), and Pearson overdispersion diagnostics.
|
|
45
|
+
- Linear Mixed-Effects Models (`sc.mixedlm` and `sc.compare(df, "y ~ x + (1 | cluster)")`) via exact Profiled REML / ML with QR whitening, Intraclass Correlation Coefficient ($\text{ICC}$), and Nakagawa's Marginal ($R^2_m$) & Conditional ($R^2_c$) $R^2$.
|
|
46
|
+
- **Resampling, Equivalence, & Robust Statistics:** Added `F.permutation_test`, `F.bootstrap_ci` ($BC_a$), `sc.tost` / `F.tost`, `F.trimmed_mean`, `F.winsorized_mean`, `F.huber_location`, and `F.yuen_t`.
|
|
47
|
+
- **Complete Correlation Suite (`F.pearson_r`, `F.spearman_r`, `F.kendall_tau`, `F.partial_corr`):** `sc.compare(df, x="num1", y="num2")` automatically routes continuous-vs-continuous pairs to Pearson $r$ or Spearman $\rho$ with exact $z$-transformed CIs; added Kendall's $\tau_b$ and QR-projected partial correlation.
|
|
48
|
+
- **Paired Categorical & Repeated-Measures K-Sample (`F.mcnemar`, `F.rm_anova`, `F.friedman`, `F.kendalls_w`):** Added exact/asymptotic McNemar test for paired $2\times 2$ tables and autonomous repeated-measures routing (`sc.compare(df, x="condition", y="score", paired=True)`) between One-Way Repeated-Measures ANOVA (with Greenhouse-Geisser sphericity adjustment $\hat{\varepsilon}_{GG}$) and Friedman's test (with Kendall's $W$).
|
|
49
|
+
- **Default Bayes Factors (`F.bayes_factor_t`, `F.interpret_bf`):** Added Rouder's JZS (Jeffreys-Zellner-Siow) Bayes Factor ($BF_{10}$ and $BF_{01}$) for one-sample, paired, and two-sample $t$-tests via 1D Gaussian quadrature.
|
|
50
|
+
- **APA 7th Edition Reporting (`.apa()`):** Added `.apa()` and `summary(format="apa")` to `TestResult` and `RegressionResult`.
|
|
51
|
+
- **Bidirectional Power & Sample Size Solver (`sc.solve_power`, `F.solve_power_t`):** Solves for required sample size $n$ per group, statistical power, or minimum detectable effect size $d$.
|
|
52
|
+
- **Ecosystem Extras (`omnistats[plot]`, `omnistats[polars]`):**
|
|
53
|
+
- Dual-backend `.plot()` method on `TestResult`, `RegressionResult`, `ScreenReport`, and `EDAReport`, plus `sc.plot_raincloud` / `df.scio.plot_raincloud` supporting both `matplotlib` and zero-dependency `SVGFigure`.
|
|
54
|
+
- Universal DataFrame coercion (`ensure_pandas_df`) and `PolarsScioNamespace` (`pl_df.scio`) supporting Pandas, Polars (`DataFrame` & `LazyFrame`), Narwhals, PyArrow, and Python dicts.
|
|
55
|
+
- **Documentation, Benchmarks, & Governance Suite:** Added MkDocs-Material documentation under `docs/`, micro-benchmark suite under `benchmarks/bench_kernels.py`, `CITATION.cff`, `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, and `SECURITY.md`.
|
|
56
|
+
|
|
57
|
+
## [0.1.0] - 2026-11-03
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
- Initial release of `omnistats` with `omnistats.core`, `omnistats.functional`, `omnistats.eda`, `omnistats.stat`, Pandas `.scio` accessor, and Rich CLI.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: "omnistats: Autonomous Statistical Inference Engine, One-Tap EDA, and Pure Numerical Hypothesis Testing"
|
|
3
|
+
message: "If you use omnistats in your research or software, please cite it using the metadata below."
|
|
4
|
+
type: software
|
|
5
|
+
authors:
|
|
6
|
+
- alias: "Mr-Rup"
|
|
7
|
+
email: "majumdarb107@gmail.com"
|
|
8
|
+
repository-code: "https://github.com/Mr-Rup/scio"
|
|
9
|
+
url: "https://mr-rup.github.io/scio/"
|
|
10
|
+
license: Apache-2.0
|
|
11
|
+
keywords:
|
|
12
|
+
- statistics
|
|
13
|
+
- hypothesis-testing
|
|
14
|
+
- exploratory-data-analysis
|
|
15
|
+
- effect-sizes
|
|
16
|
+
- python
|
|
17
|
+
- econometrics
|
|
18
|
+
- biostatistics
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to a positive environment include:
|
|
15
|
+
* Demonstrating empathy and kindness toward other people
|
|
16
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
17
|
+
* Giving and gracefully accepting constructive feedback
|
|
18
|
+
* Accepting responsibility and apologizing to those affected by our mistakes
|
|
19
|
+
|
|
20
|
+
## Enforcement
|
|
21
|
+
|
|
22
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
23
|
+
reported to the project maintainer at `majumdarb107@gmail.com`. All complaints
|
|
24
|
+
will be reviewed and investigated promptly and fairly.
|
|
25
|
+
|
|
26
|
+
## Attribution
|
|
27
|
+
|
|
28
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Contributing to omnistats
|
|
2
|
+
|
|
3
|
+
Thank you for contributing to **`omnistats`**! We follow strict engineering, mathematical, and architectural standards to keep the library fast, modular, and trustworthy.
|
|
4
|
+
|
|
5
|
+
## 1. Development Setup
|
|
6
|
+
|
|
7
|
+
We recommend [`uv`](https://docs.astral.sh/uv/) for environment and dependency management:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
git clone https://github.com/Mr-Rup/scio.git
|
|
11
|
+
cd scio
|
|
12
|
+
uv sync --extra dev
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## 2. Engineering & Architectural Rules
|
|
16
|
+
|
|
17
|
+
1. **Module Size Budgets:**
|
|
18
|
+
- Library files (`omnistats/**/*.py`): soft limit **300 lines**, hard limit **400 lines**.
|
|
19
|
+
- Test files (`tests/**/*.py`): hard limit **450 lines**.
|
|
20
|
+
2. **5-Layer Downward Dependency Graph:**
|
|
21
|
+
- `L0 (omnistats.core)` $\leftarrow$ `L1 (omnistats.functional)` $\leftarrow$ `L2 (omnistats.models)` $\leftarrow$ `L3 (omnistats.stat | omnistats.eda)` $\leftarrow$ `L4 (omnistats.integrations | omnistats.cli)`.
|
|
22
|
+
- Lower layers must never import higher layers, and `omnistats.stat` and `omnistats.eda` must remain independent.
|
|
23
|
+
3. **Pure Stateless Kernels (`omnistats.functional`):**
|
|
24
|
+
- Kernels return lightweight `NamedTuple`s from `omnistats.core.types` and never import `omnistats.core.results`.
|
|
25
|
+
4. **Strict Typing & Error Hierarchy:**
|
|
26
|
+
- All functions require complete type annotations (`mypy --strict`).
|
|
27
|
+
- Raise domain errors from `omnistats.core.errors` (`StatError`, `SampleSizeError`, `ZeroVarError`, `DtypeError`, `MissingDataError`), which dual-inherit standard Python exceptions.
|
|
28
|
+
|
|
29
|
+
## 3. Pre-Submission Verification Gate
|
|
30
|
+
|
|
31
|
+
Run all checks locally before opening a Pull Request:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uv run ruff format --check .
|
|
35
|
+
uv run ruff check .
|
|
36
|
+
uv run mypy omnistats
|
|
37
|
+
uv run python scripts/check_module_size.py --strict
|
|
38
|
+
uv run pytest
|
|
39
|
+
```
|
omnistats-0.4.0/LICENSE
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or exemplary damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
omnistats-0.4.0/PKG-INFO
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: omnistats
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Autonomous Statistical Inference Engine, One-Tap EDA, and Universal Scientific Modeling
|
|
5
|
+
Project-URL: Homepage, https://github.com/Mr-Rup/scio
|
|
6
|
+
Project-URL: Documentation, https://mr-rup.github.io/scio/
|
|
7
|
+
Project-URL: Repository, https://github.com/Mr-Rup/scio.git
|
|
8
|
+
Project-URL: Issues, https://github.com/Mr-Rup/scio/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/Mr-Rup/scio/blob/main/CHANGELOG.md
|
|
10
|
+
Author-email: Mr-Rup <majumdarb107@gmail.com>
|
|
11
|
+
License-Expression: Apache-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: biostatistics,causal-inference,data-analysis,econometrics,eda,effect-sizes,hypothesis-testing,p-values,pandas,scipy,statistics,survival-analysis
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
25
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
26
|
+
Classifier: Typing :: Typed
|
|
27
|
+
Requires-Python: >=3.11
|
|
28
|
+
Requires-Dist: numpy>=1.26.0
|
|
29
|
+
Requires-Dist: pandas>=2.1.0
|
|
30
|
+
Requires-Dist: rich>=13.0.0
|
|
31
|
+
Requires-Dist: scipy>=1.11.0
|
|
32
|
+
Provides-Extra: all
|
|
33
|
+
Requires-Dist: matplotlib>=3.8.0; extra == 'all'
|
|
34
|
+
Requires-Dist: narwhals>=1.0.0; extra == 'all'
|
|
35
|
+
Requires-Dist: polars>=0.20.0; extra == 'all'
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: hypothesis>=6.90.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: mypy>=1.8.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: pandas-stubs>=2.1.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
|
|
41
|
+
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
42
|
+
Requires-Dist: ruff>=0.3.0; extra == 'dev'
|
|
43
|
+
Provides-Extra: docs
|
|
44
|
+
Requires-Dist: mkdocs-material>=9.5.0; extra == 'docs'
|
|
45
|
+
Requires-Dist: mkdocs>=1.6.0; extra == 'docs'
|
|
46
|
+
Requires-Dist: mkdocstrings[python]>=0.25.0; extra == 'docs'
|
|
47
|
+
Provides-Extra: plot
|
|
48
|
+
Requires-Dist: matplotlib>=3.8.0; extra == 'plot'
|
|
49
|
+
Provides-Extra: polars
|
|
50
|
+
Requires-Dist: narwhals>=1.0.0; extra == 'polars'
|
|
51
|
+
Requires-Dist: polars>=0.20.0; extra == 'polars'
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
|
|
54
|
+
# omnistats
|
|
55
|
+
|
|
56
|
+
[](https://github.com/Mr-Rup/scio/actions/workflows/ci.yml)
|
|
57
|
+
[](https://pypi.org/project/omnistats/)
|
|
58
|
+
[](https://pypi.org/project/omnistats/)
|
|
59
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
60
|
+
[](https://github.com/astral-sh/ruff)
|
|
61
|
+
[](https://github.com/python/mypy)
|
|
62
|
+
|
|
63
|
+
**`omnistats`** is an autonomous statistical inference engine, one-tap exploratory data analysis (EDA) suite, multivariate regression toolkit, and pure numerical hypothesis testing framework for Python (`>= 3.11`).
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## ⚡ Highlights
|
|
68
|
+
|
|
69
|
+
* **Pure Stateless Mathematical Kernels (`omnistats.functional` as `F`):** PyTorch-style pure NumPy/SciPy kernels (`F.welch_t`, `F.mann_whitney`, `F.tukey`, `F.cohen_d`, `F.cliffs_d`, `F.fdr_bh`, `F.bootstrap_ci`, `F.yuen_t`) returning lightweight `NamedTuple`s with zero classes and zero side-effects.
|
|
70
|
+
* **Autonomous Decision Lattice & Pathology Guards (`omnistats.stat`):** Inspects distribution shape (Shapiro-Wilk / D'Agostino $K^2$), checks for **point-mass zero-inflation**, **heavy-tailed / Cauchy regimes**, and **Sarle's bimodality ($BC > 0.555$)** before permitting a Large-$N$ ($N \ge 500$) Central Limit Theorem override, evaluates homoscedasticity (Levene / Brown-Forsythe), and routes to the mathematically optimal test.
|
|
71
|
+
* **Exact Non-Central $t$ Effect Size CIs:** Computes exact Non-Central $t$-distribution confidence intervals (`F.cohen_d_ci`, `F.hedges_g_ci`) via Brent root-finding and $z$-transformed CIs for $O(N \log N)$ Cliff's $\delta$ (`F.cliffs_d_ci`), surfacing `effect_ci` on every `TestResult`.
|
|
72
|
+
* **Tensor-Broadcasted Post-Hoc Pairwise Tests:** Significant $K > 2$ omnibus tests automatically trigger vectorized Tukey HSD (ANOVA), Games-Howell (Welch's ANOVA), or Dunn's test with BH/Holm adjustment (Kruskal-Wallis).
|
|
73
|
+
* **Wilkinson Formulas & Robust Multivariate Models (`omnistats.models`):** Run `sc.compare(df, "y ~ x1 + C(group)")`, Ordinary Least Squares with MacKinnon-White **HC0–HC3** heteroscedasticity-robust standard errors (`sc.ols`), and Newton-Raphson IRLS binary logistic regression with Odds Ratios (`sc.logistic`).
|
|
74
|
+
* **Resampling, Equivalence, & Robust Statistics:** Exact & vectorized Monte Carlo `F.permutation_test`, Bias-Corrected and Accelerated ($BC_a$) `F.bootstrap_ci`, Two One-Sided Tests for equivalence (`sc.tost`), Huber M-estimators (`F.huber_location`), and Yuen-Welch trimmed $t$-tests (`F.yuen_t`).
|
|
75
|
+
* **Universal Pandas EDA (`omnistats.eda`) & Accessor (`df.scio`):** 8-role semantic column classification, vectorized profiling, 0–100 data health scoring, correlation/VIF matrices, and standalone interactive HTML reports.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 📦 Installation
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
uv add omnistats
|
|
83
|
+
# or
|
|
84
|
+
pip install omnistats
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 🚀 Quickstart
|
|
90
|
+
|
|
91
|
+
### 1. One-Tap Exploratory Data Analysis (EDA)
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
import omnistats as sc
|
|
95
|
+
|
|
96
|
+
df = sc.read("clinical_trial.csv") # Auto-sniffs CSV/TSV, Parquet, Excel, JSON
|
|
97
|
+
report = df.scio.eda()
|
|
98
|
+
print(report.summary())
|
|
99
|
+
report.to_html("eda_report.html")
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 2. Autonomous Hypothesis Comparison & Wilkinson Formulas
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
# Compare continuous outcome across treatment arms (auto-routes & computes exact effect CIs)
|
|
106
|
+
result = df.scio.compare(x="treatment_arm", y="recovery_days")
|
|
107
|
+
print(result.summary())
|
|
108
|
+
|
|
109
|
+
# Or use Wilkinson formula syntax (bivariate or multivariate ANCOVA/OLS)
|
|
110
|
+
res_formula = df.scio.compare("recovery_days ~ treatment_arm + baseline_score")
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### 3. Multivariate Regression (OLS HC3 & IRLS Logistic)
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
# Ordinary Least Squares with MacKinnon-White HC3 robust standard errors
|
|
117
|
+
ols_res = sc.ols(df, "recovery_days ~ age * C(treatment_arm)", robust_se="HC3")
|
|
118
|
+
print(ols_res.summary())
|
|
119
|
+
|
|
120
|
+
# Binary Logistic Regression with Odds Ratios and McFadden Pseudo-R²
|
|
121
|
+
log_res = sc.logistic(df, "remission ~ age + C(treatment_arm)")
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### 4. Stateless Math Kernels (`omnistats.functional as F`)
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
import omnistats.functional as F
|
|
128
|
+
|
|
129
|
+
# Welch's t-test returns a 6-field TTestResult NamedTuple
|
|
130
|
+
res = F.welch_t(group_a, group_b)
|
|
131
|
+
print(res.stat, res.p, res.dof, res.ci)
|
|
132
|
+
|
|
133
|
+
# Effect sizes with exact Non-Central t CIs & O(N log N) Cliff's delta
|
|
134
|
+
g, g_ci = F.hedges_g(group_a, group_b), F.hedges_g_ci(group_a, group_b)
|
|
135
|
+
delta, d_ci = F.cliffs_d(group_a, group_b), F.cliffs_d_ci(group_a, group_b)
|
|
136
|
+
|
|
137
|
+
# BCa Bootstrap CI, TOST Equivalence, & Yuen-Welch Robust Trimmed t-Test
|
|
138
|
+
ci_bca = F.bootstrap_ci(group_a, n_resamples=5000, method="bca", seed=42)
|
|
139
|
+
eq_res = sc.tost(group_a, group_b, bound=0.5)
|
|
140
|
+
yuen_res = F.yuen_t(group_a, group_b, trim=0.2)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🏛️ 5-Layer Architecture
|
|
146
|
+
|
|
147
|
+
```text
|
|
148
|
+
omnistats/
|
|
149
|
+
├── pyproject.toml # Hatchling + hatch-vcs, Python >= 3.11
|
|
150
|
+
├── mkdocs.yml # MkDocs-Material documentation config
|
|
151
|
+
├── docs/ # Quickstart, mathematical theory, & API reference
|
|
152
|
+
├── scripts/
|
|
153
|
+
│ └── check_module_size.py # Enforces module size budgets & 5-layer import contracts
|
|
154
|
+
├── tests/ # Unit, R 4.3 parity, Hypothesis property, & API snapshot tests
|
|
155
|
+
└── omnistats/
|
|
156
|
+
├── __init__.py # PEP 562 lazy exports: read, compare, screen, ols, logistic, tost, F
|
|
157
|
+
├── __main__.py # CLI execution (`python -m omnistats`)
|
|
158
|
+
├── core/ # L0: constants, errors, guards, types, roles, results/
|
|
159
|
+
├── functional/ # L1: pure stateless kernels (checks, tests, effects, posthoc, resample, robust)
|
|
160
|
+
├── models/ # L2: Wilkinson formula parser, OLS (HC0-HC3), IRLS Logistic
|
|
161
|
+
├── stat/ # L3: Autonomous router/ subpackage, compare, screen, equivalence, power
|
|
162
|
+
├── eda/ # L3: Multi-format I/O, profiler, quality, correlations/VIF
|
|
163
|
+
├── integrations/ # L4: Pandas DataFrame `.scio` accessor
|
|
164
|
+
└── cli/ # L4: Command-line interface (`omnistats`)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## 📄 License & Citation
|
|
170
|
+
|
|
171
|
+
Distributed under the [Apache License, Version 2.0](LICENSE). See [`CITATION.cff`](CITATION.cff) for academic citation metadata.
|