Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationMon, 05 Nov 2007 11:50:42 -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/05/58h8jvh66klfv1z1194288577.htm/, Retrieved Sun, 28 Apr 2024 21:42:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=421, Retrieved Sun, 28 Apr 2024 21:42:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsTaak4.2G19
Estimated Impact279
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [Hierarchical Clus...] [2007-11-05 18:50:42] [6b5c00822e2ce0f7cf73539c28d95782] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,22	103,7	107,97
106,31	103,75	108,13
107,38	103,85	108,54
109,31	104,02	109,86
110,82	104,13	109,75
111,22	104,17	109,99
110,66	104,18	112,01
110,76	104,2	111,96
110,69	104,5	111,41
111,08	104,78	112,11
110,97	104,88	111,67
110,24	104,89	111,95
112,51	104,9	112,31
111,52	104,95	113,26
112,13	105,24	113,5
112,23	105,35	114,43
112,92	105,44	115,02
111,89	105,46	115,1
111,99	105,47	117,11
111,51	105,48	117,52
112,33	105,75	116,1
112,04	106,1	116,39
112,09	106,19	116,01
111,41	106,23	116,74
112,61	106,24	116,68
113,14	106,25	117,45
113,65	106,35	117,8
114,26	106,48	119,37
114,4	106,52	118,9
114,93	106,55	119,05
114,86	106,55	120,46
114,95	106,56	120,99
116,17	106,89	119,86
114,6	107,09	120,18
114,62	107,24	119,81
113,82	107,28	120,15
115,02	107,3	119,8
115,18	107,31	120,27
115,59	107,47	120,71
116,6	107,35	121,87
117,07	107,31	121,87
116,96	107,32	121,92
116,66	107,32	123,72
116,07	107,34	124,38
116,04	107,53	123,21
115,81	107,72	123,17
116,22	107,75	122,95
115,85	107,79	123,46
116,43	107,81	123,24
117,39	107,9	123,86
119,17	107,8	124,28
119,24	107,86	124,78
120,03	107,8	125,19
119,34	107,74	125,46
118,49	107,75	127,6
118,59	107,83	127,8
117,5	107,8	126,63
117,56	107,81	127,06
118,25	107,86	126,77
118,01	107,83	127,05




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 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=421&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]2 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=421&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=421&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 time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Summary of Dendrogram
LabelHeight
10.113578166916017
20.121243556529819
30.190262975904402
40.237486841740764
50.300998338865841
60.363042697213426
70.369999999999998
80.372117007763818
90.393700393700587
100.399749921826135
110.434281015012176
120.464435140789321
130.468187996428788
140.4920365840057
150.496588360717408
160.508428952755446
170.517179285942752
180.537680202350804
190.567687272051333
200.626578007912822
210.631347764706574
220.700935878845686
230.716798437498292
240.733613420050094
250.743370701601829
260.759341820262776
270.770328591422721
280.798895748926185
290.885494212290515
300.911540072305766
310.915276492748528
320.916414357507572
331.04395304116301
341.18122817440154
351.19743498929958
361.21652832783331
371.35021460344662
381.38973514447811
391.39187857104455
401.53948868551752
411.57082614490305
421.902420550976
432.13612302239588
442.25982880903068
452.28316981868216
462.43846239797042
472.51823609763752
483.71718033650766
493.92449085428042
505.76489248090338
516.07779028539958
527.58240655780845
539.72772979470928
5411.6747725340286
5518.5817510902330
5628.4375788186346
5743.9701927653905
5862.5409338314192
59212.445235199112

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.113578166916017 \tabularnewline
2 & 0.121243556529819 \tabularnewline
3 & 0.190262975904402 \tabularnewline
4 & 0.237486841740764 \tabularnewline
5 & 0.300998338865841 \tabularnewline
6 & 0.363042697213426 \tabularnewline
7 & 0.369999999999998 \tabularnewline
8 & 0.372117007763818 \tabularnewline
9 & 0.393700393700587 \tabularnewline
10 & 0.399749921826135 \tabularnewline
11 & 0.434281015012176 \tabularnewline
12 & 0.464435140789321 \tabularnewline
13 & 0.468187996428788 \tabularnewline
14 & 0.4920365840057 \tabularnewline
15 & 0.496588360717408 \tabularnewline
16 & 0.508428952755446 \tabularnewline
17 & 0.517179285942752 \tabularnewline
18 & 0.537680202350804 \tabularnewline
19 & 0.567687272051333 \tabularnewline
20 & 0.626578007912822 \tabularnewline
21 & 0.631347764706574 \tabularnewline
22 & 0.700935878845686 \tabularnewline
23 & 0.716798437498292 \tabularnewline
24 & 0.733613420050094 \tabularnewline
25 & 0.743370701601829 \tabularnewline
26 & 0.759341820262776 \tabularnewline
27 & 0.770328591422721 \tabularnewline
28 & 0.798895748926185 \tabularnewline
29 & 0.885494212290515 \tabularnewline
30 & 0.911540072305766 \tabularnewline
31 & 0.915276492748528 \tabularnewline
32 & 0.916414357507572 \tabularnewline
33 & 1.04395304116301 \tabularnewline
34 & 1.18122817440154 \tabularnewline
35 & 1.19743498929958 \tabularnewline
36 & 1.21652832783331 \tabularnewline
37 & 1.35021460344662 \tabularnewline
38 & 1.38973514447811 \tabularnewline
39 & 1.39187857104455 \tabularnewline
40 & 1.53948868551752 \tabularnewline
41 & 1.57082614490305 \tabularnewline
42 & 1.902420550976 \tabularnewline
43 & 2.13612302239588 \tabularnewline
44 & 2.25982880903068 \tabularnewline
45 & 2.28316981868216 \tabularnewline
46 & 2.43846239797042 \tabularnewline
47 & 2.51823609763752 \tabularnewline
48 & 3.71718033650766 \tabularnewline
49 & 3.92449085428042 \tabularnewline
50 & 5.76489248090338 \tabularnewline
51 & 6.07779028539958 \tabularnewline
52 & 7.58240655780845 \tabularnewline
53 & 9.72772979470928 \tabularnewline
54 & 11.6747725340286 \tabularnewline
55 & 18.5817510902330 \tabularnewline
56 & 28.4375788186346 \tabularnewline
57 & 43.9701927653905 \tabularnewline
58 & 62.5409338314192 \tabularnewline
59 & 212.445235199112 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=421&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.113578166916017[/C][/ROW]
[ROW][C]2[/C][C]0.121243556529819[/C][/ROW]
[ROW][C]3[/C][C]0.190262975904402[/C][/ROW]
[ROW][C]4[/C][C]0.237486841740764[/C][/ROW]
[ROW][C]5[/C][C]0.300998338865841[/C][/ROW]
[ROW][C]6[/C][C]0.363042697213426[/C][/ROW]
[ROW][C]7[/C][C]0.369999999999998[/C][/ROW]
[ROW][C]8[/C][C]0.372117007763818[/C][/ROW]
[ROW][C]9[/C][C]0.393700393700587[/C][/ROW]
[ROW][C]10[/C][C]0.399749921826135[/C][/ROW]
[ROW][C]11[/C][C]0.434281015012176[/C][/ROW]
[ROW][C]12[/C][C]0.464435140789321[/C][/ROW]
[ROW][C]13[/C][C]0.468187996428788[/C][/ROW]
[ROW][C]14[/C][C]0.4920365840057[/C][/ROW]
[ROW][C]15[/C][C]0.496588360717408[/C][/ROW]
[ROW][C]16[/C][C]0.508428952755446[/C][/ROW]
[ROW][C]17[/C][C]0.517179285942752[/C][/ROW]
[ROW][C]18[/C][C]0.537680202350804[/C][/ROW]
[ROW][C]19[/C][C]0.567687272051333[/C][/ROW]
[ROW][C]20[/C][C]0.626578007912822[/C][/ROW]
[ROW][C]21[/C][C]0.631347764706574[/C][/ROW]
[ROW][C]22[/C][C]0.700935878845686[/C][/ROW]
[ROW][C]23[/C][C]0.716798437498292[/C][/ROW]
[ROW][C]24[/C][C]0.733613420050094[/C][/ROW]
[ROW][C]25[/C][C]0.743370701601829[/C][/ROW]
[ROW][C]26[/C][C]0.759341820262776[/C][/ROW]
[ROW][C]27[/C][C]0.770328591422721[/C][/ROW]
[ROW][C]28[/C][C]0.798895748926185[/C][/ROW]
[ROW][C]29[/C][C]0.885494212290515[/C][/ROW]
[ROW][C]30[/C][C]0.911540072305766[/C][/ROW]
[ROW][C]31[/C][C]0.915276492748528[/C][/ROW]
[ROW][C]32[/C][C]0.916414357507572[/C][/ROW]
[ROW][C]33[/C][C]1.04395304116301[/C][/ROW]
[ROW][C]34[/C][C]1.18122817440154[/C][/ROW]
[ROW][C]35[/C][C]1.19743498929958[/C][/ROW]
[ROW][C]36[/C][C]1.21652832783331[/C][/ROW]
[ROW][C]37[/C][C]1.35021460344662[/C][/ROW]
[ROW][C]38[/C][C]1.38973514447811[/C][/ROW]
[ROW][C]39[/C][C]1.39187857104455[/C][/ROW]
[ROW][C]40[/C][C]1.53948868551752[/C][/ROW]
[ROW][C]41[/C][C]1.57082614490305[/C][/ROW]
[ROW][C]42[/C][C]1.902420550976[/C][/ROW]
[ROW][C]43[/C][C]2.13612302239588[/C][/ROW]
[ROW][C]44[/C][C]2.25982880903068[/C][/ROW]
[ROW][C]45[/C][C]2.28316981868216[/C][/ROW]
[ROW][C]46[/C][C]2.43846239797042[/C][/ROW]
[ROW][C]47[/C][C]2.51823609763752[/C][/ROW]
[ROW][C]48[/C][C]3.71718033650766[/C][/ROW]
[ROW][C]49[/C][C]3.92449085428042[/C][/ROW]
[ROW][C]50[/C][C]5.76489248090338[/C][/ROW]
[ROW][C]51[/C][C]6.07779028539958[/C][/ROW]
[ROW][C]52[/C][C]7.58240655780845[/C][/ROW]
[ROW][C]53[/C][C]9.72772979470928[/C][/ROW]
[ROW][C]54[/C][C]11.6747725340286[/C][/ROW]
[ROW][C]55[/C][C]18.5817510902330[/C][/ROW]
[ROW][C]56[/C][C]28.4375788186346[/C][/ROW]
[ROW][C]57[/C][C]43.9701927653905[/C][/ROW]
[ROW][C]58[/C][C]62.5409338314192[/C][/ROW]
[ROW][C]59[/C][C]212.445235199112[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=421&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=421&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.113578166916017
20.121243556529819
30.190262975904402
40.237486841740764
50.300998338865841
60.363042697213426
70.369999999999998
80.372117007763818
90.393700393700587
100.399749921826135
110.434281015012176
120.464435140789321
130.468187996428788
140.4920365840057
150.496588360717408
160.508428952755446
170.517179285942752
180.537680202350804
190.567687272051333
200.626578007912822
210.631347764706574
220.700935878845686
230.716798437498292
240.733613420050094
250.743370701601829
260.759341820262776
270.770328591422721
280.798895748926185
290.885494212290515
300.911540072305766
310.915276492748528
320.916414357507572
331.04395304116301
341.18122817440154
351.19743498929958
361.21652832783331
371.35021460344662
381.38973514447811
391.39187857104455
401.53948868551752
411.57082614490305
421.902420550976
432.13612302239588
442.25982880903068
452.28316981868216
462.43846239797042
472.51823609763752
483.71718033650766
493.92449085428042
505.76489248090338
516.07779028539958
527.58240655780845
539.72772979470928
5411.6747725340286
5518.5817510902330
5628.4375788186346
5743.9701927653905
5862.5409338314192
59212.445235199112



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