Skip to main content

StatStudio

StatStudio is a desktop environment for statistical analysis, visualization, and design of experiments, built with Python and PySide6.

Install

StatStudio requires Python 3.11 or newer. Install the package from PyPI:

python -m pip install --upgrade pip
python -m pip install statstudio

Launch the desktop app:

statstudio-gui

statstudio also launches the desktop app. If neither command is on your PATH, use the module fallback:

python -m statstudio

Install optional format and modeling support as needed:

python -m pip install "statstudio[excel]"     # legacy .xls via xlrd
python -m pip install "statstudio[spss]"      # SPSS .sav via pyreadstat
python -m pip install "statstudio[ml]"        # XGBoost models
python -m pip install "statstudio[bayesian]"  # PyMC/ArviZ analysis

For a development checkout, see Run from source.

Features

  • Multiple data tables per project with editable cells, column metadata, modeling types, units, notes, formulas, filters, exclusions, multi-column sorting, missing-value handling, and undo/redo
  • Import from CSV/TSV, Excel, Parquet, JSON, clipboard, Stata, SAS, and ODBC (DSN or driver-based connection strings, SQL preview/import, saved profiles)
  • Export tables to CSV, Excel, Parquet, and JSON; save .sst projects and .stbl table files
  • Data preparation: merge/join, append, split, stack/unstack, transpose, subset, recode, replace missing values, standardize, Box-Cox transform, rank, bin, text-to-columns, and formula columns
  • Home dashboard, searchable Analysis Hub, recent projects/commands, favorites, light/dark themes, quick toolbars, and a command palette
  • Command palette, sample data, linked table scripts, and grouped summaries
  • Descriptive statistics, frequency tables, grouped summaries, distribution fitting, distribution identification, distribution summaries, tolerance intervals, correlation/covariance, and normality tests
  • t tests, one-way/two-way/repeated-measures ANOVA, Kruskal-Wallis, post-hoc comparisons, Mann-Whitney, Wilcoxon signed-rank, one-sample Wilcoxon, sign test, Mood's median test, Friedman test, runs test, equivalence tests, contingency/chi-square/Fisher tests, and proportion tests
  • Simple, multiple, robust, polynomial, stepwise, logistic, GLM, mixed, and GEE regression with diagnostics, prediction profilers, and multi-response optimization
  • PCA, factor analysis, k-means and hierarchical clustering, discriminant analysis (LDA/QDA), canonical correlation, and MANOVA
  • Predictive modeling with CART, Random Forest, Neural Network, SVM, Naive Bayes, XGBoost, and Auto Model; holdout/cross-validation, performance metrics, feature importance, confusion matrices, and ROC plots
  • Bayesian linear/logistic regression, two-sample comparisons, and one-way ANOVA with MCMC diagnostics and posterior/predictive plots (optional PyMC/ArviZ)
  • Time series summaries, ACF/PACF, stationarity tests, classical and STL decomposition, ARIMA, exponential smoothing, and forecasts
  • Kaplan-Meier survival, log-rank tests, Cox proportional hazards, competing risks/cumulative incidence, Weibull/AFT reliability, interval-censored data, and zero-failure reliability
  • Control charts, process capability, Pareto charts, process screening, Gage R&R (crossed/nested/expanded), attribute agreement, and power/sample-size tools
  • Design of experiments: custom optimal designs with continuous, categorical, and blocking factors; D/A/I criteria; linear constraints; preview/evaluation; full and fractional factorials; Plackett-Burman screening; central composite; Gaussian-process Bayesian optimization for recommending the next run; Box-Behnken; and mixture designs
  • DOE analysis with main effects, interactions, quadratic response models, Pareto plots, main-effect/interaction plots, contour and surface plots, design diagnostics, prediction, response simulation, design modifications, profilers, and multi-response optimization
  • Graph Builder with linked selection, brushing, hover, per-report filters, and column switching; histogram, density, box, violin, strip, variability, dot, bar, pie, scatter, bubble, 3D, line, area, heatmap, correlation heatmap, scatterplot matrix, parallel coordinates, contour, surface, mosaic, and Pareto plots
  • Report Composer, saved analyses, re-runnable reports, interactive profilers, and HTML, PDF, Word, interactive HTML, and image export
  • Embedded Python console, generated analysis code, scripts panel, analysis journal, headless CLI, automation API, and analysis/plot plugins

Python libraries

StatStudio requires Python 3.11 or newer. Core runtime and analysis libraries:

  • PySide6 for the desktop UI
  • NumPy and pandas for data handling
  • SciPy, statsmodels, and scikit-learn for statistical and predictive modeling
  • Matplotlib and Plotly for static and interactive graphics
  • openpyxl, pyarrow, pyodbc, and keyring for Excel, Parquet, database, and credential support

Optional packages enable additional formats and methods:

  • xlrd for legacy .xls files
  • pyreadstat for SPSS .sav files
  • xgboost for XGBoost predictive models
  • pymc and arviz for Bayesian analysis

Development and packaging use pytest, ruff, and PyInstaller; the package builds with setuptools.

Help

Press F1 or choose Help > StatStudio Help... to open the searchable feature reference. Every topic includes a Before you begin checklist, step-by-step instructions with exact menu and dialog labels, a settings guide, expected results, troubleshooting, and next steps. Search Help for task-based walkthroughs such as comparing groups, fitting a model, building a control chart, designing an experiment, and scripting an analysis.

Most analysis, data, graph, DOE, and report windows also have a Help button and F1 shortcut that opens the matching topic directly. In the Python console, use print(result.summary) for a text result or sdk.show(result) to open an analysis result as a report. The help covers menu commands, analyses, DOE, graphs, reports, scripting, optional Python packages, and known limitations. It is built into the app and works offline.

