Home/Selected work/Statistical Model Suggester

Statistical education · Web application · 2024—2025

Statistical Model Suggester

A web application that turns a structured description of a research problem into a ranked model recommendation, alternatives, explanations, and diagnostic guidance.

FlaskPythonSQLAlchemyStatistical guidance
InterfaceGuided questionnaire
OutputRanked recommendation
DiagnosticsModel-specific plots
StackFlask + SQLAlchemy

Model choice starts before fitting.

A user may know their research question but not the statistical vocabulary needed to choose between regression, clustering, survival, mixed-effects, or machine-learning approaches.

The application asks about the analysis goal, outcome and predictor types, sample size, missingness, distribution, relationship shape, and correlated predictors. It uses those answers to narrow the model space and explain why a method fits the stated problem.

Design goal

Offer a starting point for discussion and study planning—not an automatic substitute for statistical judgment.

Compatibility rules produce a ranked shortlist.

01Describe the question
02Filter incompatible models
03Score remaining choices
04Explain and compare
01

Hard compatibility

Filter on analysis goal and dependent-variable type before scoring finer preferences.

02

Weighted evidence

Score relationship type, predictor types, sample size, missingness, distribution, and correlation structure.

03

Model-specific rules

Reward regularization for correlated predictors, clustering for unsupervised goals, and hierarchical models for nested data.

04

Diverse alternatives

Return strong candidates from different model families rather than four near-identical variations.

Guidance that can be saved and revisited.

Statistical Model Suggester application homepage
The application landing page from the public repository.
Recommendations

Primary and alternative models

Each result includes an explanation tied to the user’s answers.

Accounts

Analysis history

Authenticated users can save and revisit prior questions and recommendations.

Expert mode

More control

Advanced routes expose additional model and diagnostic detail.

Export

Portable results

Recommendations can be exported to PDF or Word when optional dependencies are installed.

A recommendation should come with checks.

The repository includes diagnostic generators tailored to regression, classification, dimensionality reduction, time series, survival models, boosting methods, and more. These example plots illustrate the type of evaluation attached to a selected model; they are demonstration outputs, not results from a user study.

Example ROC curve for logistic regression
Example logistic-regression ROC diagnostic.
Example residual plot for linear regression
Example linear-regression residual diagnostic.

Inputs cannot capture the whole study.

The recommendation is a prompt for deeper review.

A short questionnaire cannot fully represent sampling design, measurement error, causal assumptions, repeated measures, selection mechanisms, or domain constraints. The engine ranks models from encoded compatibility rules; it does not inspect the raw dataset or guarantee that assumptions hold.

Next case studyDiabetes Burden in Sub-Saharan Africa