Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationThu, 01 Nov 2007 08:19:31 -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/01/4gus573gb6eegyf1193930342.htm/, Retrieved Wed, 08 May 2024 02:28:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=15, Retrieved Wed, 08 May 2024 02:28:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsworkshop 5, vraag 2, wim, dhondt
Estimated Impact224
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Workshop 5 - vraag 2] [2007-11-01 15:19:31] [014bfc073eb4f6c1ae65a07cc44c50c0] [Current]
Feedback Forum

Post a new message
Dataseries X:
112,7
118,4
108,1
105,4
114,6
106,9
115,9
109,8
101,8
114,2
110,8
108,4
127,5
128,6
116,6
127,4
105
108,3
125
111,6
106,5
130,3
115
116,1
134
126,5
125,8
136,4
114,9
110,9
125,5
116,8
116,8
125,5
104,2
115,1
132,8
123,3
124,8
122
117,4
117,9
137,4
114,6
124,7
129,6
109,4
120,9
134,9
136,3
133,2
127,2
122,7
120,5
137,8
119,1
124,3
134,3
121,7
125




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=15&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
10
20
30
40
50.0999999999999943
60.0999999999999943
70.0999999999999943
80.0999999999999943
90.100000000000009
100.100000000000009
110.166666666666657
120.199999999999989
130.266666666666670
140.299999999999997
150.300000000000002
160.300000000000007
170.300000000000011
180.399999999999977
190.399999999999991
200.399999999999996
210.400000000000006
220.400000000000006
230.400000000000006
240.400000000000006
250.450000000000003
260.5
270.533333333333322
280.599999999999994
290.700000000000017
300.810000000000005
310.833333333333333
320.899999999999996
330.966666666666654
341.20000000000000
351.20000000000001
361.20000000000002
371.46666666666665
381.53333333333333
391.56666666666667
401.85
412.13333333333334
422.25
432.39
442.64000000000002
452.80000000000001
463.41666666666666
473.52000000000000
485.37777777777782
495.41333333333334
506.07619047619045
518.62222222222221
5210.5211111111111
5312.6488888888889
5415.7738095238095
5523.5111111111111
5626.7476190476190
5786.2533333333333
5895.4479365079365
59314.156666666667

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0 \tabularnewline
2 & 0 \tabularnewline
3 & 0 \tabularnewline
4 & 0 \tabularnewline
5 & 0.0999999999999943 \tabularnewline
6 & 0.0999999999999943 \tabularnewline
7 & 0.0999999999999943 \tabularnewline
8 & 0.0999999999999943 \tabularnewline
9 & 0.100000000000009 \tabularnewline
10 & 0.100000000000009 \tabularnewline
11 & 0.166666666666657 \tabularnewline
12 & 0.199999999999989 \tabularnewline
13 & 0.266666666666670 \tabularnewline
14 & 0.299999999999997 \tabularnewline
15 & 0.300000000000002 \tabularnewline
16 & 0.300000000000007 \tabularnewline
17 & 0.300000000000011 \tabularnewline
18 & 0.399999999999977 \tabularnewline
19 & 0.399999999999991 \tabularnewline
20 & 0.399999999999996 \tabularnewline
21 & 0.400000000000006 \tabularnewline
22 & 0.400000000000006 \tabularnewline
23 & 0.400000000000006 \tabularnewline
24 & 0.400000000000006 \tabularnewline
25 & 0.450000000000003 \tabularnewline
26 & 0.5 \tabularnewline
27 & 0.533333333333322 \tabularnewline
28 & 0.599999999999994 \tabularnewline
29 & 0.700000000000017 \tabularnewline
30 & 0.810000000000005 \tabularnewline
31 & 0.833333333333333 \tabularnewline
32 & 0.899999999999996 \tabularnewline
33 & 0.966666666666654 \tabularnewline
34 & 1.20000000000000 \tabularnewline
35 & 1.20000000000001 \tabularnewline
36 & 1.20000000000002 \tabularnewline
37 & 1.46666666666665 \tabularnewline
38 & 1.53333333333333 \tabularnewline
39 & 1.56666666666667 \tabularnewline
40 & 1.85 \tabularnewline
41 & 2.13333333333334 \tabularnewline
42 & 2.25 \tabularnewline
43 & 2.39 \tabularnewline
44 & 2.64000000000002 \tabularnewline
45 & 2.80000000000001 \tabularnewline
46 & 3.41666666666666 \tabularnewline
47 & 3.52000000000000 \tabularnewline
48 & 5.37777777777782 \tabularnewline
49 & 5.41333333333334 \tabularnewline
50 & 6.07619047619045 \tabularnewline
51 & 8.62222222222221 \tabularnewline
52 & 10.5211111111111 \tabularnewline
53 & 12.6488888888889 \tabularnewline
54 & 15.7738095238095 \tabularnewline
55 & 23.5111111111111 \tabularnewline
56 & 26.7476190476190 \tabularnewline
57 & 86.2533333333333 \tabularnewline
58 & 95.4479365079365 \tabularnewline
59 & 314.156666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=15&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]6[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]7[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]8[/C][C]0.0999999999999943[/C][/ROW]
[ROW][C]9[/C][C]0.100000000000009[/C][/ROW]
[ROW][C]10[/C][C]0.100000000000009[/C][/ROW]
[ROW][C]11[/C][C]0.166666666666657[/C][/ROW]
[ROW][C]12[/C][C]0.199999999999989[/C][/ROW]
[ROW][C]13[/C][C]0.266666666666670[/C][/ROW]
[ROW][C]14[/C][C]0.299999999999997[/C][/ROW]
[ROW][C]15[/C][C]0.300000000000002[/C][/ROW]
[ROW][C]16[/C][C]0.300000000000007[/C][/ROW]
[ROW][C]17[/C][C]0.300000000000011[/C][/ROW]
[ROW][C]18[/C][C]0.399999999999977[/C][/ROW]
[ROW][C]19[/C][C]0.399999999999991[/C][/ROW]
[ROW][C]20[/C][C]0.399999999999996[/C][/ROW]
[ROW][C]21[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]22[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]23[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]24[/C][C]0.400000000000006[/C][/ROW]
[ROW][C]25[/C][C]0.450000000000003[/C][/ROW]
[ROW][C]26[/C][C]0.5[/C][/ROW]
[ROW][C]27[/C][C]0.533333333333322[/C][/ROW]
[ROW][C]28[/C][C]0.599999999999994[/C][/ROW]
[ROW][C]29[/C][C]0.700000000000017[/C][/ROW]
[ROW][C]30[/C][C]0.810000000000005[/C][/ROW]
[ROW][C]31[/C][C]0.833333333333333[/C][/ROW]
[ROW][C]32[/C][C]0.899999999999996[/C][/ROW]
[ROW][C]33[/C][C]0.966666666666654[/C][/ROW]
[ROW][C]34[/C][C]1.20000000000000[/C][/ROW]
[ROW][C]35[/C][C]1.20000000000001[/C][/ROW]
[ROW][C]36[/C][C]1.20000000000002[/C][/ROW]
[ROW][C]37[/C][C]1.46666666666665[/C][/ROW]
[ROW][C]38[/C][C]1.53333333333333[/C][/ROW]
[ROW][C]39[/C][C]1.56666666666667[/C][/ROW]
[ROW][C]40[/C][C]1.85[/C][/ROW]
[ROW][C]41[/C][C]2.13333333333334[/C][/ROW]
[ROW][C]42[/C][C]2.25[/C][/ROW]
[ROW][C]43[/C][C]2.39[/C][/ROW]
[ROW][C]44[/C][C]2.64000000000002[/C][/ROW]
[ROW][C]45[/C][C]2.80000000000001[/C][/ROW]
[ROW][C]46[/C][C]3.41666666666666[/C][/ROW]
[ROW][C]47[/C][C]3.52000000000000[/C][/ROW]
[ROW][C]48[/C][C]5.37777777777782[/C][/ROW]
[ROW][C]49[/C][C]5.41333333333334[/C][/ROW]
[ROW][C]50[/C][C]6.07619047619045[/C][/ROW]
[ROW][C]51[/C][C]8.62222222222221[/C][/ROW]
[ROW][C]52[/C][C]10.5211111111111[/C][/ROW]
[ROW][C]53[/C][C]12.6488888888889[/C][/ROW]
[ROW][C]54[/C][C]15.7738095238095[/C][/ROW]
[ROW][C]55[/C][C]23.5111111111111[/C][/ROW]
[ROW][C]56[/C][C]26.7476190476190[/C][/ROW]
[ROW][C]57[/C][C]86.2533333333333[/C][/ROW]
[ROW][C]58[/C][C]95.4479365079365[/C][/ROW]
[ROW][C]59[/C][C]314.156666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=15&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=15&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
10
20
30
40
50.0999999999999943
60.0999999999999943
70.0999999999999943
80.0999999999999943
90.100000000000009
100.100000000000009
110.166666666666657
120.199999999999989
130.266666666666670
140.299999999999997
150.300000000000002
160.300000000000007
170.300000000000011
180.399999999999977
190.399999999999991
200.399999999999996
210.400000000000006
220.400000000000006
230.400000000000006
240.400000000000006
250.450000000000003
260.5
270.533333333333322
280.599999999999994
290.700000000000017
300.810000000000005
310.833333333333333
320.899999999999996
330.966666666666654
341.20000000000000
351.20000000000001
361.20000000000002
371.46666666666665
381.53333333333333
391.56666666666667
401.85
412.13333333333334
422.25
432.39
442.64000000000002
452.80000000000001
463.41666666666666
473.52000000000000
485.37777777777782
495.41333333333334
506.07619047619045
518.62222222222221
5210.5211111111111
5312.6488888888889
5415.7738095238095
5523.5111111111111
5626.7476190476190
5786.2533333333333
5895.4479365079365
59314.156666666667



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