Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationTue, 18 Dec 2007 10:33:59 -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/Dec/18/t1197998389i7wnsq1chtfblux.htm/, Retrieved Sat, 04 May 2024 16:05:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4559, Retrieved Sat, 04 May 2024 16:05:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Case Paper] [2007-12-18 17:33:59] [b02e81bf795a9093262ef8ec9108b703] [Current]
Feedback Forum

Post a new message
Dataseries X:
115,4	126,6	117
106,9	93,9	103,8
107,1	89,8	100,8
99,3	93,4	110,6
99,2	101,5	104
108,3	110,4	112,6
105,6	105,9	107,3
99,5	108,4	98,9
107,4	113,9	109,8
93,1	86,1	104,9
88,1	69,4	102,2
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
96,1	108,7	112,9
100,2	99,3	113,3
108,1	126,4	121,7




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=4559&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=4559&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4559&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.552417469626
21.79164728671688
32.43515913237717
42.5357444666212
52.69258240356725
62.73130005674953
72.9698484809835
83.00998338865848
93.61109401705356
103.64142829120663
113.92960166560812
124.07308237088327
134.39210776766996
144.64542785973477
154.68028887864762
165.08428952755447
175.17783738639985
185.26212884676915
195.32187317710463
205.4506438066068
215.62339086568237
225.77840808527745
236.81909084849293
247.03096028947898
257.15960892786749
267.2890325797441
277.34913456270732
287.84474346298207
297.85238817176023
307.99124520960282
318.73313830783769
328.94053245683132
339.27900856772964
3410.0785845547394
3510.4220478665462
3610.4257717318710
3711.8563961507837
3812.6110661241587
3912.7770939566039
4014.6135280376431
4114.6140041143875
4215.4643373086596
4316.5364290350874
4416.7560848634092
4518.5690763618698
4619.8068701656189
4720.0607506544026
4823.7204849968144
4923.7836605809721
5024.6566034666602
5131.0903221225495
5237.3933217451905
5346.2381147605488
5446.3969169190889
5553.7567969439911
5674.4636076949303
5797.6803046774223
58167.296557247524
59464.539176447422

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 1.552417469626 \tabularnewline
2 & 1.79164728671688 \tabularnewline
3 & 2.43515913237717 \tabularnewline
4 & 2.5357444666212 \tabularnewline
5 & 2.69258240356725 \tabularnewline
6 & 2.73130005674953 \tabularnewline
7 & 2.9698484809835 \tabularnewline
8 & 3.00998338865848 \tabularnewline
9 & 3.61109401705356 \tabularnewline
10 & 3.64142829120663 \tabularnewline
11 & 3.92960166560812 \tabularnewline
12 & 4.07308237088327 \tabularnewline
13 & 4.39210776766996 \tabularnewline
14 & 4.64542785973477 \tabularnewline
15 & 4.68028887864762 \tabularnewline
16 & 5.08428952755447 \tabularnewline
17 & 5.17783738639985 \tabularnewline
18 & 5.26212884676915 \tabularnewline
19 & 5.32187317710463 \tabularnewline
20 & 5.4506438066068 \tabularnewline
21 & 5.62339086568237 \tabularnewline
22 & 5.77840808527745 \tabularnewline
23 & 6.81909084849293 \tabularnewline
24 & 7.03096028947898 \tabularnewline
25 & 7.15960892786749 \tabularnewline
26 & 7.2890325797441 \tabularnewline
27 & 7.34913456270732 \tabularnewline
28 & 7.84474346298207 \tabularnewline
29 & 7.85238817176023 \tabularnewline
30 & 7.99124520960282 \tabularnewline
31 & 8.73313830783769 \tabularnewline
32 & 8.94053245683132 \tabularnewline
33 & 9.27900856772964 \tabularnewline
34 & 10.0785845547394 \tabularnewline
35 & 10.4220478665462 \tabularnewline
36 & 10.4257717318710 \tabularnewline
37 & 11.8563961507837 \tabularnewline
38 & 12.6110661241587 \tabularnewline
39 & 12.7770939566039 \tabularnewline
40 & 14.6135280376431 \tabularnewline
41 & 14.6140041143875 \tabularnewline
42 & 15.4643373086596 \tabularnewline
43 & 16.5364290350874 \tabularnewline
44 & 16.7560848634092 \tabularnewline
45 & 18.5690763618698 \tabularnewline
46 & 19.8068701656189 \tabularnewline
47 & 20.0607506544026 \tabularnewline
48 & 23.7204849968144 \tabularnewline
49 & 23.7836605809721 \tabularnewline
50 & 24.6566034666602 \tabularnewline
51 & 31.0903221225495 \tabularnewline
52 & 37.3933217451905 \tabularnewline
53 & 46.2381147605488 \tabularnewline
54 & 46.3969169190889 \tabularnewline
55 & 53.7567969439911 \tabularnewline
56 & 74.4636076949303 \tabularnewline
57 & 97.6803046774223 \tabularnewline
58 & 167.296557247524 \tabularnewline
59 & 464.539176447422 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4559&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]1.552417469626[/C][/ROW]
[ROW][C]2[/C][C]1.79164728671688[/C][/ROW]
[ROW][C]3[/C][C]2.43515913237717[/C][/ROW]
[ROW][C]4[/C][C]2.5357444666212[/C][/ROW]
[ROW][C]5[/C][C]2.69258240356725[/C][/ROW]
[ROW][C]6[/C][C]2.73130005674953[/C][/ROW]
[ROW][C]7[/C][C]2.9698484809835[/C][/ROW]
[ROW][C]8[/C][C]3.00998338865848[/C][/ROW]
[ROW][C]9[/C][C]3.61109401705356[/C][/ROW]
[ROW][C]10[/C][C]3.64142829120663[/C][/ROW]
[ROW][C]11[/C][C]3.92960166560812[/C][/ROW]
[ROW][C]12[/C][C]4.07308237088327[/C][/ROW]
[ROW][C]13[/C][C]4.39210776766996[/C][/ROW]
[ROW][C]14[/C][C]4.64542785973477[/C][/ROW]
[ROW][C]15[/C][C]4.68028887864762[/C][/ROW]
[ROW][C]16[/C][C]5.08428952755447[/C][/ROW]
[ROW][C]17[/C][C]5.17783738639985[/C][/ROW]
[ROW][C]18[/C][C]5.26212884676915[/C][/ROW]
[ROW][C]19[/C][C]5.32187317710463[/C][/ROW]
[ROW][C]20[/C][C]5.4506438066068[/C][/ROW]
[ROW][C]21[/C][C]5.62339086568237[/C][/ROW]
[ROW][C]22[/C][C]5.77840808527745[/C][/ROW]
[ROW][C]23[/C][C]6.81909084849293[/C][/ROW]
[ROW][C]24[/C][C]7.03096028947898[/C][/ROW]
[ROW][C]25[/C][C]7.15960892786749[/C][/ROW]
[ROW][C]26[/C][C]7.2890325797441[/C][/ROW]
[ROW][C]27[/C][C]7.34913456270732[/C][/ROW]
[ROW][C]28[/C][C]7.84474346298207[/C][/ROW]
[ROW][C]29[/C][C]7.85238817176023[/C][/ROW]
[ROW][C]30[/C][C]7.99124520960282[/C][/ROW]
[ROW][C]31[/C][C]8.73313830783769[/C][/ROW]
[ROW][C]32[/C][C]8.94053245683132[/C][/ROW]
[ROW][C]33[/C][C]9.27900856772964[/C][/ROW]
[ROW][C]34[/C][C]10.0785845547394[/C][/ROW]
[ROW][C]35[/C][C]10.4220478665462[/C][/ROW]
[ROW][C]36[/C][C]10.4257717318710[/C][/ROW]
[ROW][C]37[/C][C]11.8563961507837[/C][/ROW]
[ROW][C]38[/C][C]12.6110661241587[/C][/ROW]
[ROW][C]39[/C][C]12.7770939566039[/C][/ROW]
[ROW][C]40[/C][C]14.6135280376431[/C][/ROW]
[ROW][C]41[/C][C]14.6140041143875[/C][/ROW]
[ROW][C]42[/C][C]15.4643373086596[/C][/ROW]
[ROW][C]43[/C][C]16.5364290350874[/C][/ROW]
[ROW][C]44[/C][C]16.7560848634092[/C][/ROW]
[ROW][C]45[/C][C]18.5690763618698[/C][/ROW]
[ROW][C]46[/C][C]19.8068701656189[/C][/ROW]
[ROW][C]47[/C][C]20.0607506544026[/C][/ROW]
[ROW][C]48[/C][C]23.7204849968144[/C][/ROW]
[ROW][C]49[/C][C]23.7836605809721[/C][/ROW]
[ROW][C]50[/C][C]24.6566034666602[/C][/ROW]
[ROW][C]51[/C][C]31.0903221225495[/C][/ROW]
[ROW][C]52[/C][C]37.3933217451905[/C][/ROW]
[ROW][C]53[/C][C]46.2381147605488[/C][/ROW]
[ROW][C]54[/C][C]46.3969169190889[/C][/ROW]
[ROW][C]55[/C][C]53.7567969439911[/C][/ROW]
[ROW][C]56[/C][C]74.4636076949303[/C][/ROW]
[ROW][C]57[/C][C]97.6803046774223[/C][/ROW]
[ROW][C]58[/C][C]167.296557247524[/C][/ROW]
[ROW][C]59[/C][C]464.539176447422[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4559&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4559&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.552417469626
21.79164728671688
32.43515913237717
42.5357444666212
52.69258240356725
62.73130005674953
72.9698484809835
83.00998338865848
93.61109401705356
103.64142829120663
113.92960166560812
124.07308237088327
134.39210776766996
144.64542785973477
154.68028887864762
165.08428952755447
175.17783738639985
185.26212884676915
195.32187317710463
205.4506438066068
215.62339086568237
225.77840808527745
236.81909084849293
247.03096028947898
257.15960892786749
267.2890325797441
277.34913456270732
287.84474346298207
297.85238817176023
307.99124520960282
318.73313830783769
328.94053245683132
339.27900856772964
3410.0785845547394
3510.4220478665462
3610.4257717318710
3711.8563961507837
3812.6110661241587
3912.7770939566039
4014.6135280376431
4114.6140041143875
4215.4643373086596
4316.5364290350874
4416.7560848634092
4518.5690763618698
4619.8068701656189
4720.0607506544026
4823.7204849968144
4923.7836605809721
5024.6566034666602
5131.0903221225495
5237.3933217451905
5346.2381147605488
5446.3969169190889
5553.7567969439911
5674.4636076949303
5797.6803046774223
58167.296557247524
59464.539176447422



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