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

Means with letters after a multiple comparison test.
156 download
Aggiornato 10 giu 2015

Visualizza la licenza

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
Creato con R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
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!
Versione Pubblicato Note della release
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