Analyze · Describe

Distribution Fitting

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...

In the menus Analyze › Describe › Distribution Fitting

Also searched as distribution fit fit a distribution individual distribution identification goodness of fit distribution which distribution best fitting distribution anderson darling distribution probability distribution fit

When to use 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.

When not to: Fewer than about 20 observations (MLE parameter estimates and goodness-of-fit statistics are both unstable and low-power at small n; the card warns explicitly below this threshold), when the true shape of the data is expected to be something outside the five-candidate panel offered here, or when you intend to treat the AIC-declared winner as proof the data truly follow that distribution rather than the best-supported description among the options tried.

Step by step

  1. Open it from the menu

    Click Analyze in the menu bar; under Describe choose Distribution Fitting.

  2. Fill in the form

    Choose the columns: Column to fit. The form lists only columns whose type fits each field.

  3. Check the options

    The options start at their defaults: Candidate distributions. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the Distribution Fitting form
Column to fit Variable requiredOne numeric column. The continuous variable to fit distributions to
Candidate distributionsWhich distributions to fit. 'all' fits every applicable candidate (positive-support families are skipped when the data contain non-positive values). Default: all.

How to read the card

The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.

What it assumes

Independence of observations

If it does not hold: If the observations are not independent draws from one common distribution (time-ordered data with a trend, or values from more than one underlying population mixed together), the fitted distribution describes a blend that may not represent any real single process well.

How to check: Not checked by KernelStats: assumed from the study design; reported directly on the card as a standing 'Independent, identically distributed observations' reminder.

A worked example

Fitting all five candidate distributions to 85 time-to-failure measurements (strictly positive) from a reliability study.

Result: Weibull wins by AIC (AIC = 612.3 vs. lognormal's 615.1 and gamma's 616.8) and is not rejected by Anderson-Darling at 5%; the normal distribution is excluded from ranking consideration in practice by its poor tail fit (AIC = 641.2, rejected by Anderson-Darling at 5%).

Weibull is the best-supported description among the candidates tried, consistent with the engineering expectation for time-to-failure data, and its close AIC margin over lognormal means both should be checked against the Q-Q plot before committing to Weibull-based reliability calculations downstream.

From the Statistics Library.

The code tabs

Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • Which distribution best fits these measurements: is it normal, or is a lognormal or Weibull a better description of the data?
  • Explain the distribution fitting in plain words.
  • What does Weibull distribution mean?

Last reviewed November 16, 2026.

Report an unclear step