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 computationThu, 13 Nov 2008 11:27:29 -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/13/t1226600927m1cvpnsvwhk5gpr.htm/, Retrieved Sun, 19 May 2024 09:24:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24752, Retrieved Sun, 19 May 2024 09:24:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact133
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Hierarchical Clustering] [Hierarchical Clus...] [2008-11-13 18:27:29] [d300b7a0882cee7d84584ad37a3d4ede] [Current]
Feedback Forum
2008-11-20 11:00:57 [7bf28d4d60530086dbc44ae6b648927e] [reply
goed, moeilijk om verder te interpreteren zonder data.

Post a new message
Dataseries X:
7,5	6,7	8,5
8,3	7,4	9,3
8,5	7,6	9,5
8,4	7,5	9,5
8,2	7,7	8,9
7,5	6,7	8,6
6,6	5,9	7,5
6,9	5,6	8,5
8,5	7,1	10,3
9,3	7,7	11,6
9,2	7,3	11,9
9,5	7,4	12,5
9,7	7,6	12,7
9,8	7,7	12,7
8,6	6,7	11,5
7,1	5,1	10
6,4	4,2	9,8
6,6	4	10,4
7,4	4,6	11,7
8,8	5,8	13,7
9,8	6,3	15,6
10	6,2	16,3
10,1	6,3	16,4
10,8	7,1	17,1
10,7	7,2	16,8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24752&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24752&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24752&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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Summary of Dendrogram
LabelHeight
10.0999999999999996
20.141421356237309
30.141421356237311
40.173205080756886
50.331662479035541
60.347098971782291
70.496494039584975
80.50990195135928
90.66332495807108
100.803599871866543
111.00176317132551
121.08627804912002
131.26885775404495
141.39914227825284
151.87800868473167
162.25994854788583
172.29507068543450
182.8959816724239
193.37670462089204
203.49151566322851
217.3259809661982
2210.9816264954113
2317.4967412441861
2438.9618532554128

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.0999999999999996 \tabularnewline
2 & 0.141421356237309 \tabularnewline
3 & 0.141421356237311 \tabularnewline
4 & 0.173205080756886 \tabularnewline
5 & 0.331662479035541 \tabularnewline
6 & 0.347098971782291 \tabularnewline
7 & 0.496494039584975 \tabularnewline
8 & 0.50990195135928 \tabularnewline
9 & 0.66332495807108 \tabularnewline
10 & 0.803599871866543 \tabularnewline
11 & 1.00176317132551 \tabularnewline
12 & 1.08627804912002 \tabularnewline
13 & 1.26885775404495 \tabularnewline
14 & 1.39914227825284 \tabularnewline
15 & 1.87800868473167 \tabularnewline
16 & 2.25994854788583 \tabularnewline
17 & 2.29507068543450 \tabularnewline
18 & 2.8959816724239 \tabularnewline
19 & 3.37670462089204 \tabularnewline
20 & 3.49151566322851 \tabularnewline
21 & 7.3259809661982 \tabularnewline
22 & 10.9816264954113 \tabularnewline
23 & 17.4967412441861 \tabularnewline
24 & 38.9618532554128 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24752&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.0999999999999996[/C][/ROW]
[ROW][C]2[/C][C]0.141421356237309[/C][/ROW]
[ROW][C]3[/C][C]0.141421356237311[/C][/ROW]
[ROW][C]4[/C][C]0.173205080756886[/C][/ROW]
[ROW][C]5[/C][C]0.331662479035541[/C][/ROW]
[ROW][C]6[/C][C]0.347098971782291[/C][/ROW]
[ROW][C]7[/C][C]0.496494039584975[/C][/ROW]
[ROW][C]8[/C][C]0.50990195135928[/C][/ROW]
[ROW][C]9[/C][C]0.66332495807108[/C][/ROW]
[ROW][C]10[/C][C]0.803599871866543[/C][/ROW]
[ROW][C]11[/C][C]1.00176317132551[/C][/ROW]
[ROW][C]12[/C][C]1.08627804912002[/C][/ROW]
[ROW][C]13[/C][C]1.26885775404495[/C][/ROW]
[ROW][C]14[/C][C]1.39914227825284[/C][/ROW]
[ROW][C]15[/C][C]1.87800868473167[/C][/ROW]
[ROW][C]16[/C][C]2.25994854788583[/C][/ROW]
[ROW][C]17[/C][C]2.29507068543450[/C][/ROW]
[ROW][C]18[/C][C]2.8959816724239[/C][/ROW]
[ROW][C]19[/C][C]3.37670462089204[/C][/ROW]
[ROW][C]20[/C][C]3.49151566322851[/C][/ROW]
[ROW][C]21[/C][C]7.3259809661982[/C][/ROW]
[ROW][C]22[/C][C]10.9816264954113[/C][/ROW]
[ROW][C]23[/C][C]17.4967412441861[/C][/ROW]
[ROW][C]24[/C][C]38.9618532554128[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24752&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24752&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.0999999999999996
20.141421356237309
30.141421356237311
40.173205080756886
50.331662479035541
60.347098971782291
70.496494039584975
80.50990195135928
90.66332495807108
100.803599871866543
111.00176317132551
121.08627804912002
131.26885775404495
141.39914227825284
151.87800868473167
162.25994854788583
172.29507068543450
182.8959816724239
193.37670462089204
203.49151566322851
217.3259809661982
2210.9816264954113
2317.4967412441861
2438.9618532554128



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