welchanova
The ANOVA F-test to compare the means of k normally distributed populations is not applicable when the variances are unknown, and not known to be equal. A spacial case, k=2, is the famous Behrens-Fisher problem (Behrens, 1929; Fisher, 1935). Welch (1951) test was proposed to fill this void, a generalization to his 1947 previous paper (Welch, 1947).
Syntax: function welchanova(x,alpha)
Inputs:
x – data nx2 matrix (Col 1 = data; Col 2 = sample code)
alpha - significance level (default=0.05)
Outputs:
- Summary statistics from the samples
- Decision on the null-hypothesis tested
Cite As
Antonio Trujillo-Ortiz (2026). welchanova (https://www.mathworks.com/matlabcentral/fileexchange/37121-welchanova), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
