Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationSat, 03 Nov 2007 03:51:30 -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/03/osax2cu9jvlg2xs1194087001.htm/, Retrieved Sun, 05 May 2024 04:32:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=230, Retrieved Sun, 05 May 2024 04:32:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsws 4, q2
Estimated Impact201
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Hierarchical Clustering] [ws 4 q2] [2007-11-03 10:51:30] [e2f7a6e26aa7cf06a3d27eb5298a4843] [Current]
-    D    [Hierarchical Clustering] [ws4] [2007-11-04 10:18:23] [655b624ee9c65b36f9e3a3ae18e147e0]
Feedback Forum

Post a new message
Dataseries X:
8.1	7.7	8.5	18.9
8.2	7.8	8.6	19.1
8	7.7	8.5	18.2
8.1	7.7	8.5	17.9
8.3	7.7	9	21.4
8.2	7.7	9	20.9
8.1	7.6	8.8	20.2
7.7	7.5	8	19.4
7.6	7.4	7.9	18.6
7.7	7.4	8.1	19
8.2	7.5	9.3	23.9
8.4	7.6	9.4	24.9
8.4	7.6	9.4	24.8
8.6	8.1	9.3	23.5
8.4	7.8	9	22.2
8.5	8	9.1	22.1
8.7	7.9	9.7	20.2
8.7	7.9	9.7	19.8
8.6	7.8	9.6	18.9
7.4	6.7	8.3	17.9
7.3	6.6	8.2	17.2
7.4	6.6	8.4	17.5
9	7.7	10.6	24.3
9.2	7.9	10.9	25.3
9.2	8	10.9	25.2
8.5	7.7	9.6	23.3
8.3	7.5	9.3	22.1
8.3	7.6	9.3	21.5
8.6	7.8	9.6	21
8.6	7.8	9.5	20.5
8.5	7.7	9.5	19.9
8.1	7.4	9	20.3
8.1	7.5	8.9	19.6
8	7.2	9	19.7
8.6	7.5	10.1	22.7
8.7	7.6	10.2	23.7
8.7	7.6	10.2	23.7
8.6	7.8	9.5	23.1
8.4	7.7	9.3	21.9
8.4	7.7	9.3	21.3
8.7	8.2	9.4	20.5
8.7	8.2	9.3	20.2
8.5	8.1	9.1	19.4
8.3	7.8	9	19.1
8.3	7.8	8.9	18.7
8.3	7.7	9	18.9
8.1	6.7	9.8	22.5
8.2	6.7	10	23.3
8.1	6.7	9.8	23.1
8.1	7.2	9.4	21.3
7.9	6.9	9	19.8
7.7	6.8	8.9	18.9
8.1	7.2	9.3	19.3
8	7.1	9.1	18.6
7.7	6.9	8.8	17.7
7.8	6.9	8.9	20
7.6	6.7	8.7	18.9
7.4	6.5	8.6	18.7
7.7	6.6	9.1	20.8
7.9	6.6	9.3	21.7
7.6	6.5	8.9	20.8




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=230&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
10
20.0999999999999979
30.141421356237310
40.223606797749981
50.244948974278317
60.244948974278317
70.244948974278317
80.244948974278319
90.264575131106458
100.264575131106458
110.264575131106461
120.299999999999999
130.300000000000000
140.300000000000002
150.316227766016838
160.316227766016838
170.331662479035541
180.346410161513775
190.360555127546398
200.374165738677395
210.387298334620742
220.412310562561768
230.424264068711927
240.547722557505165
250.547722557505166
260.556776436283002
270.574456264653803
280.58309518948453
290.583095189484531
300.648074069840786
310.678232998312527
320.734846922834953
330.774596669241483
340.787400787401183
350.818535277187242
360.818535277187244
370.830662386291808
380.854400374531752
390.860232526704263
400.927361849549572
410.964365076099293
420.989949493661166
431.03440804327886
441.08166538263920
451.10453610171872
461.21243556529821
471.35646599662505
481.44913767461894
491.47309198626562
501.64316767251550
511.73205080756888
521.82482875908946
531.994993734326
542.18860686282393
552.41867732448956
562.61151297144012
573.42052627529741
583.5028559776274
595.31883445878888
608.84307638777366

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0 \tabularnewline
2 & 0.0999999999999979 \tabularnewline
3 & 0.141421356237310 \tabularnewline
4 & 0.223606797749981 \tabularnewline
5 & 0.244948974278317 \tabularnewline
6 & 0.244948974278317 \tabularnewline
7 & 0.244948974278317 \tabularnewline
8 & 0.244948974278319 \tabularnewline
9 & 0.264575131106458 \tabularnewline
10 & 0.264575131106458 \tabularnewline
11 & 0.264575131106461 \tabularnewline
12 & 0.299999999999999 \tabularnewline
13 & 0.300000000000000 \tabularnewline
14 & 0.300000000000002 \tabularnewline
15 & 0.316227766016838 \tabularnewline
16 & 0.316227766016838 \tabularnewline
17 & 0.331662479035541 \tabularnewline
18 & 0.346410161513775 \tabularnewline
19 & 0.360555127546398 \tabularnewline
20 & 0.374165738677395 \tabularnewline
21 & 0.387298334620742 \tabularnewline
22 & 0.412310562561768 \tabularnewline
23 & 0.424264068711927 \tabularnewline
24 & 0.547722557505165 \tabularnewline
25 & 0.547722557505166 \tabularnewline
26 & 0.556776436283002 \tabularnewline
27 & 0.574456264653803 \tabularnewline
28 & 0.58309518948453 \tabularnewline
29 & 0.583095189484531 \tabularnewline
30 & 0.648074069840786 \tabularnewline
31 & 0.678232998312527 \tabularnewline
32 & 0.734846922834953 \tabularnewline
33 & 0.774596669241483 \tabularnewline
34 & 0.787400787401183 \tabularnewline
35 & 0.818535277187242 \tabularnewline
36 & 0.818535277187244 \tabularnewline
37 & 0.830662386291808 \tabularnewline
38 & 0.854400374531752 \tabularnewline
39 & 0.860232526704263 \tabularnewline
40 & 0.927361849549572 \tabularnewline
41 & 0.964365076099293 \tabularnewline
42 & 0.989949493661166 \tabularnewline
43 & 1.03440804327886 \tabularnewline
44 & 1.08166538263920 \tabularnewline
45 & 1.10453610171872 \tabularnewline
46 & 1.21243556529821 \tabularnewline
47 & 1.35646599662505 \tabularnewline
48 & 1.44913767461894 \tabularnewline
49 & 1.47309198626562 \tabularnewline
50 & 1.64316767251550 \tabularnewline
51 & 1.73205080756888 \tabularnewline
52 & 1.82482875908946 \tabularnewline
53 & 1.994993734326 \tabularnewline
54 & 2.18860686282393 \tabularnewline
55 & 2.41867732448956 \tabularnewline
56 & 2.61151297144012 \tabularnewline
57 & 3.42052627529741 \tabularnewline
58 & 3.5028559776274 \tabularnewline
59 & 5.31883445878888 \tabularnewline
60 & 8.84307638777366 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=230&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.0999999999999979[/C][/ROW]
[ROW][C]3[/C][C]0.141421356237310[/C][/ROW]
[ROW][C]4[/C][C]0.223606797749981[/C][/ROW]
[ROW][C]5[/C][C]0.244948974278317[/C][/ROW]
[ROW][C]6[/C][C]0.244948974278317[/C][/ROW]
[ROW][C]7[/C][C]0.244948974278317[/C][/ROW]
[ROW][C]8[/C][C]0.244948974278319[/C][/ROW]
[ROW][C]9[/C][C]0.264575131106458[/C][/ROW]
[ROW][C]10[/C][C]0.264575131106458[/C][/ROW]
[ROW][C]11[/C][C]0.264575131106461[/C][/ROW]
[ROW][C]12[/C][C]0.299999999999999[/C][/ROW]
[ROW][C]13[/C][C]0.300000000000000[/C][/ROW]
[ROW][C]14[/C][C]0.300000000000002[/C][/ROW]
[ROW][C]15[/C][C]0.316227766016838[/C][/ROW]
[ROW][C]16[/C][C]0.316227766016838[/C][/ROW]
[ROW][C]17[/C][C]0.331662479035541[/C][/ROW]
[ROW][C]18[/C][C]0.346410161513775[/C][/ROW]
[ROW][C]19[/C][C]0.360555127546398[/C][/ROW]
[ROW][C]20[/C][C]0.374165738677395[/C][/ROW]
[ROW][C]21[/C][C]0.387298334620742[/C][/ROW]
[ROW][C]22[/C][C]0.412310562561768[/C][/ROW]
[ROW][C]23[/C][C]0.424264068711927[/C][/ROW]
[ROW][C]24[/C][C]0.547722557505165[/C][/ROW]
[ROW][C]25[/C][C]0.547722557505166[/C][/ROW]
[ROW][C]26[/C][C]0.556776436283002[/C][/ROW]
[ROW][C]27[/C][C]0.574456264653803[/C][/ROW]
[ROW][C]28[/C][C]0.58309518948453[/C][/ROW]
[ROW][C]29[/C][C]0.583095189484531[/C][/ROW]
[ROW][C]30[/C][C]0.648074069840786[/C][/ROW]
[ROW][C]31[/C][C]0.678232998312527[/C][/ROW]
[ROW][C]32[/C][C]0.734846922834953[/C][/ROW]
[ROW][C]33[/C][C]0.774596669241483[/C][/ROW]
[ROW][C]34[/C][C]0.787400787401183[/C][/ROW]
[ROW][C]35[/C][C]0.818535277187242[/C][/ROW]
[ROW][C]36[/C][C]0.818535277187244[/C][/ROW]
[ROW][C]37[/C][C]0.830662386291808[/C][/ROW]
[ROW][C]38[/C][C]0.854400374531752[/C][/ROW]
[ROW][C]39[/C][C]0.860232526704263[/C][/ROW]
[ROW][C]40[/C][C]0.927361849549572[/C][/ROW]
[ROW][C]41[/C][C]0.964365076099293[/C][/ROW]
[ROW][C]42[/C][C]0.989949493661166[/C][/ROW]
[ROW][C]43[/C][C]1.03440804327886[/C][/ROW]
[ROW][C]44[/C][C]1.08166538263920[/C][/ROW]
[ROW][C]45[/C][C]1.10453610171872[/C][/ROW]
[ROW][C]46[/C][C]1.21243556529821[/C][/ROW]
[ROW][C]47[/C][C]1.35646599662505[/C][/ROW]
[ROW][C]48[/C][C]1.44913767461894[/C][/ROW]
[ROW][C]49[/C][C]1.47309198626562[/C][/ROW]
[ROW][C]50[/C][C]1.64316767251550[/C][/ROW]
[ROW][C]51[/C][C]1.73205080756888[/C][/ROW]
[ROW][C]52[/C][C]1.82482875908946[/C][/ROW]
[ROW][C]53[/C][C]1.994993734326[/C][/ROW]
[ROW][C]54[/C][C]2.18860686282393[/C][/ROW]
[ROW][C]55[/C][C]2.41867732448956[/C][/ROW]
[ROW][C]56[/C][C]2.61151297144012[/C][/ROW]
[ROW][C]57[/C][C]3.42052627529741[/C][/ROW]
[ROW][C]58[/C][C]3.5028559776274[/C][/ROW]
[ROW][C]59[/C][C]5.31883445878888[/C][/ROW]
[ROW][C]60[/C][C]8.84307638777366[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=230&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=230&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.0999999999999979
30.141421356237310
40.223606797749981
50.244948974278317
60.244948974278317
70.244948974278317
80.244948974278319
90.264575131106458
100.264575131106458
110.264575131106461
120.299999999999999
130.300000000000000
140.300000000000002
150.316227766016838
160.316227766016838
170.331662479035541
180.346410161513775
190.360555127546398
200.374165738677395
210.387298334620742
220.412310562561768
230.424264068711927
240.547722557505165
250.547722557505166
260.556776436283002
270.574456264653803
280.58309518948453
290.583095189484531
300.648074069840786
310.678232998312527
320.734846922834953
330.774596669241483
340.787400787401183
350.818535277187242
360.818535277187244
370.830662386291808
380.854400374531752
390.860232526704263
400.927361849549572
410.964365076099293
420.989949493661166
431.03440804327886
441.08166538263920
451.10453610171872
461.21243556529821
471.35646599662505
481.44913767461894
491.47309198626562
501.64316767251550
511.73205080756888
521.82482875908946
531.994993734326
542.18860686282393
552.41867732448956
562.61151297144012
573.42052627529741
583.5028559776274
595.31883445878888
608.84307638777366



Parameters (Session):
par1 = complete ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = complete ; 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')
}