Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationTue, 11 Nov 2008 10:42:36 -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/2008/Nov/11/t1226425435to00xww6wtvtddb.htm/, Retrieved Sun, 19 May 2024 12:03:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=23773, Retrieved Sun, 19 May 2024 12:03:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Hierarchical Clustering] [] [2008-11-11 09:51:18] [2a0ad3a9bcadca2da0acb91636601c6c]
-         [Hierarchical Clustering] [] [2008-11-11 17:42:36] [428345b1a3979ee2ad6751f9aac15fbb] [Current]
Feedback Forum

Post a new message
Dataseries X:
94.71
93.77
95.73
95.99
95.82
95.47
95.82
94.71
96.33
96.5
96.16
96.33
96.33
95.05
96.84
96.92
97.44
97.78
97.69
96.67
98.29
98.2
98.71
98.54
98.2
96.92
99.06
99.65
99.82
99.99
100.33
99.31
101.1
101.1
100.93
100.85
100.93
99.6
101.88
101.81
102.38
102.74
102.82
101.72
103.47
102.98
102.68
102.9
103.03
101.29
103.69
103.68
104.2
104.08
104.16
103.05
104.66
104.46
104.95
105.85
106.23




Summary of computational 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 computational 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=23773&T=0

[TABLE]
[ROW][C]Summary of computational 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=23773&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23773&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 computational 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
30
40
50
60
70
80
90.0099999999999909
100.019999999999996
110.0400000000000063
120.0500000000000114
130.0599999999999881
140.0699999999999932
150.0733333333333282
160.0800000000000125
170.0900000000000034
180.106666666666664
190.106666666666683
200.119999999999986
210.120000000000000
220.120000000000005
230.143333333333336
240.169999999999987
250.170000000000002
260.170000000000002
270.170000000000002
280.200000000000003
290.229999999999997
300.25
310.253333333333349
320.283333333333341
330.363333333333334
340.38000000000001
350.420000000000002
360.449999999999982
370.453333333333343
380.510000000000005
390.574000000000008
400.595333333333337
410.599999999999971
420.770000000000003
430.772666666666676
440.797999999999996
450.890000000000008
461.22333333333332
471.31250000000001
481.38999999999999
491.68200000000000
502.12616666666668
512.34555555555554
522.61777777777777
532.99703846153849
545.02444444444444
557.68535042735043
568.39649999999999
5710.1878947368421
5819.5065555555556
5953.5427777777778
6099.7758211101524