Examples

The examples/ directory contains CSV/STBL datasets, .sst projects, and Python scripts for quality, predictive modeling, survival analysis, time series, PCA, custom DOE, and Titanic random forest examples. Open the projects from File > Open Project, or search Help > StatStudio Help... for the example guide. From a source checkout, regenerate the assets with:

PYTHONPATH=src python examples/generate_examples.py

See examples/README.md and examples/NOTICE.md for details and attribution.

Run from source

Clone the repository and install an editable development environment:

git clone https://github.com/paryal01-ai/StatStudio.git
cd StatStudio
python -m pip install -e ".[dev]"
python run.py

The editable install also provides statstudio-gui, statstudio, and python -m statstudio.

Optional data formats

The base install reads CSV/TSV, Parquet, JSON, Stata, SAS, and XLSX/XLSM files. Two formats need optional packages:

python -m pip install "statstudio[excel]"   # legacy .xls support via xlrd
python -m pip install "statstudio[spss]"    # SPSS .sav support via pyreadstat

Other extras:

python -m pip install "statstudio[ml]"        # XGBoost predictive models
python -m pip install "statstudio[bayesian]"  # PyMC/ArviZ Bayesian analysis
python -m pip install "statstudio[dev]"       # pytest, ruff, and PyInstaller

When working from a source checkout, replace "statstudio[...]" with -e ".[...]", for example python -m pip install -e ".[dev]".

ODBC

StatStudio uses pyodbc. The operating system must have the appropriate ODBC driver and/or DSN configured. On Linux, install unixODBC plus a database-specific driver, then verify with odbcinst -q -d and the connection dialog inside StatStudio. Passwords are stored only in the OS keyring when explicitly requested and are never written to project files.

Current limitations

  • Optional features: .xls, .sav, Bayesian, and XGBoost require optional extras and are not part of the default install or CI.
  • Data and performance: tables and analysis frames are held in memory; very large imports and analyses are limited by RAM. Dense plots and large reports may be slow, facet/multi-plot pages are truncated to 12, and interactive HTML files can be large.
  • Table export: hidden columns are omitted; excluded rows are included in normal exports; plain exports do not preserve metadata, formulas, or scripts.
  • Reports: saved reports store run-time results rather than immutable data snapshots and can become stale. Replayable analyses rerun live, while others fall back to static HTML. Report Composer combines existing reports and does not run analyses. Word export uses OOXML, not Microsoft Word layout.
  • ODBC: requires a system ODBC driver/DSN and pyodbc; StatStudio does not bundle native database drivers or connectors.
  • Packaging: the frozen app uses bundled Python, so extra packages may require rebuilding. Bundles are platform-specific and currently unsigned; frozen builds are not verified end-to-end on every platform.
  • Statistical approximations: GEE QIC is reported only when statsmodels exposes it; Fleiss kappa is approximate; ETS/STL and random-walk forecast intervals use residual-based approximations; the fractional-factorial catalog is limited; optimal DOE uses a heuristic beyond 200,000 candidate combinations; SPC subgroup methods reject sizes outside 2-25; nonparametric tolerance intervals report the widest available interval when the requested confidence cannot be achieved; survival routines are hand-rolled and cross-checked against lifelines.
  • Missing data: most analyses use listwise deletion rather than multiple imputation. Statistical significance does not establish practical importance or causality.
  • Bayesian analyses can be slow and depend on priors, parameterization, and convergence. Inspect diagnostics before interpreting results. Long analyses run in a background worker with a progress window; cancellation is cooperative, so a library call that is already sampling may need to finish.
  • Bayesian optimization is a Gaussian-process sequential design aid. It requires observed runs, assumes a smooth response, searches within the specified factor ranges/levels, and does not guarantee a global optimum. Search bounds may be narrower than the observed training range; categorical level lists can be edited to exclude levels from the search.
  • Custom-design multi-response optimization is unavailable; use the custom Prediction Profiler instead.
  • Scope: StatStudio is not a drop-in replacement for dedicated commercial statistics suites. SEM, general nonlinear regression, advanced Graph Builder drag-drop/animation polish, and the broadest mixture/response-surface catalogs are not implemented.
  • Scripting and plugins run arbitrary Python in the desktop process. Only run trusted code and install trusted extensions; the CLI exposes a subset of GUI functionality.

License

StatStudio is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

StatStudio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for the full license text.

Copyright (C) 2026 P Aryal.

Third-party example datasets remain subject to the separate notices in examples/NOTICE.md; the GPL applies to the StatStudio source code.

Tests

pytest

Metadata

Release files for statstudio 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statstudio 0.1.1
File Size Uploaded Provenance Actions
statstudio-0.1.1.tar.gz 986.9 kB Without provenance Details for statstudio-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for statstudio 0.1.1
File Interpreter ABI Platform Actions
statstudio-0.1.1-py3-none-any.whl Python 3 none any Details for statstudio-0.1.1-py3-none-any.whl

Total release size: 2.0 MB

Release files / statstudio-0.1.1.tar.gz

Download URL statstudio-0.1.1.tar.gz
Size 986.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6af72c4a79cb5360e66c699a189f6bfbf02c03653ba4a25a9eed8b05cee67d
BLAKE2b-256 checksum
How to use checksums
755e5b20362309f65efb1e437e48f7849b4cd0ef26e3a96046d5fa96211a5ac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / statstudio-0.1.1-py3-none-any.whl

Download URL statstudio-0.1.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7e765a0dd70fc5eef191de363e98cf119374df85af06fef3bca8a535b565440a
BLAKE2b-256 checksum
How to use checksums
30289766c1102a0f2388d66cecad6e7bf4192514b1a23b2600a042a0d4728754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for statstudio 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page