How to fit distributions
- Copy the measurement column to examine together with its header.
- Click the column header (A) in the data table and paste - the first line becomes the column name. You can also open a CSV or Excel file.
- Select the columns to fit (each column gets its own result).
- Press Analyze and check the best distribution, the AIC ranking (top 5) and the parameter values.
Candidates and fitting method
Normal, lognormal, Weibull, exponential, gamma, logistic, smallest extreme value and largest extreme value are fitted by maximum likelihood (MLE). Lognormal, Weibull and gamma are 3-parameter forms with a location (threshold) parameter (exponential has 2), computed the same way as SciPy, which the Qstat desktop program uses.
Choosing by AIC
AIC = 2×(number of parameters) - 2×(log-likelihood); it is smaller for distributions that describe the data well with fewer parameters. The distribution with the lowest AIC is chosen; fewer than 8 valid values are not fitted.
How to read the distribution fit
- Distributions whose AIC differs by less than about 2 fit practically equally well - check the top-5 ranking.
- Also check visually that the curve follows the peak and tails of the histogram.
- Use the result to choose the distribution for nonnormal capability or reliability (life data) analysis.
Frequently asked questions
What is the order of the parameters?
The same as SciPy: (shape, location, scale) for distributions with a shape parameter, otherwise (location, scale).
How many values do I need?
At least 8; 30 or more are recommended to judge the distribution.
Is there a goodness-of-fit p-value?
This feature compares candidates by AIC. Check normality with a p-value on the normality test page.
Is my data sent to a server?
No. All calculations run inside your browser and nothing is transmitted or stored.
Other chart tools
Need process capability, control charts or DOE?
The Qstat desktop program offers about 250 analysis features: histograms and box plots plus process capability (Cp, Cpk), control charts, measurement system analysis (MSA), design of experiments (DOE), regression and machine learning.
Try Qstat free for 30 days