\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 \tabularnewline
6 & 0 \tabularnewline
7 & 0 \tabularnewline
8 & 0 \tabularnewline
9 & 0.0099999999999909 \tabularnewline
10 & 0.019999999999996 \tabularnewline
11 & 0.0400000000000063 \tabularnewline
12 & 0.0500000000000114 \tabularnewline
13 & 0.0599999999999881 \tabularnewline
14 & 0.0699999999999932 \tabularnewline
15 & 0.0733333333333282 \tabularnewline
16 & 0.0800000000000125 \tabularnewline
17 & 0.0900000000000034 \tabularnewline
18 & 0.106666666666664 \tabularnewline
19 & 0.106666666666683 \tabularnewline
20 & 0.119999999999986 \tabularnewline
21 & 0.120000000000000 \tabularnewline
22 & 0.120000000000005 \tabularnewline
23 & 0.143333333333336 \tabularnewline
24 & 0.169999999999987 \tabularnewline
25 & 0.170000000000002 \tabularnewline
26 & 0.170000000000002 \tabularnewline
27 & 0.170000000000002 \tabularnewline
28 & 0.200000000000003 \tabularnewline
29 & 0.229999999999997 \tabularnewline
30 & 0.25 \tabularnewline
31 & 0.253333333333349 \tabularnewline
32 & 0.283333333333341 \tabularnewline
33 & 0.363333333333334 \tabularnewline
34 & 0.38000000000001 \tabularnewline
35 & 0.420000000000002 \tabularnewline
36 & 0.449999999999982 \tabularnewline
37 & 0.453333333333343 \tabularnewline
38 & 0.510000000000005 \tabularnewline
39 & 0.574000000000008 \tabularnewline
40 & 0.595333333333337 \tabularnewline
41 & 0.599999999999971 \tabularnewline
42 & 0.770000000000003 \tabularnewline
43 & 0.772666666666676 \tabularnewline
44 & 0.797999999999996 \tabularnewline
45 & 0.890000000000008 \tabularnewline
46 & 1.22333333333332 \tabularnewline
47 & 1.31250000000001 \tabularnewline
48 & 1.38999999999999 \tabularnewline
49 & 1.68200000000000 \tabularnewline
50 & 2.12616666666668 \tabularnewline
51 & 2.34555555555554 \tabularnewline
52 & 2.61777777777777 \tabularnewline
53 & 2.99703846153849 \tabularnewline
54 & 5.02444444444444 \tabularnewline
55 & 7.68535042735043 \tabularnewline
56 & 8.39649999999999 \tabularnewline
57 & 10.1878947368421 \tabularnewline
58 & 19.5065555555556 \tabularnewline
59 & 53.5427777777778 \tabularnewline
60 & 99.7758211101524 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23773&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[/C][/ROW]
[ROW][C]6[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.0099999999999909[/C][/ROW]
[ROW][C]10[/C][C]0.019999999999996[/C][/ROW]
[ROW][C]11[/C][C]0.0400000000000063[/C][/ROW]
[ROW][C]12[/C][C]0.0500000000000114[/C][/ROW]
[ROW][C]13[/C][C]0.0599999999999881[/C][/ROW]
[ROW][C]14[/C][C]0.0699999999999932[/C][/ROW]
[ROW][C]15[/C][C]0.0733333333333282[/C][/ROW]
[ROW][C]16[/C][C]0.0800000000000125[/C][/ROW]
[ROW][C]17[/C][C]0.0900000000000034[/C][/ROW]
[ROW][C]18[/C][C]0.106666666666664[/C][/ROW]
[ROW][C]19[/C][C]0.106666666666683[/C][/ROW]
[ROW][C]20[/C][C]0.119999999999986[/C][/ROW]
[ROW][C]21[/C][C]0.120000000000000[/C][/ROW]
[ROW][C]22[/C][C]0.120000000000005[/C][/ROW]
[ROW][C]23[/C][C]0.143333333333336[/C][/ROW]
[ROW][C]24[/C][C]0.169999999999987[/C][/ROW]
[ROW][C]25[/C][C]0.170000000000002[/C][/ROW]
[ROW][C]26[/C][C]0.170000000000002[/C][/ROW]
[ROW][C]27[/C][C]0.170000000000002[/C][/ROW]
[ROW][C]28[/C][C]0.200000000000003[/C][/ROW]
[ROW][C]29[/C][C]0.229999999999997[/C][/ROW]
[ROW][C]30[/C][C]0.25[/C][/ROW]
[ROW][C]31[/C][C]0.253333333333349[/C][/ROW]
[ROW][C]32[/C][C]0.283333333333341[/C][/ROW]
[ROW][C]33[/C][C]0.363333333333334[/C][/ROW]
[ROW][C]34[/C][C]0.38000000000001[/C][/ROW]
[ROW][C]35[/C][C]0.420000000000002[/C][/ROW]
[ROW][C]36[/C][C]0.449999999999982[/C][/ROW]
[ROW][C]37[/C][C]0.453333333333343[/C][/ROW]
[ROW][C]38[/C][C]0.510000000000005[/C][/ROW]
[ROW][C]39[/C][C]0.574000000000008[/C][/ROW]
[ROW][C]40[/C][C]0.595333333333337[/C][/ROW]
[ROW][C]41[/C][C]0.599999999999971[/C][/ROW]
[ROW][C]42[/C][C]0.770000000000003[/C][/ROW]
[ROW][C]43[/C][C]0.772666666666676[/C][/ROW]
[ROW][C]44[/C][C]0.797999999999996[/C][/ROW]
[ROW][C]45[/C][C]0.890000000000008[/C][/ROW]
[ROW][C]46[/C][C]1.22333333333332[/C][/ROW]
[ROW][C]47[/C][C]1.31250000000001[/C][/ROW]
[ROW][C]48[/C][C]1.38999999999999[/C][/ROW]
[ROW][C]49[/C][C]1.68200000000000[/C][/ROW]
[ROW][C]50[/C][C]2.12616666666668[/C][/ROW]
[ROW][C]51[/C][C]2.34555555555554[/C][/ROW]
[ROW][C]52[/C][C]2.61777777777777[/C][/ROW]
[ROW][C]53[/C][C]2.99703846153849[/C][/ROW]
[ROW][C]54[/C][C]5.02444444444444[/C][/ROW]
[ROW][C]55[/C][C]7.68535042735043[/C][/ROW]
[ROW][C]56[/C][C]8.39649999999999[/C][/ROW]
[ROW][C]57[/C][C]10.1878947368421[/C][/ROW]
[ROW][C]58[/C][C]19.5065555555556[/C][/ROW]
[ROW][C]59[/C][C]53.5427777777778[/C][/ROW]
[ROW][C]60[/C][C]99.7758211101524[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23773&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23773&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
60
70
80
90.0099999999999909
100.019999999999996
110.0400000000000063
120.0500000000000114
130.0599999999999881
140.0699999999999932
150.0733333333333282
160.0800000000000125
170.0900000000000034
180.106666666666664
190.106666666666683
200.119999999999986
210.120000000000000
220.120000000000005
230.143333333333336
240.169999999999987
250.170000000000002
260.170000000000002
270.170000000000002
280.200000000000003
290.229999999999997
300.25
310.253333333333349
320.283333333333341
330.363333333333334
340.38000000000001
350.420000000000002
360.449999999999982
370.453333333333343
380.510000000000005
390.574000000000008
400.595333333333337
410.599999999999971
420.770000000000003
430.772666666666676
440.797999999999996
450.890000000000008
461.22333333333332
471.31250000000001
481.38999999999999
491.68200000000000
502.12616666666668
512.34555555555554
522.61777777777777
532.99703846153849
545.02444444444444
557.68535042735043
568.39649999999999
5710.1878947368421
5819.5065555555556
5953.5427777777778
6099.7758211101524



Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
Parameters (R input):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}