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.
引用格式
Duncan Carlsmith (2024). Normality Test Explorer (https://www.mathworks.com/matlabcentral/fileexchange/168201-normality-test-explorer), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!NormalityTestExplorer folder
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |