my_ph_letters( cmat ) updated version >>> 1.20 <<<
Create letters to separate means after a multiple comparison test.
Usage:
o = my_ph_letters( cmat )
CMAT arises from MULTCOMPARE in Statistic Toolbox
Example:
For 3 treatments and 4 replications.
ANOVA, post-hoc with MULTCOMPARE using HSD Tukey
at 5% significance level, and grouping.
x = meshgrid(1:3,1:4);
rng default; % For reproducibility
x = x + normrnd(0,1,4,3)
[p,t,s] = anova1(x);
[c,m,h,gnames] = multcompare(s,'alpha',0.05,'ctype','hsd');
grp = my_ph_letters(c)
x =
1.7254 1.8759 3.6715
0.9369 3.4897 1.7925
1.7147 3.4090 3.7172
0.7950 3.4172 4.6302
grp =
'a' 'ab' 'b'
Cita come
Giuseppe Altieri (2025). my_ph_letters( cmat ) updated version >>> 1.20 <<< (https://it.mathworks.com/matlabcentral/fileexchange/49696-my_ph_letters-cmat-updated-version-1-20), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato: my_ph_letters_v2 Updated version 2.00b
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
