The method library
A question. A method.
A result you can inspect.
Explore methods for describing data, comparing groups, fitting models and more. Check each method's inputs and assumptions.
Browse methods
Multiple Testing CorrectionInference
Adjust a family of raw p-values for multiple comparisons (Bonferroni, Holm, Benjamini-Hochberg FDR, or Benjamini-Yekutieli), with a before/after significance table and FWER-vs-FDR guidance.
When to consider it
You ran many hypothesis tests at once (e.g. one test per variable, per gene, per subgroup) and need to control the inflated chance of false positives before declaring any result significant.
How to choose and read an analysisAMMI (Genotype × Environment)Agriculture
Additive Main effects and Multiplicative Interaction analysis for genotype × environment trials: two-way main-effect ANOVA plus an SVD of the interaction, with IPCA scores, AMMI1/AMMI2 biplots, and...
When to consider it
You tested several genotypes (varieties, hybrids, lines) across several environments (locations, years, site-years) and want to understand the genotype × environment interaction: which genotypes are broadly stable and which are specifically adapted to particular environments.
How to choose and read an analysisBootstrap Confidence IntervalResampling
Non-parametric bootstrap confidence interval for a chosen statistic (mean, median, SD, correlation, or regression slope) with a bias-corrected accelerated (BCa) interval and a bootstrap-distributio...
When to consider it
Put a confidence interval on a statistic when you do not trust a textbook formula (a skewed mean, a median, an SD, a correlation, or a regression slope) by resampling your data with replacement.
How to choose and read an analysisCost of Poor Quality (COPQ)Quality / Six Sigma
Classifies quality-cost line items into the PAF model (prevention, appraisal, internal failure, external failure), reports the conformance vs nonconformance split and COPQ, and benchmarks each as %...
When to consider it
You have quality-related cost line items (scrap, rework, warranty, inspection, training…) and need the classic quality-cost picture: where the money goes, what poor quality actually costs, and whether the spend is skewed toward failure instead of prevention.
How to choose and read an analysisCorrelation MatrixMultivariate
Compute the pairwise correlation matrix (Pearson, Spearman, or Kendall) for two or more numeric variables, with p-values, significance stars, Fisher-z confidence intervals (Pearson), and a heatmap.
When to consider it
Explore how several numeric variables move together (which pairs are positively or negatively associated, and how strongly) before modeling, or to screen for multicollinearity.
How to choose and read an analysisContingency Table (Crosstab)Hypothesis Testing
Cross-tabulates two categorical variables: counts with row and column totals, row, column or total percentages, the chi-square test of independence, Fisher's exact test on a 2×2 table, and Cramér's V.
When to consider it
You want to see how two categorical variables combine (a crosstab, cross-tabulation, two-way table or pivot count) and whether they are associated.
How to choose and read an analysisExploratory Data Analysis (EDA)Analyze
One-click exploratory data analysis: per-variable profiles with outlier and normality flags, a data-quality triage, the pairwise correlation/association structure with FDR-adjusted significance, an...
When to consider it
First contact with a dataset: before choosing any confirmatory test, run one EDA to see each variable's shape, quality problems, the correlation structure, and candidate group differences, with multiple-testing honesty built in.
How to choose and read an analysisExploratory Factor AnalysisMultivariate
Model a set of correlated numeric variables as a small number of unobserved latent factors, with a loadings table, communalities, variance explained, and a loadings heatmap.
When to consider it
Uncover the latent constructs (e.g. an underlying 'size' factor) that explain the shared correlation among several measured variables: for scale construction, questionnaire validation, or structure discovery.
How to choose and read an analysisDesign of Experiments (2-Level Factorial)Quality
Analyzes a two-level factorial experiment: codes each factor to −1/+1, fits a regression model with main effects and interactions, and reports the estimated effects, a Pareto chart, main-effects an...
When to consider it
You ran a designed experiment in which each factor was set at two levels (low/high) and want to estimate which factors and interactions drive a continuous response.
How to choose and read an analysisFrequency TableDescriptive
Counts every level of one variable: count, percent, valid percent (when there are blanks) and cumulative percent, with a bar chart.
When to consider it
You want the frequencies of one variable (a frequency table, tabulate, counts): how many rows hold each level, and what share.
How to choose and read an analysisMultidimensional Scaling (MDS)Multivariate
Map objects into a low-dimensional space that reproduces their pairwise distances, with a Stress-1 goodness-of-fit and a Shepard diagram.
When to consider it
Visualize how similar or different objects are when you have (or can compute) their pairwise distances: a 2-D 'map' where nearby points are alike. Use non-metric MDS when only the rank order of the distances is trustworthy (e.g. survey similarity ratings).
How to choose and read an analysisMonte Carlo SimulationDesign
Uncertainty propagation: name several uncertain inputs (each with a Normal, Uniform, Triangular, Lognormal, or PERT distribution), write a formula over them, and see the resulting output distributi...
When to consider it
Propagate uncertainty through a model when several of its inputs are themselves uncertain (a budget, a project schedule, a risk/return estimate) instead of plugging in a single 'best guess' for each and getting a single, falsely precise number out.
How to choose and read an analysisPartial CorrelationMultivariate
Measure the association between two or more numeric variables after removing the linear effect of one or more control variables from all of them, with a t-test, a Fisher-z confidence interval, and...
When to consider it
Ask whether two variables are still related once you account for one or more other variables: to check whether an association is genuine or is really driven by a lurking third variable (a confounder).
How to choose and read an analysisPrincipal Component AnalysisMultivariate
Reduce a set of correlated numeric variables into a smaller number of uncorrelated principal components, with scree plot, loadings, and biplot.
When to consider it
Summarize many correlated numeric measurements into a few components, explore structure, or build features for downstream modeling.
How to choose and read an analysisRandomized Complete Block Design (RCBD)Agriculture
Analyze a randomized complete block design: an additive two-way ANOVA of a response on a treatment factor plus a blocking factor, with Tukey HSD, treatment means, and the relative efficiency of blo...
When to consider it
You compared several treatments (crop varieties, fertilizers, machine settings) and grouped the experimental units into blocks of similar units (field strips, days, batches, litters) with every treatment appearing once in every block. Blocking removes a known nuisance source of variation so the treatment comparison is sharper.
How to choose and read an analysisSplit-Plot ANOVAAgriculture
Analyze a split-plot design with the correct two error strata: the whole-plot factor is tested against block × whole-plot error, while the subplot factor and the whole-plot × subplot interaction ar...
When to consider it
One factor is hard to vary on a small scale (irrigation, tillage, planting date; applied to big 'whole plots') while a second factor is easy to vary within those plots (variety, fertilizer rate; the 'subplots'). The whole plots sit inside blocks. You need the right error term for each factor.
How to choose and read an analysisPower & Sample SizeDesign
Design calculator: solve for statistical power, required sample size, the minimum detectable effect, or the significance level for a t-test, ANOVA, two-proportion, or chi-square goodness-of-fit study.
When to consider it
BEFORE collecting data, to plan how many observations you need to detect an effect of a given size with adequate power, or to check the power a planned sample size will actually deliver.
How to choose and read an analysisProbability CalculatorDescriptive
Probabilities and critical values of the normal, t, chi-square, F, binomial, Poisson, uniform and exponential distributions: below, above, between or outside given values, or the value for a given...
When to consider it
You need a value from a distribution table: the probability below a z score, a critical t value, the p-value for a test statistic, or the chance of at most k successes in n trials.
How to choose and read an analysisSample Size for a Margin of ErrorDesign
How many observations are needed to estimate one percentage or one mean to within a chosen margin of error (for example ±5 percentage points) at a chosen confidence level.
When to consider it
You are planning a survey or a study whose goal is an estimate (a percentage, an average) with a known precision, and want to know how many people or items to measure.
How to choose and read an analysisNon-normal Capability (Percentile Method)Quality / Six Sigma
Process capability for data that fail normality: fits candidate distributions (normal, lognormal, exponential, Weibull, gamma) by maximum likelihood, picks the best by AIC, and computes ISO percent...
When to consider it
Your capability data fail the normality check (skewed cycle times, flatness, roundness, tensile strength…): normal-based Cp/Cpk and PPM would be systematically wrong, sometimes badly.
How to choose and read an analysisc-Chart (Defect Count)Quality (SPC)
Control chart for the count of defects per inspection unit when the inspection area is constant.
When to consider it
You count the number of defects (not defective items) on each unit, and every unit has the same inspection area/opportunity.
How to choose and read an analysisCUSUM Chart (Tabular Cumulative Sum)Quality
Tabular (algorithmic) CUSUM control chart: accumulates deviations from target above a reference value k, signalling when either cumulative sum crosses the decision interval h.
When to consider it
You monitor individual measurements against a known target and want the quickest possible alarm for a small sustained shift (the size you tuned k for), e.g. a 1σ drift in a critical dimension.
How to choose and read an analysisEWMA Chart (Exponentially Weighted Moving Average)Quality
Exponentially weighted moving-average control chart: pools recent history with geometrically decaying weights to detect small, sustained shifts (0.5–1.5σ) that Shewhart charts miss.
When to consider it
You monitor individual measurements and care about SMALL sustained drifts of the mean (half a sigma or so), not just large jumps, e.g. slow tool wear, reagent degradation, gradual process creep.
How to choose and read an analysisg-Chart (Rare Events: Cases Between)Quality (SPC)
Control chart for the number of cases/opportunities BETWEEN rare events (geometric model).
When to consider it
The event is rare enough that ordinary attribute charts show mostly zeros, e.g. surgeries between infections, units between escapes, days between accidents (counted in discrete cases).
How to choose and read an analysisHotelling T² Chart (Multivariate Control)Quality
Hotelling T² control chart for two or more correlated quality characteristics monitored jointly: one chart, one false-alarm rate, sensitive to shifts no univariate chart can see.
When to consider it
You monitor several correlated measurements (e.g. length AND diameter) and want a single chart that respects their correlation: separate X charts miss shifts that break the correlation structure and inflate the joint false-alarm rate.
How to choose and read an analysisI-MR Chart (Individuals & Moving Range)Quality
Individuals (I) and Moving-Range (MR) control charts for a single continuous measurement taken one unit at a time.
When to consider it
You measure one unit at a time (no natural subgroups) and want to monitor whether the process mean and short-term variation are stable.
How to choose and read an analysisnp-Chart (Number Nonconforming)Quality (SPC)
Control chart for the raw count of nonconforming items per subgroup when the subgroup size is constant.
When to consider it
You count defective items per subgroup and every subgroup is the same size: plot the raw count instead of the fraction.
How to choose and read an analysisp-Chart (Fraction Nonconforming)Quality (SPC)
Control chart for the fraction of nonconforming items per subgroup when subgroup sizes may vary.
When to consider it
You count how many items in each subgroup are defective (pass/fail) and want to monitor the proportion defective over time.
How to choose and read an analysisLaney P′ Chart (Overdispersion-Corrected)Quality (SPC)
Laney P′ chart: a p-chart whose limits are corrected for over- or underdispersion via the z-score moving-range factor Σ_z.
When to consider it
Your p-chart's limits look absurdly tight (large subgroups, nearly every point 'out of control'): classic binomial limits ignore day-to-day variation in the true rate. The Laney P′ chart fixes exactly this.
How to choose and read an analysist-Chart (Rare Events: Time Between)Quality (SPC)
Control chart for the (continuous) TIME between rare events, using Nelson's t^(1/3.6) normalizing transform and individuals-chart limits back-transformed to the time scale.
When to consider it
Events are rare and you record the continuous time between them: days between spills, hours between failures. A c-chart of per-period counts would be almost all zeros.
How to choose and read an analysisu-Chart (Defects per Unit)Quality (SPC)
Control chart for defects per unit of area/opportunity when the inspection area may vary.
When to consider it
You count defects per unit but the inspection area/opportunity varies between samples: plot defects per unit area.
How to choose and read an analysisLaney U′ Chart (Overdispersion-Corrected)Quality (SPC)
Laney U′ chart: a u-chart whose limits are corrected for over- or underdispersion via the z-score moving-range factor Σ_z.
When to consider it
Your u-chart of defects-per-unit flags nearly every sample because opportunity areas are large and the true rate wobbles day to day: the Poisson limits are too tight.
How to choose and read an analysisX̄-R Chart (Means & Ranges)Quality
X̄ and R control charts for rational subgroups; range estimates within-subgroup variation.
When to consider it
You can form small rational subgroups (e.g. 5 parts per hour) and want to monitor the process mean and its short-term spread.
How to choose and read an analysisX̄-S Chart (Means & Std Devs)Quality
X̄ and S control charts for rational subgroups; the sample standard deviation estimates within-subgroup variation.
When to consider it
You can form rational subgroups and want the most efficient estimate of within-subgroup variation, especially for larger subgroups.
How to choose and read an analysisRobustness CheckHypothesis Testing
Re-runs a comparison of groups or a relationship under a fixed list of reasonable alternatives and says whether the conclusion holds, with every alternative shown.
When to consider it
You have a result (a difference between groups or a slope) and want to know whether the conclusion would change under another reasonable way of doing the analysis.
How to choose and read an analysisHierarchical ClusteringMultivariate
Build an agglomerative hierarchy of observations and cut it into a chosen number of clusters, with a dendrogram, cluster centroids, silhouette score, and cophenetic correlation.
When to consider it
Discover nested groupings in numeric data without choosing k up front: inspect the dendrogram, then cut it where the structure is clearest.
How to choose and read an analysisk-Means ClusteringMultivariate
Partition observations into k clusters by minimizing within-cluster distance, with centroids, inertia, and silhouette score.
When to consider it
Find natural groupings in numeric data when you don't have labels: customer segments, specimen types, regions of behavior.
How to choose and read an analysisDesign Compare (Trade-off Table)Quality
Runs the existing design-evaluation engine over several candidate designs and reports a plain-language trade-off table (runs, resolution, aliasing, efficiency, power) with a Pareto-optimal recommen...
When to consider it
You have generated (or imported) two or more candidate designs for the same experiment and need to choose between them on runs vs aliasing vs power, not just look at one design in isolation.
How to choose and read an analysisDescriptive SummaryDescriptive
A clean summary table for one or more variables: counts, center, spread, quartiles, skewness/kurtosis and a 95% CI of the mean for numeric variables, plus level counts for categorical ones, optiona...
When to consider it
Start of nearly every analysis: get a quick, trustworthy snapshot of each variable's center, spread and shape (overall or by group) before choosing a test.
How to choose and read an analysisCox Proportional-Hazards RegressionSurvival Analysis
Fits a Cox proportional-hazards regression for right-censored time-to-event data: estimates how one or more predictors multiply the hazard rate, reporting hazard ratios (exp of the coefficients) wi...
When to consider it
You have time-to-event ('survival') data (a follow-up time and a 0/1 event flag) and you want to quantify how covariates (treatment, dose, age, biomarkers …) raise or lower the risk of the event, adjusting for each other, without committing to a parametric baseline hazard.
How to choose and read an analysisDecision Tree (CART)Modeling
Classify or predict with a single decision tree: a fully inspectable flowchart of yes/no questions, with honest cross-validated metrics, a picture of the fitted tree, and feature importances.
When to consider it
Predict a category or a number from a mix of numeric and categorical predictors when you want a model you can actually read: a flowchart of simple yes/no questions. Trees handle non-linear relationships and interactions automatically, need no scaling, and are the building block of random forests and boosting. Prefer a single tree when interpretability matters more than the last few points of accuracy.
How to choose and read an analysisDistribution FittingDescriptive
Fits a panel of candidate continuous distributions (normal, lognormal, exponential, Weibull, gamma) to one numeric variable by maximum likelihood, then ranks them by AIC and reports BIC and the And...
When to consider it
You have one continuous variable and want to know which named probability distribution best describes it: to choose a model for simulation, capability analysis, reliability, or to justify (or challenge) a normality assumption.
How to choose and read an analysisPrediction ProfilerQuality
Fits a response-surface model per response and returns everything an interactive profiler needs to recompute predictions and confidence bands live as factor sliders move, plus Derringer-Suich desir...
When to consider it
You have already fit (or want to fit) a model relating one or more responses to your design's factors, and want to interactively explore predictions and find the setting that jointly optimizes every response.
How to choose and read an analysisElastic Net RegressionModeling
Fit an Elastic Net regression that blends L1 (lasso) and L2 (ridge) penalties, combining feature selection with shrinkage.
When to consider it
Predict a continuous outcome when you want lasso-style feature selection AND ridge-style stability, especially with groups of correlated predictors, where pure lasso would arbitrarily keep one and drop the rest.
How to choose and read an analysisGeneralized Additive Model (GAM)Modeling
Fit a generalized additive model: each continuous predictor enters as a smooth penalized-spline curve (with per-term partial-effect plots, effective degrees of freedom, and a Wald test), other pred...
When to consider it
When a predictor's effect on the response is curved rather than a straight line, but you still want an interpretable, additive model: you can read the shape of each predictor's effect one curve at a time, unlike a black-box model.
How to choose and read an analysisGradient Boosting (Trees)Modeling
Boosted decision trees (histogram-based gradient boosting) for classification or regression: honest cross-validated metrics, permutation importance, and partial-dependence plots for the top features.
When to consider it
Predict a category or a number from a mix of numeric and categorical predictors when accuracy matters more than an interpretable equation and the relationship may be non-linear with interactions. Boosting builds many small trees sequentially, each one correcting the previous ensemble's mistakes, usually among the most accurate off-the-shelf methods on tabular data.
How to choose and read an analysisk-Nearest Neighbors (k-NN)Modeling
Classify or predict with k-nearest neighbors: cross-validated auto-selection of k with the bias-variance score curve, honest CV metrics, and a decision-boundary plot for two predictors.
When to consider it
Predict a category or a number from numeric predictors when you expect the relationship to be local and possibly very non-linear, and you do not need an interpretable equation. A categorical (or two-level) outcome is classified by majority vote of the k nearest rows; a continuous outcome is predicted by averaging them.
How to choose and read an analysisLasso RegressionModeling
Fit an L1-penalized (lasso) regression that can drive coefficients to exactly zero, performing automatic feature selection.
When to consider it
Predict a continuous outcome when you expect only a few predictors to matter: lasso shrinks coefficients and drives the irrelevant ones to exactly zero, giving a sparse, interpretable model.
How to choose and read an analysisLinear Discriminant AnalysisMultivariate
Classify a categorical outcome from continuous predictors using Fisher's linear discriminant analysis: group means, discriminant scalings, confusion matrix with seeded k-fold CV accuracy, Wilks' la...
When to consider it
Predict which class (2+) an observation belongs to from numeric predictors when classes are roughly Gaussian with similar spreads, or to find the linear combinations of predictors that best separate the classes.
How to choose and read an analysisLinear RegressionModeling
Fit a simple or multiple linear regression model with full diagnostics.
When to consider it
Predict a continuous outcome from one or more numeric or categorical predictors.
How to choose and read an analysisLOESS (Local Regression Smoothing)Modeling
Fit a LOESS/LOWESS smooth curve through a scatter with a tunable span, an overlaid smooth, residual diagnostics, and a local fit-quality summary: no global equation required.
When to consider it
Reveal the shape of the relationship between two numeric variables when you do not want to assume it is a straight line (or any fixed curve): for smoothing a scatterplot, checking linearity before a regression, or exploring a trend.
How to choose and read an analysisLogistic RegressionModeling
Fit a binary logistic regression with odds ratios, pseudo-R², classification accuracy, confusion matrix, and ROC-AUC.
When to consider it
Predict a yes/no (binary) outcome from one or more numeric or categorical predictors, and quantify each effect as an odds ratio.
How to choose and read an analysisLinear Mixed-Effects ModelModeling
Fit a linear mixed-effects model with a random intercept for grouped (nested / clustered / repeated-measures) data.
When to consider it
Predict a continuous outcome when observations are grouped (students within schools, measurements within subjects, samples within sites) and you must account for the within-group correlation a plain regression ignores.
How to choose and read an analysisNeural Network (MLP)Modeling
Classify or predict with a multilayer perceptron: 1-2 hidden layers of nonlinear units trained by the Adam optimizer, with honest cross-validated metrics, a training loss curve, and a full architec...
When to consider it
Predict a category or a number when the relationship between predictors and outcome may be smoothly non-linear and interactive, and simpler models (regression, trees) have hit their ceiling on cross-validated performance. Neural networks need more data than most methods: on small tabular datasets a regression or a tree ensemble usually matches or beats them, and both are far easier to interpret.
How to choose and read an analysisMultinomial Logistic RegressionModeling
Fit a multinomial (softmax) logistic regression for an outcome with 3-10 categories: per-equation relative risk ratios vs a reference level, LR test of overall fit, McFadden pseudo-R2, and an argma...
When to consider it
Predict a categorical outcome with three or more unordered levels (e.g. species, product choice, diagnosis category) from numeric and/or categorical predictors, quantifying each effect as a relative risk ratio versus a reference category. For exactly two levels use logistic regression; for ordered levels prefer ordinal regression.
How to choose and read an analysisNaive Bayes ClassifierModeling
Classify a categorical outcome with Naive Bayes: Gaussian for continuous predictors, categorical (Laplace-smoothed) for nominal predictors, or both combined, with priors, conditional tables, confus...
When to consider it
Predict a categorical outcome (2+ classes) from continuous and/or categorical predictors when you want a fast, robust baseline classifier that handles many predictors and small samples well: at the cost of assuming predictors are independent within each class.
How to choose and read an analysisNegative Binomial RegressionModeling
Fit a negative binomial (NB2) regression for overdispersed count outcomes: incidence-rate ratios, the estimated dispersion α, and a likelihood-ratio test of NB versus Poisson.
When to consider it
Model a count outcome (0, 1, 2, …) when a Poisson regression is overdispersed (the variance is larger than the mean) so Poisson standard errors would be too small and its p-values too optimistic.
How to choose and read an analysisOrdinal Logistic RegressionModeling
Fit a proportional-odds (cumulative-logit) ordinal regression for an ordered categorical outcome: proportional-odds odds ratios, cutpoints, pseudo-R², and predicted category-probability curves.
When to consider it
Model an ORDERED categorical outcome, three or more categories with a natural low-to-high ranking (Likert agreement, severity grade, size tier, letter grade), and quantify each predictor as the odds of moving up to a higher category.
How to choose and read an analysisPrincipal Components RegressionModeling
Regress a continuous outcome on the top principal components of the predictors (component count chosen by cross-validation), with a variance-explained scree, a CV curve, and back-transformed coeffi...
When to consider it
Predict a continuous outcome when the predictors are many and/or highly correlated: PCR compresses them into a few uncorrelated components first, stabilizing the fit against multicollinearity and p-near-n instability.
How to choose and read an analysisPartial Least Squares RegressionModeling
Regress a continuous outcome on supervised latent components that maximize predictor–outcome covariance, with VIP scores, X/Y variance captured per component, and a cross-validation curve.
When to consider it
Predict a continuous outcome from many correlated predictors when you want the components to be steered by the outcome: PLS beats PCR when the most predictive direction is not the highest-variance one.
How to choose and read an analysisPoisson RegressionModeling
Fit a Poisson regression for count outcomes with incidence-rate ratios, deviance, and an overdispersion check.
When to consider it
Model a count outcome (0, 1, 2, …; events per unit of exposure) and quantify each effect as an incidence-rate ratio.
How to choose and read an analysisPolynomial RegressionModeling
Fit a curved (polynomial) relationship between one predictor and a numeric outcome on a stable orthogonal-polynomial basis, with a per-degree ANOVA that tests how much each added degree improves th...
When to consider it
Use when a scatterplot of y against a single x shows a smooth bend or curve that a straight line misses, and you want to test how many polynomial degrees (quadratic, cubic, …) are actually justified.
How to choose and read an analysisQuadratic Discriminant AnalysisMultivariate
Classify a categorical outcome from continuous predictors using quadratic discriminant analysis (one covariance matrix per class): group means, confusion matrix with seeded k-fold CV accuracy, Wilk...
When to consider it
Predict class membership when the classes have clearly different spreads or orientations (unequal covariance matrices) and every class has enough rows to estimate its own covariance: QDA draws curved (quadratic) decision boundaries.
How to choose and read an analysisRandom ForestModeling
Classify or predict with a random forest: hundreds of decorrelated decision trees vote (or average), with honest cross-validated metrics, the out-of-bag score, and seeded permutation importance.
When to consider it
Predict a category or a number from a mix of numeric and categorical predictors when the relationship may be non-linear or involve interactions, and you want strong out-of-the-box accuracy with a built-in honesty check (the out-of-bag score). Use it when prediction matters more than an interpretable equation: for interpretable effects, fit a regression on the same columns.
How to choose and read an analysisRidge RegressionModeling
Fit an L2-penalized (ridge) regression that shrinks coefficients toward zero for stable estimates under multicollinearity.
When to consider it
Predict a continuous outcome when predictors are correlated or you have many predictors: ridge stabilizes the coefficients by shrinking them, trading a little bias for much lower variance.
How to choose and read an analysisSpline RegressionModeling
Fit a flexible spline curve (natural cubic or B-spline) of a numeric outcome on one continuous predictor, with a fitted-curve confidence band, knot markers, and per-region behavior.
When to consider it
Model a curved, non-linear relationship between a numeric outcome and a single continuous predictor when a straight line (or even a polynomial) is too rigid, and you want the wiggle to stay local.
How to choose and read an analysisSupport Vector Machine (SVM)Modeling
Classify or predict with a support vector machine: maximum-margin boundaries with RBF/linear/polynomial kernels, honest cross-validated metrics, support-vector diagnostics, and a decision-boundary...
When to consider it
Predict a category (or, less commonly, a number) when the boundary between classes may be non-linear and you care about strong accuracy from a moderate number of rows. The SVM finds the widest possible margin between classes, supported by only the borderline points. Prefer logistic/linear regression when you need interpretable coefficients, p-values, or probabilities.
How to choose and read an analysisWeibull Reliability (Life-Data) FitReliability
Fits a 2-parameter Weibull distribution to failure / life times by maximum likelihood, reporting the shape (β) and scale (η) parameters, MTTF, the reliability function R(t), B10 life, and a hazard-...
When to consider it
You have a set of failure or life times (how long units lasted before failing) and want to model their distribution, estimate reliability R(t), the mean time to failure, and warranty / B-life quantiles, and diagnose whether failures are early-life, random, or wear-out.
How to choose and read an analysisCensored Weibull Reliability (Life-Data) FitReliability
Fits a 2-parameter Weibull distribution to right-censored life data by maximum likelihood (failures contribute the density, suspensions the survival function).
When to consider it
Your life test ended with some units still running, or field data includes survivors: every unit has a time plus a status flag (1/True = failed at that time, 0/False = censored/suspended at that time). Use this instead of the uncensored Weibull fit whenever ANY unit did not fail: dropping or mis-coding survivors biases β and η, the classic reliability mistake.
How to choose and read an analysisGage R&R (Measurement Systems Analysis)Quality / Six Sigma
Crossed (ANOVA-method) Gage R&R study: partitions the observed variation into part-to-part variation, repeatability (equipment) and reproducibility (operators), and reports %GRR, %study variation a...
When to consider it
Before trusting capability indices or a control chart, you want to confirm your measurement system is good enough: each operator measures each part several times and you ask how much of the total variation is real part-to-part difference versus gauge/operator noise.
How to choose and read an analysisAnimated Time SeriesGraph
A line chart that draws itself through time, stops at notes you place, and saves as a GIF for a slide: sales over the years, with a pause at each event.
When to consider it
You present a series over time to an audience and want it to unfold: the line draws from the first date to the last and pauses where you explain what happened.
How to choose and read an analysisBar ChartGraph
Bar chart of frequencies for a categorical variable.
When to consider it
You want to compare counts (or percentages) across the levels of a categorical variable.
How to choose and read an analysisBoxplotGraph
Boxplot of one numeric variable, optionally split by a grouping variable.
When to consider it
You want a compact view of the median, IQR, and outliers: overall or by group.
How to choose and read an analysisDensity PlotGraph
Density plot: a smooth kernel density curve of a numeric column (a smoothed histogram), optionally one curve per group, with a rug of the values.
When to consider it
You want to see the shape of a numeric column (where values pile up, whether there is one peak or two, skew) without choosing histogram bins, or to compare the shapes of a few groups on one chart.
How to choose and read an analysisDot PlotGraph
Dot plot: every value of a numeric column as a dot per category (a strip plot), or one dot per category at its mean, median, sum or count (a Cleveland dot plot).
When to consider it
You want to see every individual value by group (small samples, where a box plot hides too much), or to compare one number per category more precisely than with bars, especially with many categories or values far from zero.
How to choose and read an analysisHistogramGraph
Distribution of one continuous variable as a histogram.
When to consider it
You want to see the shape, center, and spread of one numeric variable.
How to choose and read an analysisLine ChartGraph
Line chart or time-series plot: one or more numeric columns against a date, a number or an ordered category, or one column split into lines by a group.
When to consider it
You want to see how a measurement changes over time or along an ordered X: a trend, a run chart, a time plot, or several series compared on one chart.
How to choose and read an analysisPareto ChartGraph
Pareto chart: categories as bars from largest to smallest (counts, or the sum of a value column) with the cumulative percentage line, to find the vital few.
When to consider it
You want to rank causes, defect types, complaint reasons or cost categories and see which few account for most of the total (the 80/20 rule).
How to choose and read an analysisPie ChartGraph
Pie chart: each category's share of the whole (counts, or the sum of a value column) as a slice, labeled with its percentage and count.
When to consider it
You want to show how one whole splits into a few parts (two to about six), such as the share of customers by plan or of budget by department.
How to choose and read an analysisQ-Q PlotGraph
Q-Q (quantile-quantile) or probability plot: the sorted values against the quantiles of a normal (or exponential, or uniform) distribution, with a reference line and an optional 95% band, for one c...
When to consider it
You want to see whether a column's values look normally distributed (or exponential, or uniform), and where they depart: in the middle, in one tail, or in both.
How to choose and read an analysisScatter PlotGraph
Scatter plot of two continuous variables with an optional trend line and an optional column that colors the points by group.
When to consider it
You want to visualize the relationship between two numeric variables.
How to choose and read an analysisScatterplot MatrixGraph
Scatterplot matrix: every pair of several numeric columns as small scatterplots, each column's distribution on the diagonal and the correlations above it, optionally colored by group.
When to consider it
You have several numeric columns (2 to 8) and want to see all their pairwise relationships at once before modeling: which pairs move together, which are curved, where the outliers and clusters are.
How to choose and read an analysisProcess Capability (Cp / Cpk / Pp / Ppk)Quality / Six Sigma
Compares the spread of a process to its specification window and reports the capability indices Cp, Cpk (short-term / within) and Pp, Ppk (long-term / overall), with expected defect rates (PPM).
When to consider it
Your process is in statistical control (stable on a control chart) and you want to know whether it can reliably meet a customer specification (lower and/or upper spec limit).
How to choose and read an analysisCronbach's Alpha (Scale Reliability)Multivariate
Assess the internal-consistency reliability of a multi-item scale with Cronbach's alpha, a Feldt confidence interval, item-total correlations, and the alpha-if-item-deleted table.
When to consider it
You have several questionnaire items (e.g. Likert questions) that are meant to measure one underlying construct, and you want to know whether they hang together well enough to be summed into a single scale score.
How to choose and read an analysisSQL QueryData
Run a SQL SELECT/WITH/VALUES query against your loaded tables (DuckDB, or the stdlib sqlite3 module as an offline fallback) and save the result as a new table.
When to consider it
Join, filter, aggregate, or reshape two or more loaded tables with SQL instead of point-and-click steps, especially multi-table joins, grouped aggregation, or window functions a spreadsheet-style tool makes tedious. Every loaded table is queryable by name; the query result becomes its own new table you can analyze further.
How to choose and read an analysisStepwise Model SelectionModeling
Forward, backward, or bidirectional stepwise selection of predictors for an OLS model by AIC or BIC, with the full selection path and a post-selection-inference warning.
When to consider it
You have many candidate predictors for a numeric outcome and want an automated search to suggest a smaller subset by an information criterion (AIC/BIC), as a starting point for a model you will then validate, NOT as a hypothesis test of which predictors 'matter'.
How to choose and read an analysisDOE Power Simulation (Monte Carlo)Quality
Answers 'can this design detect an effect of size X?' by literally simulating the experiment thousands of times: refits the model on each simulated dataset and reports the fraction of replicates th...
When to consider it
You have a design (generated or imported) and want to know whether it can realistically detect an effect of a given size, verified by simulation rather than trusting a formula alone.
How to choose and read an analysisKaplan-Meier Survival CurveSurvival Analysis
Estimates the survival function S(t) from time-to-event data with right-censoring using the Kaplan-Meier product-limit estimator, with Greenwood confidence bands, median survival, a number-at-risk...
When to consider it
You have time-to-event ('survival') data, where each subject has a follow-up time and a flag for whether the event happened (1) or they were censored (0), and you want to estimate and compare survival over time.
How to choose and read an analysisANCOVA (Analysis of Covariance)Hypothesis Testing
Compares group means on a continuous response after statistically adjusting for one or more continuous covariates, reporting adjusted (least-squares) means and the homogeneity-of-slopes assumption.
When to consider it
You want to compare a continuous outcome across groups while removing the influence of a continuous nuisance variable (a covariate): e.g. comparing post-test scores across teaching methods after adjusting for pre-test scores.
How to choose and read an analysisChi-Square Goodness-of-Fit TestHypothesis Testing
Tests whether the observed frequencies of one categorical variable match an expected distribution: equal shares by default, or the proportions or ratios you enter (for example 9:3:3:1).
When to consider it
You have one categorical variable and want to know whether its category frequencies match an expected (e.g. uniform) distribution.
How to choose and read an analysisChi-Square Test of IndependenceHypothesis Testing
Tests whether two categorical variables are associated by comparing the observed cell counts of a contingency table with the counts expected if the variables were independent.
When to consider it
You have two categorical (nominal/ordinal) variables and want to know whether they are associated.
How to choose and read an analysisEqual Variances TestHypothesis Testing
Test whether a continuous variable has the same variance (spread) across two or more independent groups, using Levene's, the Brown-Forsythe, or Bartlett's test.
When to consider it
You want to check homogeneity of variance, either as an assumption for a pooled t-test / classic ANOVA, or as a question in its own right (do these groups differ in spread / consistency / precision?).
How to choose and read an analysisFriedman TestHypothesis Testing
Compares three or more related (repeated-measures) conditions using within-subject ranks: the nonparametric alternative to the repeated-measures ANOVA.
When to consider it
You measured the same subjects/blocks under three or more conditions (e.g. three time points or three treatments) and the data are not normal, are ordinal, or contain outliers.
How to choose and read an analysisKruskal-Wallis TestHypothesis Testing
Compares the distributions of one continuous (or ordinal) variable across three or more independent groups using ranks: the nonparametric alternative to one-way ANOVA.
When to consider it
You're comparing 3+ independent groups but the data are not normal, are ordinal, or contain outliers.
How to choose and read an analysisMann-Whitney U TestHypothesis Testing
Compares the distributions of one continuous (or ordinal) variable across two independent groups using ranks: the nonparametric alternative to the two-sample t-test.
When to consider it
You want to compare two independent groups but the data are not normal, are ordinal, or contain outliers.
How to choose and read an analysisMANOVA (Multivariate ANOVA)Hypothesis Testing
Tests whether the means of two or more continuous response variables, taken together as a vector, differ across the levels of one categorical factor.
When to consider it
You have several correlated continuous outcomes and one categorical grouping factor, and you want a single omnibus test of whether the groups differ on the outcomes jointly (controlling the family-wise error you would incur running many separate ANOVAs).
How to choose and read an analysisMcNemar's TestHypothesis Testing
Tests whether a paired binary outcome changed between two conditions (e.g.
When to consider it
You have a yes/no outcome measured twice on the same subjects (before vs after, test A vs test B) and want to know whether the proportion of 'yes' changed.
How to choose and read an analysisNormality Test (Battery)Hypothesis Testing
Runs a battery of normality tests (Shapiro-Wilk, Anderson-Darling, Kolmogorov-Smirnov/Lilliefors, Jarque-Bera, D'Agostino-Pearson) on one numeric variable, with skewness, excess kurtosis, a Q-Q plo...
When to consider it
Before a t-test, ANOVA, or regression, to check whether a variable (or a residual array) is approximately normally distributed.
How to choose and read an analysisOne-Sample t-TestHypothesis Testing
Compares the mean of one continuous variable to a hypothesized population mean (μ₀).
When to consider it
You want to compare a sample mean to a known/target value.
How to choose and read an analysisOne-Sample z-TestHypothesis Testing
Compares the mean of one continuous variable with a hypothesized mean μ₀ when the population standard deviation σ is known from outside the data.
When to consider it
You want to compare a sample mean with a target value and the population standard deviation σ is known in advance (a published value, a long-run process value). If σ has to be estimated from the same sample, use the One-Sample t-Test.
How to choose and read an analysisOne-Way ANOVAHypothesis Testing
Compares the means of one continuous variable across three or more independent groups using one-way analysis of variance.
When to consider it
You're comparing means of one continuous variable across 3 or more groups.
How to choose and read an analysisPaired t-TestHypothesis Testing
Compares the means of two related observations (matched pairs, before/after, repeated measures) on the same units.
When to consider it
Each row is one unit measured under two conditions or at two time points.
How to choose and read an analysisRepeated-Measures ANOVAHypothesis Testing
One-way repeated-measures (within-subjects) ANOVA: tests whether a continuous response differs across conditions measured on the SAME subjects, with a sphericity (Mauchly) check and Greenhouse–Geis...
When to consider it
Every subject (person, unit) is measured under EVERY condition, a within-subjects / repeated-measures design (e.g. the same patients measured before, during, and after treatment), and you want to test whether the mean response differs across those conditions.
How to choose and read an analysisSign TestHypothesis Testing
Tests whether the median of one column (or of paired differences) equals a hypothesized value by counting values above and below it: the exact binomial sign test, with the median and its exact conf...
When to consider it
You want to test a median against a value, or whether paired measurements tend to go up or down, assuming as little as possible: no normal shape and no symmetry. Each value only has to be above or below the hypothesized median.
How to choose and read an analysisProportion Test (z-test)Hypothesis Testing
Tests proportions with a z-test.
When to consider it
You have a yes/no (binary) outcome and want to compare its success rate between two groups, or against a target proportion.
How to choose and read an analysisTwo-Sample t-TestHypothesis Testing
Compares the means of one continuous variable across two groups using Welch's t-test (unequal variances).
When to consider it
You have one measurement variable and one grouping variable with exactly 2 levels.
How to choose and read an analysisTwo Variances F-TestHypothesis Testing
Compares the variances of a continuous variable in two independent groups with the F-test (the ratio of the two sample variances), with a confidence interval for the ratio of the population variances.
When to consider it
You want to compare the spread of one measurement in two groups (precision of two machines, consistency of two methods) and the data in each group are close to normal. For data that may not be normal, use the Equal Variances Test (Brown-Forsythe or Levene), which is robust.
How to choose and read an analysisTwo-Way (Factorial) ANOVAHypothesis Testing
Tests the effect of two categorical factors (and their interaction) on one continuous response using a factorial analysis of variance.
When to consider it
You have one continuous response and TWO categorical factors and want to test each main effect plus whether the factors interact.
How to choose and read an analysisWilcoxon Signed-Rank TestHypothesis Testing
Compares two paired (repeated) measurements, or one sample against a hypothesized median, using the ranks of the differences: the nonparametric alternative to the paired t-test.
When to consider it
You have paired/repeated measurements (e.g. before vs after) and the differences are not normal or are ordinal.
How to choose and read an analysisTolerance Stack-Up (Worst-Case + RSS)Quality / Six Sigma
Stacks the tolerances of an assembly chain two ways: worst-case (Σ|t|) and statistical RSS (√Σt²), with per-part contribution shares and an optional verdict against assembly spec limits.
When to consider it
You are designing or auditing an assembly (a gap, a stack of plates, a linear dimension chain) and need to know whether the part tolerances guarantee the assembly requirement, and which part tolerance to tighten first if not.
How to choose and read an analysisAutocorrelation (ACF and PACF)Time Series
Plots the autocorrelation function (ACF) and partial autocorrelation function (PACF) of a series, with the 95% white-noise bounds, to see how each value relates to the values before it.
When to consider it
You want to see whether a series is autocorrelated, how far back the dependence reaches, or which ARIMA order (p, q) to try (ACF, PACF, correlogram, autocorrelation plot).
How to choose and read an analysisARIMA ForecastTime Series
Fits a Box-Jenkins ARIMA(p, d, q) model to a time-ordered series and produces a multi-step forecast with 95% confidence intervals, AIC/BIC model-fit statistics, and a Ljung-Box white-noise check on...
When to consider it
You have a single variable observed in time order (equally spaced) and want to model its autocorrelation structure and forecast future values.
How to choose and read an analysisExponential SmoothingTime Series
Fits a Holt-Winters exponential-smoothing model (level, optional trend, optional seasonality) to a time-ordered series, reporting SSE and AIC and a multi-step forecast.
When to consider it
You want a robust, interpretable forecast that weights recent observations more heavily, optionally capturing a trend and a repeating seasonal pattern.
How to choose and read an analysisForecast Backtest (Rolling-Origin)Time Series
Rolling-origin (walk-forward) backtest: fits the chosen model on a training window, forecasts h steps ahead, rolls the window forward, and reports out-of-sample MAE/RMSE/MAPE/MASE per horizon again...
When to consider it
You have a forecasting model (or are choosing between one) and want an honest, out-of-sample answer to 'how good are these forecasts really,' instead of trusting in-sample fit statistics like AIC or SSE.
How to choose and read an analysisSTL DecompositionTime Series
Decomposes a time-ordered series into trend, seasonal, and remainder components using Seasonal-Trend decomposition with LOESS (STL), and reports the seasonal strength.
When to consider it
You want to separate a series into its long-run trend, a repeating seasonal pattern, and the leftover noise: to understand structure or to seasonally adjust the data.
How to choose and read an analysisCross-Validated Model ComparisonModeling
Compare candidate model families (OLS/Ridge/Lasso/KNN for regression, Logistic/Ridge/KNN for classification) by k-fold or leave-one-out cross-validation, with a one-standard-error-rule pick.
When to consider it
You have one outcome and a predictor set and want to choose a model by honest out-of-sample error instead of in-sample fit: the ISLR cross-validation workflow. Compares several model families head-to-head and applies the one-standard-error rule.
How to choose and read an analysisNo matching methods
Try a broader term or choose all categories.
