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 computationMon, 10 Nov 2008 04:46:15 -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/10/t1226317617jwccu23pfd9w4zq.htm/, Retrieved Mon, 20 May 2024 07:45:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=22962, Retrieved Mon, 20 May 2024 07:45:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsBert Moons, Hierarchical Clustering
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Hierarchical Clustering] [Bert Moons Hierar...] [2008-11-10 11:46:15] [1828943283e41f5e3270e2e73d6433b4] [Current]
Feedback Forum
2008-11-19 17:43:10 [Toon Wouters] [reply
Via de dendogram kunnen we zien of in de periodes groepen worden gemaakt die op elkaar trekken. De tijdreeksen worden opgesplitst in takken.
2008-11-20 15:30:24 [Natalie De Wilde] [reply
De tijdreeksen worden opgesplitst is twee delen, 2takken uit het 1e knooppunt. De tijdreeksen worden steeds verder onderverdeeld tot op een enkele periode. Je moet kijken naar de getallen die op de x-as staan voor de interpretatie.
2008-11-24 18:35:07 [Sören Van Donink] [reply
Tijdreeksen worden steeds opgesplitst is twee delen. De tijdreeksen kunnen worden blijven opgesplitst tot de verdeling tot één periode komt.
2008-11-24 20:34:35 [Vincent Vanden Poel] [reply
Zoals je zegt zijn er in dit geval weinig of geen patronen op te maken. Een dedrogram maakt clusters binnen de groep varabelen. Hoe verder men verticaal naar onder onderverdeeld wordt, des te meer hebben de variabelen met elkaar gemeen.

Post a new message
Dataseries X:
4.8	19.2	3
5.5	26.6	3.5
5.4	26.6	3.9
5.9	31.4	4.4
5.8	31.2	3.5
5.1	26.4	4.7
4.1	20.7	1.6
4.4	20.7	2.3
3.6	15	1.2
3.5	13.3	1.4
3.1	8.7	2.7
2.9	10.2	1.5
2.2	4.3	2.1
1.4	-0.1	0.5
1.2	-4.6	1.7
1.3	-3.9	3.6
1.3	-3.5	3.2
1.3	-3.4	1.7
1.8	-2.5	5.6
1.8	-1.1	3.7
1.8	0.3	4.3
1.7	-0.9	5.9
2.1	3.6	4.8
2	2.7	6
1.7	-0.2	5.6
1.9	-1	6.7
2.3	5.8	3.3
2.4	6.4	3
2.5	9.6	1.6
2.8	13.2	1.7
2.6	10.6	1.1
2.2	10.9	-0.3
2.8	12.9	3
2.8	15.9	2.7
2.8	12.2	1.8
2.3	9.1	1.5
2.2	9	1
3	17.4	0.5
2.9	14.7	2.8
2.7	17	1.4
2.7	13.7	1.7
2.3	9.5	2.6
2.4	14.8	1.9
2.8	13.6	3.9
2.3	12.6	1.5
2	8.9	-0.5
1.9	10.2	1.9
2.3	12.7	1
2.7	16	0.1
1.8	10.4	-3.1
2	9.9	-0.8
2.1	9.5	0.7
2	8.6	1.4
2.4	10	2.8
1.7	3.5	1.9
1	-4.2	1.1
1.2	-4.4	1.4
1.4	-1.5	2.9
1.7	-0.1	2.9
1.8	0.8	2.9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22962&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22962&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22962&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'George Udny Yule' @ 72.249.76.132







Summary of Dendrogram
LabelHeight
10.360555127546399
20.412310562561766
30.412310562561766
40.509901951359278
50.509901951359278
60.519615242270663
70.547722557505166
80.547722557505166
90.565685424949238
100.591607978309962
110.591607978309962
120.640312423743285
130.678232998312527
140.707106781186548
150.728010988928051
160.761577310586391
170.761577310586391
180.768114574786861
190.806225774829855
200.830662386291807
210.877496438739213
220.9
230.905538513813742
240.92736184954957
250.964365076099295
260.979795897113272
271.02469507659596
281.0295630140987
291.03440804327886
301.04403065089106
311.04403065089106
321.13578166916005
331.13578166916006
341.14017542509914
351.15758369027902
361.20830459735946
371.28452325786651
381.33416640641263
391.34536240470737
401.39642400437689
411.40356688476182
421.45945195193264
431.48660687473185
441.50332963783729
451.50332963783729
461.63095064303001
471.70293863659264
481.70587221092320
491.75783958312469
501.92353840616713
512.02484567313166
522.36220236220354
532.41867732448956
542.42280828791714
552.67020598456374
562.88097205817759
573.43656805548792
584.60977222864644
596.12045749923974

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 0.360555127546399 \tabularnewline
2 & 0.412310562561766 \tabularnewline
3 & 0.412310562561766 \tabularnewline
4 & 0.509901951359278 \tabularnewline
5 & 0.509901951359278 \tabularnewline
6 & 0.519615242270663 \tabularnewline
7 & 0.547722557505166 \tabularnewline
8 & 0.547722557505166 \tabularnewline
9 & 0.565685424949238 \tabularnewline
10 & 0.591607978309962 \tabularnewline
11 & 0.591607978309962 \tabularnewline
12 & 0.640312423743285 \tabularnewline
13 & 0.678232998312527 \tabularnewline
14 & 0.707106781186548 \tabularnewline
15 & 0.728010988928051 \tabularnewline
16 & 0.761577310586391 \tabularnewline
17 & 0.761577310586391 \tabularnewline
18 & 0.768114574786861 \tabularnewline
19 & 0.806225774829855 \tabularnewline
20 & 0.830662386291807 \tabularnewline
21 & 0.877496438739213 \tabularnewline
22 & 0.9 \tabularnewline
23 & 0.905538513813742 \tabularnewline
24 & 0.92736184954957 \tabularnewline
25 & 0.964365076099295 \tabularnewline
26 & 0.979795897113272 \tabularnewline
27 & 1.02469507659596 \tabularnewline
28 & 1.0295630140987 \tabularnewline
29 & 1.03440804327886 \tabularnewline
30 & 1.04403065089106 \tabularnewline
31 & 1.04403065089106 \tabularnewline
32 & 1.13578166916005 \tabularnewline
33 & 1.13578166916006 \tabularnewline
34 & 1.14017542509914 \tabularnewline
35 & 1.15758369027902 \tabularnewline
36 & 1.20830459735946 \tabularnewline
37 & 1.28452325786651 \tabularnewline
38 & 1.33416640641263 \tabularnewline
39 & 1.34536240470737 \tabularnewline
40 & 1.39642400437689 \tabularnewline
41 & 1.40356688476182 \tabularnewline
42 & 1.45945195193264 \tabularnewline
43 & 1.48660687473185 \tabularnewline
44 & 1.50332963783729 \tabularnewline
45 & 1.50332963783729 \tabularnewline
46 & 1.63095064303001 \tabularnewline
47 & 1.70293863659264 \tabularnewline
48 & 1.70587221092320 \tabularnewline
49 & 1.75783958312469 \tabularnewline
50 & 1.92353840616713 \tabularnewline
51 & 2.02484567313166 \tabularnewline
52 & 2.36220236220354 \tabularnewline
53 & 2.41867732448956 \tabularnewline
54 & 2.42280828791714 \tabularnewline
55 & 2.67020598456374 \tabularnewline
56 & 2.88097205817759 \tabularnewline
57 & 3.43656805548792 \tabularnewline
58 & 4.60977222864644 \tabularnewline
59 & 6.12045749923974 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=22962&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]0.360555127546399[/C][/ROW]
[ROW][C]2[/C][C]0.412310562561766[/C][/ROW]
[ROW][C]3[/C][C]0.412310562561766[/C][/ROW]
[ROW][C]4[/C][C]0.509901951359278[/C][/ROW]
[ROW][C]5[/C][C]0.509901951359278[/C][/ROW]
[ROW][C]6[/C][C]0.519615242270663[/C][/ROW]
[ROW][C]7[/C][C]0.547722557505166[/C][/ROW]
[ROW][C]8[/C][C]0.547722557505166[/C][/ROW]
[ROW][C]9[/C][C]0.565685424949238[/C][/ROW]
[ROW][C]10[/C][C]0.591607978309962[/C][/ROW]
[ROW][C]11[/C][C]0.591607978309962[/C][/ROW]
[ROW][C]12[/C][C]0.640312423743285[/C][/ROW]
[ROW][C]13[/C][C]0.678232998312527[/C][/ROW]
[ROW][C]14[/C][C]0.707106781186548[/C][/ROW]
[ROW][C]15[/C][C]0.728010988928051[/C][/ROW]
[ROW][C]16[/C][C]0.761577310586391[/C][/ROW]
[ROW][C]17[/C][C]0.761577310586391[/C][/ROW]
[ROW][C]18[/C][C]0.768114574786861[/C][/ROW]
[ROW][C]19[/C][C]0.806225774829855[/C][/ROW]
[ROW][C]20[/C][C]0.830662386291807[/C][/ROW]
[ROW][C]21[/C][C]0.877496438739213[/C][/ROW]
[ROW][C]22[/C][C]0.9[/C][/ROW]
[ROW][C]23[/C][C]0.905538513813742[/C][/ROW]
[ROW][C]24[/C][C]0.92736184954957[/C][/ROW]
[ROW][C]25[/C][C]0.964365076099295[/C][/ROW]
[ROW][C]26[/C][C]0.979795897113272[/C][/ROW]
[ROW][C]27[/C][C]1.02469507659596[/C][/ROW]
[ROW][C]28[/C][C]1.0295630140987[/C][/ROW]
[ROW][C]29[/C][C]1.03440804327886[/C][/ROW]
[ROW][C]30[/C][C]1.04403065089106[/C][/ROW]
[ROW][C]31[/C][C]1.04403065089106[/C][/ROW]
[ROW][C]32[/C][C]1.13578166916005[/C][/ROW]
[ROW][C]33[/C][C]1.13578166916006[/C][/ROW]
[ROW][C]34[/C][C]1.14017542509914[/C][/ROW]
[ROW][C]35[/C][C]1.15758369027902[/C][/ROW]
[ROW][C]36[/C][C]1.20830459735946[/C][/ROW]
[ROW][C]37[/C][C]1.28452325786651[/C][/ROW]
[ROW][C]38[/C][C]1.33416640641263[/C][/ROW]
[ROW][C]39[/C][C]1.34536240470737[/C][/ROW]
[ROW][C]40[/C][C]1.39642400437689[/C][/ROW]
[ROW][C]41[/C][C]1.40356688476182[/C][/ROW]
[ROW][C]42[/C][C]1.45945195193264[/C][/ROW]
[ROW][C]43[/C][C]1.48660687473185[/C][/ROW]
[ROW][C]44[/C][C]1.50332963783729[/C][/ROW]
[ROW][C]45[/C][C]1.50332963783729[/C][/ROW]
[ROW][C]46[/C][C]1.63095064303001[/C][/ROW]
[ROW][C]47[/C][C]1.70293863659264[/C][/ROW]
[ROW][C]48[/C][C]1.70587221092320[/C][/ROW]
[ROW][C]49[/C][C]1.75783958312469[/C][/ROW]
[ROW][C]50[/C][C]1.92353840616713[/C][/ROW]
[ROW][C]51[/C][C]2.02484567313166[/C][/ROW]
[ROW][C]52[/C][C]2.36220236220354[/C][/ROW]
[ROW][C]53[/C][C]2.41867732448956[/C][/ROW]
[ROW][C]54[/C][C]2.42280828791714[/C][/ROW]
[ROW][C]55[/C][C]2.67020598456374[/C][/ROW]
[ROW][C]56[/C][C]2.88097205817759[/C][/ROW]
[ROW][C]57[/C][C]3.43656805548792[/C][/ROW]
[ROW][C]58[/C][C]4.60977222864644[/C][/ROW]
[ROW][C]59[/C][C]6.12045749923974[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=22962&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=22962&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.360555127546399
20.412310562561766
30.412310562561766
40.509901951359278
50.509901951359278
60.519615242270663
70.547722557505166
80.547722557505166
90.565685424949238
100.591607978309962
110.591607978309962
120.640312423743285
130.678232998312527
140.707106781186548
150.728010988928051
160.761577310586391
170.761577310586391
180.768114574786861
190.806225774829855
200.830662386291807
210.877496438739213
220.9
230.905538513813742
240.92736184954957
250.964365076099295
260.979795897113272
271.02469507659596
281.0295630140987
291.03440804327886
301.04403065089106
311.04403065089106
321.13578166916005
331.13578166916006
341.14017542509914
351.15758369027902
361.20830459735946
371.28452325786651
381.33416640641263
391.34536240470737
401.39642400437689
411.40356688476182
421.45945195193264
431.48660687473185
441.50332963783729
451.50332963783729
461.63095064303001
471.70293863659264
481.70587221092320
491.75783958312469
501.92353840616713
512.02484567313166
522.36220236220354
532.41867732448956
542.42280828791714
552.67020598456374
562.88097205817759
573.43656805548792
584.60977222864644
596.12045749923974



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