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 06:43:12 -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/3u5mvrfs9z8l7he1193924634.htm/, Retrieved Tue, 07 May 2024 23:38:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=11, Retrieved Tue, 07 May 2024 23:38:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact240
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [WS4 Q2 G6 hierarc...] [2007-11-01 13:43:12] [fef19078983b9fa83d10cb717d6f9786] [Current]
Feedback Forum

Post a new message
Dataseries X:
518585	242621	275964
509239	238545	270694
512238	240337	271901
519164	244752	274412
517009	244576	272433
509933	241572	268361
509127	240541	268586
500857	236089	264768
506971	236997	269974
569323	264579	304744
579714	270349	309365
577992	269645	308347
565464	267037	298427
547344	258113	289231
554788	262813	291975
562325	267413	294912
560854	267366	293488
555332	264777	290555
543599	258863	284736
536662	254844	281818
542722	254868	287854
593530	277267	316263
610763	285351	325412
612613	286602	326011
611324	283042	328282
594167	276687	317480
595454	277915	317539
590865	277128	313737
589379	277103	312276
584428	275037	309391
573100	270150	302950
567456	267140	300316
569028	264993	304035
620735	287259	333476
628884	291186	337698
628232	292300	335932
612117	288186	323931
595404	281477	313927
597141	282656	314485
593408	280190	313218
590072	280408	309664
579799	276836	302963
574205	275216	298989
572775	274352	298423
572942	271311	301631
619567	289802	329765
625809	290726	335083
619916	292300	327616
587625	278506	309119
565742	269826	295916
557274	265861	291413
560576	269034	291542
548854	264176	284678
531673	255198	276475
525919	253353	272566
511038	246057	264981
498662	235372	263290
555362	258556	296806
564591	260993	303598
541657	254663	286994




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=11&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=11&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=11&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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Summary of Dendrogram
LabelHeight
1872.41160010628
21327.86369782444
31384.1423337215
41491.05935495540
51764.01587294446
61764.26925382720
72047.88329745618
82084.0686169126
92120.66593314459
102172.22788859733
112187.43137035199
122288.13137469998
132312.20717064886
142383.81710707848
152699.09355154652
162741.64147911429
172747.17928064406
182838.75465653515
193146.8139442935
203313.60921051351
213318.87518200179
223510.11272075898
233788.33785665945
243942.9595623084
253986.99103672319
264028.21641286004
275214.69456324304
285525.27957063967
295898.52100106459
306054.68132607862
316384.08043022805
327004.57705996996
337176.1440795992
347196.72300425687
357733.6502634283
367919.87418888597
378123.00597069829
389243.13866727994
3910807.9272815957
4011442.5536747526
4111571.5460065374
4211984.2384178138
4312123.4203448221
4412537.7157420824
4514947.2535820025
4620873.3773218065
4722377.9477852035
4827305.7102222397
4928124.4333129377
5029138.5555221767
5139874.6016168609
5239990.3774530280
5351577.2707129203
5488726.6665243049
55105535.089740650
56154287.777122290
57248938.804217822
58754646.923445161
591224956.29922616

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 872.41160010628 \tabularnewline
2 & 1327.86369782444 \tabularnewline
3 & 1384.1423337215 \tabularnewline
4 & 1491.05935495540 \tabularnewline
5 & 1764.01587294446 \tabularnewline
6 & 1764.26925382720 \tabularnewline
7 & 2047.88329745618 \tabularnewline
8 & 2084.0686169126 \tabularnewline
9 & 2120.66593314459 \tabularnewline
10 & 2172.22788859733 \tabularnewline
11 & 2187.43137035199 \tabularnewline
12 & 2288.13137469998 \tabularnewline
13 & 2312.20717064886 \tabularnewline
14 & 2383.81710707848 \tabularnewline
15 & 2699.09355154652 \tabularnewline
16 & 2741.64147911429 \tabularnewline
17 & 2747.17928064406 \tabularnewline
18 & 2838.75465653515 \tabularnewline
19 & 3146.8139442935 \tabularnewline
20 & 3313.60921051351 \tabularnewline
21 & 3318.87518200179 \tabularnewline
22 & 3510.11272075898 \tabularnewline
23 & 3788.33785665945 \tabularnewline
24 & 3942.9595623084 \tabularnewline
25 & 3986.99103672319 \tabularnewline
26 & 4028.21641286004 \tabularnewline
27 & 5214.69456324304 \tabularnewline
28 & 5525.27957063967 \tabularnewline
29 & 5898.52100106459 \tabularnewline
30 & 6054.68132607862 \tabularnewline
31 & 6384.08043022805 \tabularnewline
32 & 7004.57705996996 \tabularnewline
33 & 7176.1440795992 \tabularnewline
34 & 7196.72300425687 \tabularnewline
35 & 7733.6502634283 \tabularnewline
36 & 7919.87418888597 \tabularnewline
37 & 8123.00597069829 \tabularnewline
38 & 9243.13866727994 \tabularnewline
39 & 10807.9272815957 \tabularnewline
40 & 11442.5536747526 \tabularnewline
41 & 11571.5460065374 \tabularnewline
42 & 11984.2384178138 \tabularnewline
43 & 12123.4203448221 \tabularnewline
44 & 12537.7157420824 \tabularnewline
45 & 14947.2535820025 \tabularnewline
46 & 20873.3773218065 \tabularnewline
47 & 22377.9477852035 \tabularnewline
48 & 27305.7102222397 \tabularnewline
49 & 28124.4333129377 \tabularnewline
50 & 29138.5555221767 \tabularnewline
51 & 39874.6016168609 \tabularnewline
52 & 39990.3774530280 \tabularnewline
53 & 51577.2707129203 \tabularnewline
54 & 88726.6665243049 \tabularnewline
55 & 105535.089740650 \tabularnewline
56 & 154287.777122290 \tabularnewline
57 & 248938.804217822 \tabularnewline
58 & 754646.923445161 \tabularnewline
59 & 1224956.29922616 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=11&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]872.41160010628[/C][/ROW]
[ROW][C]2[/C][C]1327.86369782444[/C][/ROW]
[ROW][C]3[/C][C]1384.1423337215[/C][/ROW]
[ROW][C]4[/C][C]1491.05935495540[/C][/ROW]
[ROW][C]5[/C][C]1764.01587294446[/C][/ROW]
[ROW][C]6[/C][C]1764.26925382720[/C][/ROW]
[ROW][C]7[/C][C]2047.88329745618[/C][/ROW]
[ROW][C]8[/C][C]2084.0686169126[/C][/ROW]
[ROW][C]9[/C][C]2120.66593314459[/C][/ROW]
[ROW][C]10[/C][C]2172.22788859733[/C][/ROW]
[ROW][C]11[/C][C]2187.43137035199[/C][/ROW]
[ROW][C]12[/C][C]2288.13137469998[/C][/ROW]
[ROW][C]13[/C][C]2312.20717064886[/C][/ROW]
[ROW][C]14[/C][C]2383.81710707848[/C][/ROW]
[ROW][C]15[/C][C]2699.09355154652[/C][/ROW]
[ROW][C]16[/C][C]2741.64147911429[/C][/ROW]
[ROW][C]17[/C][C]2747.17928064406[/C][/ROW]
[ROW][C]18[/C][C]2838.75465653515[/C][/ROW]
[ROW][C]19[/C][C]3146.8139442935[/C][/ROW]
[ROW][C]20[/C][C]3313.60921051351[/C][/ROW]
[ROW][C]21[/C][C]3318.87518200179[/C][/ROW]
[ROW][C]22[/C][C]3510.11272075898[/C][/ROW]
[ROW][C]23[/C][C]3788.33785665945[/C][/ROW]
[ROW][C]24[/C][C]3942.9595623084[/C][/ROW]
[ROW][C]25[/C][C]3986.99103672319[/C][/ROW]
[ROW][C]26[/C][C]4028.21641286004[/C][/ROW]
[ROW][C]27[/C][C]5214.69456324304[/C][/ROW]
[ROW][C]28[/C][C]5525.27957063967[/C][/ROW]
[ROW][C]29[/C][C]5898.52100106459[/C][/ROW]
[ROW][C]30[/C][C]6054.68132607862[/C][/ROW]
[ROW][C]31[/C][C]6384.08043022805[/C][/ROW]
[ROW][C]32[/C][C]7004.57705996996[/C][/ROW]
[ROW][C]33[/C][C]7176.1440795992[/C][/ROW]
[ROW][C]34[/C][C]7196.72300425687[/C][/ROW]
[ROW][C]35[/C][C]7733.6502634283[/C][/ROW]
[ROW][C]36[/C][C]7919.87418888597[/C][/ROW]
[ROW][C]37[/C][C]8123.00597069829[/C][/ROW]
[ROW][C]38[/C][C]9243.13866727994[/C][/ROW]
[ROW][C]39[/C][C]10807.9272815957[/C][/ROW]
[ROW][C]40[/C][C]11442.5536747526[/C][/ROW]
[ROW][C]41[/C][C]11571.5460065374[/C][/ROW]
[ROW][C]42[/C][C]11984.2384178138[/C][/ROW]
[ROW][C]43[/C][C]12123.4203448221[/C][/ROW]
[ROW][C]44[/C][C]12537.7157420824[/C][/ROW]
[ROW][C]45[/C][C]14947.2535820025[/C][/ROW]
[ROW][C]46[/C][C]20873.3773218065[/C][/ROW]
[ROW][C]47[/C][C]22377.9477852035[/C][/ROW]
[ROW][C]48[/C][C]27305.7102222397[/C][/ROW]
[ROW][C]49[/C][C]28124.4333129377[/C][/ROW]
[ROW][C]50[/C][C]29138.5555221767[/C][/ROW]
[ROW][C]51[/C][C]39874.6016168609[/C][/ROW]
[ROW][C]52[/C][C]39990.3774530280[/C][/ROW]
[ROW][C]53[/C][C]51577.2707129203[/C][/ROW]
[ROW][C]54[/C][C]88726.6665243049[/C][/ROW]
[ROW][C]55[/C][C]105535.089740650[/C][/ROW]
[ROW][C]56[/C][C]154287.777122290[/C][/ROW]
[ROW][C]57[/C][C]248938.804217822[/C][/ROW]
[ROW][C]58[/C][C]754646.923445161[/C][/ROW]
[ROW][C]59[/C][C]1224956.29922616[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=11&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=11&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
1872.41160010628
21327.86369782444
31384.1423337215
41491.05935495540
51764.01587294446
61764.26925382720
72047.88329745618
82084.0686169126
92120.66593314459
102172.22788859733
112187.43137035199
122288.13137469998
132312.20717064886
142383.81710707848
152699.09355154652
162741.64147911429
172747.17928064406
182838.75465653515
193146.8139442935
203313.60921051351
213318.87518200179
223510.11272075898
233788.33785665945
243942.9595623084
253986.99103672319
264028.21641286004
275214.69456324304
285525.27957063967
295898.52100106459
306054.68132607862
316384.08043022805
327004.57705996996
337176.1440795992
347196.72300425687
357733.6502634283
367919.87418888597
378123.00597069829
389243.13866727994
3910807.9272815957
4011442.5536747526
4111571.5460065374
4211984.2384178138
4312123.4203448221
4412537.7157420824
4514947.2535820025
4620873.3773218065
4722377.9477852035
4827305.7102222397
4928124.4333129377
5029138.5555221767
5139874.6016168609
5239990.3774530280
5351577.2707129203
5488726.6665243049
55105535.089740650
56154287.777122290
57248938.804217822
58754646.923445161
591224956.29922616



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