Normality Test Explorer

Live Script exploring tests of an empirical distribution for normality.
12 Downloads
Updated 16 Jun 2024

View License

This Live Script explores methods to test if an empirical distribution such as a residuals distribution is consistent with normality. The script fits a simulated two-component Gaussian empirical distribution to various model Gaussian mixtures and examines use of the Akaike Information Criterion (AIC) and the Bayes Information Criterion (BIC) to select the best model. It also performs an Anderson-Darling test and a Kolmogorov-Smirnov test for normality.
This script may interest students and educators in physics and other STEM fields. Sliders are provided to adjust the empirical distribution parameters and examine the sensitivity of the tests in characterizing normality. 'Try this' suggestions are included for further exploration.

Cite As

Duncan Carlsmith (2024). Normality Test Explorer (https://www.mathworks.com/matlabcentral/fileexchange/168201-normality-test-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

NormalityTestExplorer folder

Version Published Release Notes
1.0.0