260 likes | 273 Views
ICC_MAN. T2_MAN , n=92. BPF_MAN. GDC. X=[BPF_MAN, T2LV_MAN]. Y = pdist(X); ('euclidean' default). Z = linkage(Y); ('single' default). Z = linkage(Y,'complete');. Z = linkage(Y,'average');. Z = linkage(Y,'weighted');. Z = linkage(Y,'centroid');. Z = linkage(Y,'ward');.
E N D
X=[BPF_MAN, T2LV_MAN] Y = pdist(X); ('euclidean' default) Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward'); r = corr(Y',D','type','spearman') r = 0.9100 gscatter(T2LV_MAN,BPF_MAN, T,'','xos');
Y = pdist(X,'seuclidean'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward'); [c,D] = cophenet(Z,Y); r = corr(Y',D','type','spearman'); r = 0.7366
Y = pdist(X,'seuclidean'); Z = linkage(Y,'ward') [c,D] = cophenet(Z,Y); c = 0.6618 r = 0.7366 r = corr(Y',D','type','spearman');
Y = pdist(X,'seuclidean'); Z = linkage(Y,'ward')
Y = pdist(X,'seuclidean'); Z = linkage(Y,'ward')
Y = pdist(X,'mahalanobis'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Z = linkage(Y,'complete'); Y = pdist(X,'mahalanobis'); r = corr(Y',D','type','spearman') 0.6998 c = cophenet(Z,Y) 0.7460
Z = linkage(Y,'complete'); Y = pdist(X,'mahalanobis');
Y = pdist(X,'mahalanobis'); Z = linkage(Y,'average');
Y = pdist(X,'mahalanobis'); Z = linkage(Y,'weighted');
Y = pdist(X,'mahalanobis'); Z = linkage(Y,'weighted');
Z = linkage(Y,'ward') Y = pdist(X,'mahalanobis');
Z = linkage(Y,'ward') Y = pdist(X,'mahalanobis');
Y = pdist(X,'cityblock'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Y = pdist(X,'minkowski'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Y = pdist(X,'cosine'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Y = pdist(X,'correlation'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Y = pdist(X,'spearman'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');
Y = pdist(X,'hamming'); Y = pdist(X,'jaccard'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted');
Y = pdist(X,'chebychev'); Z = linkage(Y); ('single' default) Z = linkage(Y,'complete'); Z = linkage(Y,'average'); Z = linkage(Y,'weighted'); Z = linkage(Y,'centroid'); Z = linkage(Y,'ward');