welchanovawd
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).
This m-file works without all the data samples. But only with the size, mean and variance samples.
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
Citation pour cette source
Antonio Trujillo-Ortiz (2025). welchanovawd (https://www.mathworks.com/matlabcentral/fileexchange/37123-welchanovawd), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.3.0.0 | We improve the code. Thanks to Dr. Jürgen Kayser, Department of Psychiatry, Columbia University Research Scientist, Cognitive Neuroscience, New York State, who suggest us to remove a bug. |
||
1.1.0.0 | It was added an appropriate format to cite this file. |
||
1.0.0.0 |