Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationThu, 13 Nov 2008 12:50:28 -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/2008/Nov/13/t122660614982qpx5zq9x1bvuq.htm/, Retrieved Sun, 19 May 2024 12:02:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24804, Retrieved Sun, 19 May 2024 12:02:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact123
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Hierarchical Clustering] [] [2008-11-13 19:50:28] [00d8a67dacc57b43a0eea87363e750e0] [Current]
Feedback Forum
2008-11-22 09:46:07 [Peter Van Doninck] [reply
De student heeft het dendogram getekend, echter zonder uitleg (werd in de les besproken!). Bij een dendogram wordt er vertrokken van een knooppunt, dat steeds verder vertakt wordt. Er wordt geclusterd in zaken die gelijkaardig zijn. Op basis van dit dendogram kan je helemaal van onder zien dat er zeer veel verschillende groepen waar te nemen zijn (meer dan 20). Hieruit kunnen we dan weer vragen gaan distilleren, waarom dat er bijvoorbeeld zoveel verschillende groepen zijn.
2008-11-24 20:44:38 [94a54c888ac7f7d6874c3108eb0e1808] [reply
Juiste berekening, geen conclusie. De betekenis kan men hierboven in de feedback lezen.
2008-11-24 22:04:41 [Roel Geudens] [reply
Het dendogram is juist. Gegevens van dezelfde aard worden hierin geclusterd. Het dendogram geeft heel wat verschillende groepen in dit geval.

Post a new message
Dataseries X:
110,7	101,2	123,9
113,1	100,5	124,9
99,6	98	112,7
93,6	106,6	121,9
98,6	90,1	100,6
99,6	96,9	104,3
114,3	125,9	120,4
107,8	112	107,5
101,2	100	102,9
112,5	123,9	125,6
100,5	79,8	107,5
93,9	83,4	108,8
116,2	113,6	128,4
112	112,9	121,1
106,4	104	119,5
95,7	109,9	128,7
96	99	108,7
95,8	106,3	105,5
103	128,9	119,8
102,2	111,1	111,3
98,4	102,9	110,6
111,4	130	120,1
86,6	87	97,5
91,3	87,5	107,7
107,9	117,6	127,3
101,8	103,4	117,2
104,4	110,8	119,8
93,4	112,6	116,2
100,1	102,5	111
98,5	112,4	112,4
112,9	135,6	130,6
101,4	105,1	109,1
107,1	127,7	118,8
110,8	137	123,9
90,3	91	101,6
95,5	90,5	112,8
111,4	122,4	128
113	123,3	129,6
107,5	124,3	125,8
95,9	120	119,5
106,3	118,1	115,7
105,2	119	113,6
117,2	142,7	129,7
106,9	123,6	112
108,2	129,6	116,8
113	151,6	127
97,2	110,4	112,1
99,9	99,2	114,2
108,1	130,5	121,1
118,1	136,2	131,6
109,1	129,7	125
93,3	128	120,4
112,1	121,6	117,7
111,8	135,8	117,5
112,5	143,8	120,6
116,3	147,5	127,5
110,3	136,2	112,3
117,1	156,6	124,5
103,4	123,3	115,2
96,2	100,4	105,4




Summary of computational 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 computational 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=24804&T=0

[TABLE]
[ROW][C]Summary of computational 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=24804&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24804&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 computational 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.79164728671688
21.94422220952236
32.40416305603426
42.43515913237717
52.5357444666212
62.69258240356725
72.9698484809835
83.48425027803688
93.59026461420325
103.75898922584250
113.92960166560812
124.39210776766996
134.75184174820669
144.97795138586146
155.17783738639985
165.18933631913884
175.28677595515452
185.32183467367931
195.32916503778968
205.42678542048606
215.53353413290278
225.96437549847263
236.7305861047332
246.81909084849293
257.71508138167884
267.74725757929864
277.84474346298207
287.99124520960282
298.06155775470528
308.3441422839075
318.45990543682375
328.71458277289052
338.91282493757552
349.26949088709776
359.34549572797372
369.50012868810526
3710.4542183176838
3810.9123116360055
3911.8496947160699
4012.5635840403054
4112.8636500429165
4212.8818845778359
4314.9244117245986
4415.8619969491949
4516.6836705740492
4622.0052072787678
4722.4674578653010
4825.2296941089228
4928.3147558665861
5029.334735902143
5129.9301982724317
5234.5404730011833
5336.513666795863
5441.6785340852373
5562.5334713761533
5685.3690986541255
57105.861926349674
58190.148136697468
59503.030627181753

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 1.79164728671688 \tabularnewline
2 & 1.94422220952236 \tabularnewline
3 & 2.40416305603426 \tabularnewline
4 & 2.43515913237717 \tabularnewline
5 & 2.5357444666212 \tabularnewline
6 & 2.69258240356725 \tabularnewline
7 & 2.9698484809835 \tabularnewline
8 & 3.48425027803688 \tabularnewline
9 & 3.59026461420325 \tabularnewline
10 & 3.75898922584250 \tabularnewline
11 & 3.92960166560812 \tabularnewline
12 & 4.39210776766996 \tabularnewline
13 & 4.75184174820669 \tabularnewline
14 & 4.97795138586146 \tabularnewline
15 & 5.17783738639985 \tabularnewline
16 & 5.18933631913884 \tabularnewline
17 & 5.28677595515452 \tabularnewline
18 & 5.32183467367931 \tabularnewline
19 & 5.32916503778968 \tabularnewline
20 & 5.42678542048606 \tabularnewline
21 & 5.53353413290278 \tabularnewline
22 & 5.96437549847263 \tabularnewline
23 & 6.7305861047332 \tabularnewline
24 & 6.81909084849293 \tabularnewline
25 & 7.71508138167884 \tabularnewline
26 & 7.74725757929864 \tabularnewline
27 & 7.84474346298207 \tabularnewline
28 & 7.99124520960282 \tabularnewline
29 & 8.06155775470528 \tabularnewline
30 & 8.3441422839075 \tabularnewline
31 & 8.45990543682375 \tabularnewline
32 & 8.71458277289052 \tabularnewline
33 & 8.91282493757552 \tabularnewline
34 & 9.26949088709776 \tabularnewline
35 & 9.34549572797372 \tabularnewline
36 & 9.50012868810526 \tabularnewline
37 & 10.4542183176838 \tabularnewline
38 & 10.9123116360055 \tabularnewline
39 & 11.8496947160699 \tabularnewline
40 & 12.5635840403054 \tabularnewline
41 & 12.8636500429165 \tabularnewline
42 & 12.8818845778359 \tabularnewline
43 & 14.9244117245986 \tabularnewline
44 & 15.8619969491949 \tabularnewline
45 & 16.6836705740492 \tabularnewline
46 & 22.0052072787678 \tabularnewline
47 & 22.4674578653010 \tabularnewline
48 & 25.2296941089228 \tabularnewline
49 & 28.3147558665861 \tabularnewline
50 & 29.334735902143 \tabularnewline
51 & 29.9301982724317 \tabularnewline
52 & 34.5404730011833 \tabularnewline
53 & 36.513666795863 \tabularnewline
54 & 41.6785340852373 \tabularnewline
55 & 62.5334713761533 \tabularnewline
56 & 85.3690986541255 \tabularnewline
57 & 105.861926349674 \tabularnewline
58 & 190.148136697468 \tabularnewline
59 & 503.030627181753 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24804&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]1.79164728671688[/C][/ROW]
[ROW][C]2[/C][C]1.94422220952236[/C][/ROW]
[ROW][C]3[/C][C]2.40416305603426[/C][/ROW]
[ROW][C]4[/C][C]2.43515913237717[/C][/ROW]
[ROW][C]5[/C][C]2.5357444666212[/C][/ROW]
[ROW][C]6[/C][C]2.69258240356725[/C][/ROW]
[ROW][C]7[/C][C]2.9698484809835[/C][/ROW]
[ROW][C]8[/C][C]3.48425027803688[/C][/ROW]
[ROW][C]9[/C][C]3.59026461420325[/C][/ROW]
[ROW][C]10[/C][C]3.75898922584250[/C][/ROW]
[ROW][C]11[/C][C]3.92960166560812[/C][/ROW]
[ROW][C]12[/C][C]4.39210776766996[/C][/ROW]
[ROW][C]13[/C][C]4.75184174820669[/C][/ROW]
[ROW][C]14[/C][C]4.97795138586146[/C][/ROW]
[ROW][C]15[/C][C]5.17783738639985[/C][/ROW]
[ROW][C]16[/C][C]5.18933631913884[/C][/ROW]
[ROW][C]17[/C][C]5.28677595515452[/C][/ROW]
[ROW][C]18[/C][C]5.32183467367931[/C][/ROW]
[ROW][C]19[/C][C]5.32916503778968[/C][/ROW]
[ROW][C]20[/C][C]5.42678542048606[/C][/ROW]
[ROW][C]21[/C][C]5.53353413290278[/C][/ROW]
[ROW][C]22[/C][C]5.96437549847263[/C][/ROW]
[ROW][C]23[/C][C]6.7305861047332[/C][/ROW]
[ROW][C]24[/C][C]6.81909084849293[/C][/ROW]
[ROW][C]25[/C][C]7.71508138167884[/C][/ROW]
[ROW][C]26[/C][C]7.74725757929864[/C][/ROW]
[ROW][C]27[/C][C]7.84474346298207[/C][/ROW]
[ROW][C]28[/C][C]7.99124520960282[/C][/ROW]
[ROW][C]29[/C][C]8.06155775470528[/C][/ROW]
[ROW][C]30[/C][C]8.3441422839075[/C][/ROW]
[ROW][C]31[/C][C]8.45990543682375[/C][/ROW]
[ROW][C]32[/C][C]8.71458277289052[/C][/ROW]
[ROW][C]33[/C][C]8.91282493757552[/C][/ROW]
[ROW][C]34[/C][C]9.26949088709776[/C][/ROW]
[ROW][C]35[/C][C]9.34549572797372[/C][/ROW]
[ROW][C]36[/C][C]9.50012868810526[/C][/ROW]
[ROW][C]37[/C][C]10.4542183176838[/C][/ROW]
[ROW][C]38[/C][C]10.9123116360055[/C][/ROW]
[ROW][C]39[/C][C]11.8496947160699[/C][/ROW]
[ROW][C]40[/C][C]12.5635840403054[/C][/ROW]
[ROW][C]41[/C][C]12.8636500429165[/C][/ROW]
[ROW][C]42[/C][C]12.8818845778359[/C][/ROW]
[ROW][C]43[/C][C]14.9244117245986[/C][/ROW]
[ROW][C]44[/C][C]15.8619969491949[/C][/ROW]
[ROW][C]45[/C][C]16.6836705740492[/C][/ROW]
[ROW][C]46[/C][C]22.0052072787678[/C][/ROW]
[ROW][C]47[/C][C]22.4674578653010[/C][/ROW]
[ROW][C]48[/C][C]25.2296941089228[/C][/ROW]
[ROW][C]49[/C][C]28.3147558665861[/C][/ROW]
[ROW][C]50[/C][C]29.334735902143[/C][/ROW]
[ROW][C]51[/C][C]29.9301982724317[/C][/ROW]
[ROW][C]52[/C][C]34.5404730011833[/C][/ROW]
[ROW][C]53[/C][C]36.513666795863[/C][/ROW]
[ROW][C]54[/C][C]41.6785340852373[/C][/ROW]
[ROW][C]55[/C][C]62.5334713761533[/C][/ROW]
[ROW][C]56[/C][C]85.3690986541255[/C][/ROW]
[ROW][C]57[/C][C]105.861926349674[/C][/ROW]
[ROW][C]58[/C][C]190.148136697468[/C][/ROW]
[ROW][C]59[/C][C]503.030627181753[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24804&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24804&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.79164728671688
21.94422220952236
32.40416305603426
42.43515913237717
52.5357444666212
62.69258240356725
72.9698484809835
83.48425027803688
93.59026461420325
103.75898922584250
113.92960166560812
124.39210776766996
134.75184174820669
144.97795138586146
155.17783738639985
165.18933631913884
175.28677595515452
185.32183467367931
195.32916503778968
205.42678542048606
215.53353413290278
225.96437549847263
236.7305861047332
246.81909084849293
257.71508138167884
267.74725757929864
277.84474346298207
287.99124520960282
298.06155775470528
308.3441422839075
318.45990543682375
328.71458277289052
338.91282493757552
349.26949088709776
359.34549572797372
369.50012868810526
3710.4542183176838
3810.9123116360055
3911.8496947160699
4012.5635840403054
4112.8636500429165
4212.8818845778359
4314.9244117245986
4415.8619969491949
4516.6836705740492
4622.0052072787678
4722.4674578653010
4825.2296941089228
4928.3147558665861
5029.334735902143
5129.9301982724317
5234.5404730011833
5336.513666795863
5441.6785340852373
5562.5334713761533
5685.3690986541255
57105.861926349674
58190.148136697468
59503.030627181753



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')
}