Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 12 Nov 2007 11:49:01 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/12/t1194893056mh1df7f1thltf0n.htm/, Retrieved Thu, 31 Oct 2024 23:06:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5306, Retrieved Thu, 31 Oct 2024 23:06:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact221
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Hirarchiel CLuste...] [2007-11-12 18:49:01] [2cdb7403ed3391afb545b8c0d20da37e] [Current]
Feedback Forum

Post a new message
Dataseries X:
513	140	373	96	87
503	132	371	86	75
471	117	354	82	74
471	114	357	92	91
476	113	363	99	101
475	110	364	101	103
470	107	363	102	106
461	103	358	100	102
455	98	357	101	105
456	98	357	100	105
517	137	380	99	100
525	148	378	97	95
523	147	376	97	96
519	139	380	97	98
509	130	379	96	99
512	128	384	92	92
519	127	392	91	84
517	123	394	87	81
510	118	392	82	72
509	114	396	89	89
501	108	392	91	96
507	111	396	90	91
569	151	419	87	88
580	159	421	89	90
578	158	420	95	98
565	148	418	85	87
547	138	410	94	100
555	137	418	94	100
562	136	426	97	104
561	133	428	99	107
555	126	430	97	105
544	120	424	96	102
537	114	423	94	98
543	116	427	100	106
594	153	441	96	97
611	162	449	98	101
613	161	452	98	100
611	149	462	94	93
594	139	455	93	94
595	135	461	94	96
591	130	461	94	96
589	127	463	97	98
584	122	462	98	102
573	117	456	95	95
567	112	455	89	85
569	113	456	89	84
621	149	472	89	82
629	157	472	90	87
628	157	471	86	77
612	147	465	92	90
595	137	459	91	90
597	132	465	95	94
593	125	468	99	97
590	123	467	98	96
580	117	463	95	93
574	114	460	96	93
573	111	462	94	93
573	112	461	98	97
620	144	476	98	100
626	150	476	98	95
620	149	471	98	97
588	134	453	102	103
566	123	443	101	102
557	116	442	92	93
561	117	444	99	99
549	111	438	101	100
532	105	427	99	97
526	102	424	102	104
511	95	416	102	102
499	93	406	101	103
555	124	431	99	100
565	130	434	98	90
542	124	418	98	90




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5306&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5306&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5306&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Summary of Dendrogram
LabelHeight
11.41421356237310
22.64575131106459
33.16227766016838
43.87298334620742
54
64
74.24264068711928
84.24264068711928
94.35889894354067
105.19615242270663
115.19615242270663
125.47722557505166
135.56776436283002
145.8309518948453
155.8309518948453
165.8724340432523
176.40312423743285
187
197.61577310586391
207.68114574786861
218.61122265911506
228.66025403784439
239.42154888833184
249.88292306781069
2510.1488915650922
2610.295630140987
2710.3494275236446
2810.5830052442584
2910.8627804912002
3011.0515301395582
3111.3578166916005
3212.0279001026652
3312.6192933630101
3412.6518263899012
3512.7625389739915
3613.0424280326607
3713.4707058063528
3815.3297097167559
3915.8113883008419
4018.8644753121623
4119.7321248384581
4219.8246503594377
4319.8915815812668
4420.174241001832
4520.1809286934169
4620.9537541585552
4722.0603365701190
4822.0916432976117
4928.5337689208148
5028.6759766097551
5132.3193799566315
5232.8480222080584
5333.3067897430511
5435.5308547470101
5536.7747541156037
5637.6091092831874
5739.1162439895726
5844.5263098492898
5947.4401700381808
6051.460540234431
6158.3337358943355
6266.8102652532115
6388.5843995867668
6489.2101999086836
65105.134855208510
66142.036318733724
67146.184009438260
68179.929438584653
69365.028234878113
70409.612510341345
71742.479994085638
722163.44594870274

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 1.41421356237310 \tabularnewline
2 & 2.64575131106459 \tabularnewline
3 & 3.16227766016838 \tabularnewline
4 & 3.87298334620742 \tabularnewline
5 & 4 \tabularnewline
6 & 4 \tabularnewline
7 & 4.24264068711928 \tabularnewline
8 & 4.24264068711928 \tabularnewline
9 & 4.35889894354067 \tabularnewline
10 & 5.19615242270663 \tabularnewline
11 & 5.19615242270663 \tabularnewline
12 & 5.47722557505166 \tabularnewline
13 & 5.56776436283002 \tabularnewline
14 & 5.8309518948453 \tabularnewline
15 & 5.8309518948453 \tabularnewline
16 & 5.8724340432523 \tabularnewline
17 & 6.40312423743285 \tabularnewline
18 & 7 \tabularnewline
19 & 7.61577310586391 \tabularnewline
20 & 7.68114574786861 \tabularnewline
21 & 8.61122265911506 \tabularnewline
22 & 8.66025403784439 \tabularnewline
23 & 9.42154888833184 \tabularnewline
24 & 9.88292306781069 \tabularnewline
25 & 10.1488915650922 \tabularnewline
26 & 10.295630140987 \tabularnewline
27 & 10.3494275236446 \tabularnewline
28 & 10.5830052442584 \tabularnewline
29 & 10.8627804912002 \tabularnewline
30 & 11.0515301395582 \tabularnewline
31 & 11.3578166916005 \tabularnewline
32 & 12.0279001026652 \tabularnewline
33 & 12.6192933630101 \tabularnewline
34 & 12.6518263899012 \tabularnewline
35 & 12.7625389739915 \tabularnewline
36 & 13.0424280326607 \tabularnewline
37 & 13.4707058063528 \tabularnewline
38 & 15.3297097167559 \tabularnewline
39 & 15.8113883008419 \tabularnewline
40 & 18.8644753121623 \tabularnewline
41 & 19.7321248384581 \tabularnewline
42 & 19.8246503594377 \tabularnewline
43 & 19.8915815812668 \tabularnewline
44 & 20.174241001832 \tabularnewline
45 & 20.1809286934169 \tabularnewline
46 & 20.9537541585552 \tabularnewline
47 & 22.0603365701190 \tabularnewline
48 & 22.0916432976117 \tabularnewline
49 & 28.5337689208148 \tabularnewline
50 & 28.6759766097551 \tabularnewline
51 & 32.3193799566315 \tabularnewline
52 & 32.8480222080584 \tabularnewline
53 & 33.3067897430511 \tabularnewline
54 & 35.5308547470101 \tabularnewline
55 & 36.7747541156037 \tabularnewline
56 & 37.6091092831874 \tabularnewline
57 & 39.1162439895726 \tabularnewline
58 & 44.5263098492898 \tabularnewline
59 & 47.4401700381808 \tabularnewline
60 & 51.460540234431 \tabularnewline
61 & 58.3337358943355 \tabularnewline
62 & 66.8102652532115 \tabularnewline
63 & 88.5843995867668 \tabularnewline
64 & 89.2101999086836 \tabularnewline
65 & 105.134855208510 \tabularnewline
66 & 142.036318733724 \tabularnewline
67 & 146.184009438260 \tabularnewline
68 & 179.929438584653 \tabularnewline
69 & 365.028234878113 \tabularnewline
70 & 409.612510341345 \tabularnewline
71 & 742.479994085638 \tabularnewline
72 & 2163.44594870274 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5306&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]1.41421356237310[/C][/ROW]
[ROW][C]2[/C][C]2.64575131106459[/C][/ROW]
[ROW][C]3[/C][C]3.16227766016838[/C][/ROW]
[ROW][C]4[/C][C]3.87298334620742[/C][/ROW]
[ROW][C]5[/C][C]4[/C][/ROW]
[ROW][C]6[/C][C]4[/C][/ROW]
[ROW][C]7[/C][C]4.24264068711928[/C][/ROW]
[ROW][C]8[/C][C]4.24264068711928[/C][/ROW]
[ROW][C]9[/C][C]4.35889894354067[/C][/ROW]
[ROW][C]10[/C][C]5.19615242270663[/C][/ROW]
[ROW][C]11[/C][C]5.19615242270663[/C][/ROW]
[ROW][C]12[/C][C]5.47722557505166[/C][/ROW]
[ROW][C]13[/C][C]5.56776436283002[/C][/ROW]
[ROW][C]14[/C][C]5.8309518948453[/C][/ROW]
[ROW][C]15[/C][C]5.8309518948453[/C][/ROW]
[ROW][C]16[/C][C]5.8724340432523[/C][/ROW]
[ROW][C]17[/C][C]6.40312423743285[/C][/ROW]
[ROW][C]18[/C][C]7[/C][/ROW]
[ROW][C]19[/C][C]7.61577310586391[/C][/ROW]
[ROW][C]20[/C][C]7.68114574786861[/C][/ROW]
[ROW][C]21[/C][C]8.61122265911506[/C][/ROW]
[ROW][C]22[/C][C]8.66025403784439[/C][/ROW]
[ROW][C]23[/C][C]9.42154888833184[/C][/ROW]
[ROW][C]24[/C][C]9.88292306781069[/C][/ROW]
[ROW][C]25[/C][C]10.1488915650922[/C][/ROW]
[ROW][C]26[/C][C]10.295630140987[/C][/ROW]
[ROW][C]27[/C][C]10.3494275236446[/C][/ROW]
[ROW][C]28[/C][C]10.5830052442584[/C][/ROW]
[ROW][C]29[/C][C]10.8627804912002[/C][/ROW]
[ROW][C]30[/C][C]11.0515301395582[/C][/ROW]
[ROW][C]31[/C][C]11.3578166916005[/C][/ROW]
[ROW][C]32[/C][C]12.0279001026652[/C][/ROW]
[ROW][C]33[/C][C]12.6192933630101[/C][/ROW]
[ROW][C]34[/C][C]12.6518263899012[/C][/ROW]
[ROW][C]35[/C][C]12.7625389739915[/C][/ROW]
[ROW][C]36[/C][C]13.0424280326607[/C][/ROW]
[ROW][C]37[/C][C]13.4707058063528[/C][/ROW]
[ROW][C]38[/C][C]15.3297097167559[/C][/ROW]
[ROW][C]39[/C][C]15.8113883008419[/C][/ROW]
[ROW][C]40[/C][C]18.8644753121623[/C][/ROW]
[ROW][C]41[/C][C]19.7321248384581[/C][/ROW]
[ROW][C]42[/C][C]19.8246503594377[/C][/ROW]
[ROW][C]43[/C][C]19.8915815812668[/C][/ROW]
[ROW][C]44[/C][C]20.174241001832[/C][/ROW]
[ROW][C]45[/C][C]20.1809286934169[/C][/ROW]
[ROW][C]46[/C][C]20.9537541585552[/C][/ROW]
[ROW][C]47[/C][C]22.0603365701190[/C][/ROW]
[ROW][C]48[/C][C]22.0916432976117[/C][/ROW]
[ROW][C]49[/C][C]28.5337689208148[/C][/ROW]
[ROW][C]50[/C][C]28.6759766097551[/C][/ROW]
[ROW][C]51[/C][C]32.3193799566315[/C][/ROW]
[ROW][C]52[/C][C]32.8480222080584[/C][/ROW]
[ROW][C]53[/C][C]33.3067897430511[/C][/ROW]
[ROW][C]54[/C][C]35.5308547470101[/C][/ROW]
[ROW][C]55[/C][C]36.7747541156037[/C][/ROW]
[ROW][C]56[/C][C]37.6091092831874[/C][/ROW]
[ROW][C]57[/C][C]39.1162439895726[/C][/ROW]
[ROW][C]58[/C][C]44.5263098492898[/C][/ROW]
[ROW][C]59[/C][C]47.4401700381808[/C][/ROW]
[ROW][C]60[/C][C]51.460540234431[/C][/ROW]
[ROW][C]61[/C][C]58.3337358943355[/C][/ROW]
[ROW][C]62[/C][C]66.8102652532115[/C][/ROW]
[ROW][C]63[/C][C]88.5843995867668[/C][/ROW]
[ROW][C]64[/C][C]89.2101999086836[/C][/ROW]
[ROW][C]65[/C][C]105.134855208510[/C][/ROW]
[ROW][C]66[/C][C]142.036318733724[/C][/ROW]
[ROW][C]67[/C][C]146.184009438260[/C][/ROW]
[ROW][C]68[/C][C]179.929438584653[/C][/ROW]
[ROW][C]69[/C][C]365.028234878113[/C][/ROW]
[ROW][C]70[/C][C]409.612510341345[/C][/ROW]
[ROW][C]71[/C][C]742.479994085638[/C][/ROW]
[ROW][C]72[/C][C]2163.44594870274[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5306&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5306&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of Dendrogram
LabelHeight
11.41421356237310
22.64575131106459
33.16227766016838
43.87298334620742
54
64
74.24264068711928
84.24264068711928
94.35889894354067
105.19615242270663
115.19615242270663
125.47722557505166
135.56776436283002
145.8309518948453
155.8309518948453
165.8724340432523
176.40312423743285
187
197.61577310586391
207.68114574786861
218.61122265911506
228.66025403784439
239.42154888833184
249.88292306781069
2510.1488915650922
2610.295630140987
2710.3494275236446
2810.5830052442584
2910.8627804912002
3011.0515301395582
3111.3578166916005
3212.0279001026652
3312.6192933630101
3412.6518263899012
3512.7625389739915
3613.0424280326607
3713.4707058063528
3815.3297097167559
3915.8113883008419
4018.8644753121623
4119.7321248384581
4219.8246503594377
4319.8915815812668
4420.174241001832
4520.1809286934169
4620.9537541585552
4722.0603365701190
4822.0916432976117
4928.5337689208148
5028.6759766097551
5132.3193799566315
5232.8480222080584
5333.3067897430511
5435.5308547470101
5536.7747541156037
5637.6091092831874
5739.1162439895726
5844.5263098492898
5947.4401700381808
6051.460540234431
6158.3337358943355
6266.8102652532115
6388.5843995867668
6489.2101999086836
65105.134855208510
66142.036318733724
67146.184009438260
68179.929438584653
69365.028234878113
70409.612510341345
71742.479994085638
722163.44594870274



Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
R code (references can be found in the software module):
par3 <- as.logical(par3)
par4 <- as.logical(par4)
if (par3 == 'TRUE'){
dum = xlab
xlab = ylab
ylab = dum
}
x <- t(y)
hc <- hclust(dist(x),method=par1)
d <- as.dendrogram(hc)
str(d)
mysub <- paste('Method: ',par1)
bitmap(file='test1.png')
if (par4 == 'TRUE'){
plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub)
} else {
plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub)
}
dev.off()
if (par2 != 'ALL'){
if (par3 == 'TRUE'){
ylab = 'cluster'
} else {
xlab = 'cluster'
}
par2 <- as.numeric(par2)
memb <- cutree(hc, k = par2)
cent <- NULL
for(k in 1:par2){
cent <- rbind(cent, colMeans(x[memb == k, , drop = FALSE]))
}
hc1 <- hclust(dist(cent),method=par1, members = table(memb))
de <- as.dendrogram(hc1)
bitmap(file='test2.png')
if (par4 == 'TRUE'){
plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub)
} else {
plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub)
}
dev.off()
str(de)
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Summary of Dendrogram',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Label',header=TRUE)
a<-table.element(a,'Height',header=TRUE)
a<-table.row.end(a)
num <- length(x[,1])-1
for (i in 1:num)
{
a<-table.row.start(a)
a<-table.element(a,hc$labels[i])
a<-table.element(a,hc$height[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
if (par2 != 'ALL'){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Summary of Cut Dendrogram',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Label',header=TRUE)
a<-table.element(a,'Height',header=TRUE)
a<-table.row.end(a)
num <- par2-1
for (i in 1:num)
{
a<-table.row.start(a)
a<-table.element(a,i)
a<-table.element(a,hc1$height[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}