my_ph_letters( cmat ) updated version >>> 1.20 <<<

Means with letters after a multiple comparison test.
156 Descargas
Actualizado 10 jun 2015

Ver licencia

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'

Citar como

Giuseppe Altieri (2025). my_ph_letters( cmat ) updated version >>> 1.20 <<< (https://la.mathworks.com/matlabcentral/fileexchange/49696-my_ph_letters-cmat-updated-version-1-20), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre ANOVA en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: 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!
Versión Publicado Notas de la versión
1.20.0.0

update to version 1.20: new algorithm used.

1.3.0.0

Updated version 1.10

1.2.0.0

Updated version to 1.01

1.1.0.0

Description Added

1.0.0.0