Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationSun, 04 Nov 2007 03:44:37 -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/04/3atae8f8xd938cb1194172972.htm/, Retrieved Sun, 05 May 2024 15:57:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=273, Retrieved Sun, 05 May 2024 15:57:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsw4q2
Estimated Impact222
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [workshop4.q2] [2007-11-04 10:44:37] [129742d52914620af0bad7eb53591257] [Current]
Feedback Forum

Post a new message
Dataseries X:
48527,00	99,25	102,89
44446,00	99,36	102,16
46380,00	99,34	100,81
48950,00	99,36	101,02
38883,00	100,85	101,08
42928,00	100,86	100,49
37107,00	100,93	100,43
30186,00	101,25	99,42
32602,00	101,72	98,75
39892,00	101,54	98,79
32194,00	101,35	98,72
21629,00	101,42	96,54
59968,00	101,57	96,44
45694,00	101,76	96,25
55756,00	102,05	97,44
48554,00	102,05	101,86
41052,00	101,89	102,36
49822,00	102,06	101,21
39191,00	102	104,61
31994,00	102,14	107,43
35735,00	102,2	108,44
38930,00	102,3	109,45
33658,00	102,7	110,35
23849,00	102,77	115,02
58972,00	103,1	113,11
59249,00	103,13	116,5
63955,00	103,31	121,28
53785,00	103,52	119,05
52760,00	103,34	123,2
44795,00	103,53	128,41
37348,00	103,8	127,57
32370,00	103,9	125,56
32717,00	103,91	133,6
40974,00	104,21	130,8
33591,00	104,58	129,84
21124,00	104,89	123,94
58608,00	105,15	118,63
46865,00	105,24	121,83
51378,00	105,57	119,97
46235,00	105,62	124,98
47206,00	106,17	129,99
45382,00	106,27	126,6
41227,00	106,41	121,71
33795,00	106,94	119,28
31295,00	107,16	122,63
42625,00	107,32	116,74
33625,00	107,32	114,23
21538,00	107,35	113,23
56421,00	107,55	112,75
53152,00	107,87	113,54
53536,00	108,37	115,3
52408,00	108,38	121,05
41454,00	107,92	119,51
38271,00	108,03	116,78
35306,00	108,14	117,17
26414,00	108,3	117,5
31917,00	108,64	119,65
38030,00	108,66	120,97
27534,00	109,04	117,18
18387,00	109,03	116,87




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=273&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
127.1643313924713
233.5469640951309
347.7614844827922
460.3609675042601
578.2341255463369
683.0554995168893
792.7077181252996
8120.184518969791
9147.134724997194
10178.053048555760
11227.015682497928
12232.382202515709
13241.037244010132
14242.540339943689
15249.075460453253
16277.020744710572
17303.504191239594
18313.505123722085
19341.098886688303
20350.010644695272
21352.042645286051
22363.457785166856
23429.129929625050
24500.892044055015
25525.646751563829
26536.954672873069
27577.695982577813
28582.364426654918
29595.003703473336
30665.198952269169
311102.51319099662
321109.25859572960
331120.00029017853
341212.41104003337
351233.23843543065
361324.12475205046
371490.65910022794
381503.71551377410
391576.47450182663
401604.47088754512
412583.70752060753
423342.73706325841
433459.28095452653
443793.56634110817
454274.20630687746
464435.68462981944
474547.22920048615
485009.96593490017
497125.66442960371
508506.07891785602
5110493.2767348880
5212274.1859151566
5312783.3710570356
5416074.0455525330
5528395.0431023975
5665544.8540356123
5770574.1291738632
58152240.666069109
59299713.233585373

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 27.1643313924713 \tabularnewline
2 & 33.5469640951309 \tabularnewline
3 & 47.7614844827922 \tabularnewline
4 & 60.3609675042601 \tabularnewline
5 & 78.2341255463369 \tabularnewline
6 & 83.0554995168893 \tabularnewline
7 & 92.7077181252996 \tabularnewline
8 & 120.184518969791 \tabularnewline
9 & 147.134724997194 \tabularnewline
10 & 178.053048555760 \tabularnewline
11 & 227.015682497928 \tabularnewline
12 & 232.382202515709 \tabularnewline
13 & 241.037244010132 \tabularnewline
14 & 242.540339943689 \tabularnewline
15 & 249.075460453253 \tabularnewline
16 & 277.020744710572 \tabularnewline
17 & 303.504191239594 \tabularnewline
18 & 313.505123722085 \tabularnewline
19 & 341.098886688303 \tabularnewline
20 & 350.010644695272 \tabularnewline
21 & 352.042645286051 \tabularnewline
22 & 363.457785166856 \tabularnewline
23 & 429.129929625050 \tabularnewline
24 & 500.892044055015 \tabularnewline
25 & 525.646751563829 \tabularnewline
26 & 536.954672873069 \tabularnewline
27 & 577.695982577813 \tabularnewline
28 & 582.364426654918 \tabularnewline
29 & 595.003703473336 \tabularnewline
30 & 665.198952269169 \tabularnewline
31 & 1102.51319099662 \tabularnewline
32 & 1109.25859572960 \tabularnewline
33 & 1120.00029017853 \tabularnewline
34 & 1212.41104003337 \tabularnewline
35 & 1233.23843543065 \tabularnewline
36 & 1324.12475205046 \tabularnewline
37 & 1490.65910022794 \tabularnewline
38 & 1503.71551377410 \tabularnewline
39 & 1576.47450182663 \tabularnewline
40 & 1604.47088754512 \tabularnewline
41 & 2583.70752060753 \tabularnewline
42 & 3342.73706325841 \tabularnewline
43 & 3459.28095452653 \tabularnewline
44 & 3793.56634110817 \tabularnewline
45 & 4274.20630687746 \tabularnewline
46 & 4435.68462981944 \tabularnewline
47 & 4547.22920048615 \tabularnewline
48 & 5009.96593490017 \tabularnewline
49 & 7125.66442960371 \tabularnewline
50 & 8506.07891785602 \tabularnewline
51 & 10493.2767348880 \tabularnewline
52 & 12274.1859151566 \tabularnewline
53 & 12783.3710570356 \tabularnewline
54 & 16074.0455525330 \tabularnewline
55 & 28395.0431023975 \tabularnewline
56 & 65544.8540356123 \tabularnewline
57 & 70574.1291738632 \tabularnewline
58 & 152240.666069109 \tabularnewline
59 & 299713.233585373 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=273&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]27.1643313924713[/C][/ROW]
[ROW][C]2[/C][C]33.5469640951309[/C][/ROW]
[ROW][C]3[/C][C]47.7614844827922[/C][/ROW]
[ROW][C]4[/C][C]60.3609675042601[/C][/ROW]
[ROW][C]5[/C][C]78.2341255463369[/C][/ROW]
[ROW][C]6[/C][C]83.0554995168893[/C][/ROW]
[ROW][C]7[/C][C]92.7077181252996[/C][/ROW]
[ROW][C]8[/C][C]120.184518969791[/C][/ROW]
[ROW][C]9[/C][C]147.134724997194[/C][/ROW]
[ROW][C]10[/C][C]178.053048555760[/C][/ROW]
[ROW][C]11[/C][C]227.015682497928[/C][/ROW]
[ROW][C]12[/C][C]232.382202515709[/C][/ROW]
[ROW][C]13[/C][C]241.037244010132[/C][/ROW]
[ROW][C]14[/C][C]242.540339943689[/C][/ROW]
[ROW][C]15[/C][C]249.075460453253[/C][/ROW]
[ROW][C]16[/C][C]277.020744710572[/C][/ROW]
[ROW][C]17[/C][C]303.504191239594[/C][/ROW]
[ROW][C]18[/C][C]313.505123722085[/C][/ROW]
[ROW][C]19[/C][C]341.098886688303[/C][/ROW]
[ROW][C]20[/C][C]350.010644695272[/C][/ROW]
[ROW][C]21[/C][C]352.042645286051[/C][/ROW]
[ROW][C]22[/C][C]363.457785166856[/C][/ROW]
[ROW][C]23[/C][C]429.129929625050[/C][/ROW]
[ROW][C]24[/C][C]500.892044055015[/C][/ROW]
[ROW][C]25[/C][C]525.646751563829[/C][/ROW]
[ROW][C]26[/C][C]536.954672873069[/C][/ROW]
[ROW][C]27[/C][C]577.695982577813[/C][/ROW]
[ROW][C]28[/C][C]582.364426654918[/C][/ROW]
[ROW][C]29[/C][C]595.003703473336[/C][/ROW]
[ROW][C]30[/C][C]665.198952269169[/C][/ROW]
[ROW][C]31[/C][C]1102.51319099662[/C][/ROW]
[ROW][C]32[/C][C]1109.25859572960[/C][/ROW]
[ROW][C]33[/C][C]1120.00029017853[/C][/ROW]
[ROW][C]34[/C][C]1212.41104003337[/C][/ROW]
[ROW][C]35[/C][C]1233.23843543065[/C][/ROW]
[ROW][C]36[/C][C]1324.12475205046[/C][/ROW]
[ROW][C]37[/C][C]1490.65910022794[/C][/ROW]
[ROW][C]38[/C][C]1503.71551377410[/C][/ROW]
[ROW][C]39[/C][C]1576.47450182663[/C][/ROW]
[ROW][C]40[/C][C]1604.47088754512[/C][/ROW]
[ROW][C]41[/C][C]2583.70752060753[/C][/ROW]
[ROW][C]42[/C][C]3342.73706325841[/C][/ROW]
[ROW][C]43[/C][C]3459.28095452653[/C][/ROW]
[ROW][C]44[/C][C]3793.56634110817[/C][/ROW]
[ROW][C]45[/C][C]4274.20630687746[/C][/ROW]
[ROW][C]46[/C][C]4435.68462981944[/C][/ROW]
[ROW][C]47[/C][C]4547.22920048615[/C][/ROW]
[ROW][C]48[/C][C]5009.96593490017[/C][/ROW]
[ROW][C]49[/C][C]7125.66442960371[/C][/ROW]
[ROW][C]50[/C][C]8506.07891785602[/C][/ROW]
[ROW][C]51[/C][C]10493.2767348880[/C][/ROW]
[ROW][C]52[/C][C]12274.1859151566[/C][/ROW]
[ROW][C]53[/C][C]12783.3710570356[/C][/ROW]
[ROW][C]54[/C][C]16074.0455525330[/C][/ROW]
[ROW][C]55[/C][C]28395.0431023975[/C][/ROW]
[ROW][C]56[/C][C]65544.8540356123[/C][/ROW]
[ROW][C]57[/C][C]70574.1291738632[/C][/ROW]
[ROW][C]58[/C][C]152240.666069109[/C][/ROW]
[ROW][C]59[/C][C]299713.233585373[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=273&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=273&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
127.1643313924713
233.5469640951309
347.7614844827922
460.3609675042601
578.2341255463369
683.0554995168893
792.7077181252996
8120.184518969791
9147.134724997194
10178.053048555760
11227.015682497928
12232.382202515709
13241.037244010132
14242.540339943689
15249.075460453253
16277.020744710572
17303.504191239594
18313.505123722085
19341.098886688303
20350.010644695272
21352.042645286051
22363.457785166856
23429.129929625050
24500.892044055015
25525.646751563829
26536.954672873069
27577.695982577813
28582.364426654918
29595.003703473336
30665.198952269169
311102.51319099662
321109.25859572960
331120.00029017853
341212.41104003337
351233.23843543065
361324.12475205046
371490.65910022794
381503.71551377410
391576.47450182663
401604.47088754512
412583.70752060753
423342.73706325841
433459.28095452653
443793.56634110817
454274.20630687746
464435.68462981944
474547.22920048615
485009.96593490017
497125.66442960371
508506.07891785602
5110493.2767348880
5212274.1859151566
5312783.3710570356
5416074.0455525330
5528395.0431023975
5665544.8540356123
5770574.1291738632
58152240.666069109
59299713.233585373



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