Shapiro-Wilk and Shapiro-Francia normality tests.

Shapiro-Wilk & Shapiro-Francia parametric hypothesis test of composite normality.
25K Downloads
Updated 18 Jun 2014

View License

Shapiro-Wilk parametric hypothesis test of composite normality, for sample size 3<= n <= 5000. Based on Royston R94 algorithm.
This test also performs the Shapiro-Francia normality test for platykurtic samples.

Cite As

Ahmed BenSaïda (2024). Shapiro-Wilk and Shapiro-Francia normality tests. (https://www.mathworks.com/matlabcentral/fileexchange/13964-shapiro-wilk-and-shapiro-francia-normality-tests), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
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!
Version Published Release Notes
1.1.0.0

- Improved precision for sample size = 3;
- Added detailed references;
- Removed the TAIL option (not needed);
- Minor bug fixes.

1.0.0.0

Change the value in line 136 to 0.26758 instead of 0.026758 (Shapiro-Francia) to correct the significance level. Thanks to Kent Parsons for his remarks.