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 12:18: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/2008/Nov/11/t1226431210e7ujjl2l3gn56ue.htm/, Retrieved Sun, 19 May 2024 09:09:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=23859, Retrieved Sun, 19 May 2024 09:09:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact174
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Univariate Data Series] [blog 1e tijdreeks...] [2008-10-13 19:23:31] [7173087adebe3e3a714c80ea2417b3eb]
-   PD  [Univariate Data Series] [tijdreeksen opnie...] [2008-10-19 17:13:12] [7173087adebe3e3a714c80ea2417b3eb]
-   PD    [Univariate Data Series] [tijdreeksen opnie...] [2008-10-19 18:55:20] [7173087adebe3e3a714c80ea2417b3eb]
F RMPD        [Hierarchical Clustering] [hierarchical clus...] [2008-11-11 19:18:42] [95d95b0e883740fcbc85e18ec42dcafb] [Current]
Feedback Forum
2008-11-16 15:39:11 [Jan Van Riet] [reply
De interpretatie hiervan is de volgende:
Op het dendogram zien we een opsplitsing van de gegevens in 2 grote groepen (categorieën), elks nog eens onderverdeeld in meerdere kleinere groepjes. Dit wijst erop dat er een verschil is tussen de waarnemingen in categorie 1 en in categorie 2. Dit zou kunnen wijzen op een trend. De observaties die gelijkaardig gezien worden worden gegroepeerd.

Post a new message
Dataseries X:
5014	2400	3180	1712
6153	4700	4151	2641
6441	3700	4023	2267
5584	2900	3431	2126
6427	2800	3874	2231
6062	3000	2617	1517
5589	3100	3580	2010
6216	3700	5267	2628
5809	3000	3832	2115
4989	2000	3441	1829
6706	1900	3228	1636
7174	1900	3397	1787
6122	1800	3971	2122
8075	3400	4625	2620
6292	3800	4486	2555
6337	2800	4131	2337
8576	3100	4686	2524
6077	2100	3174	1801
5931	2000	4282	2417
6288	2500	4209	2389
7167	2400	4159	2267
6054	2500	3936	2135
6468	3300	3153	1760
6401	3100	3620	1905
6927	3700	4227	2176
7914	5600	4441	2344
7728	3700	4808	2673
8699	2900	4850	2766
8522	4000	5040	2785
6481	2900	3546	2003
7502	2400	4669	2588
7778	3300	5410	2739
7424	3800	5134	2703
6941	4400	4864	2464
8574	4000	3999	1974
9169	3100	4459	2164
7701	2700	4622	2385
9035	5200	5360	2936
7158	4600	4658	2700
8195	3700	5173	2855
8124	3200	4845	2764
7073	2400	3325	1808
7017	2200	4720	2588
7390	3200	4895	2600
7776	3100	5071	2526
6197	2300	4895	2259
6889	2500	3805	1738
7087	2900	4187	1902
6485	2700	4435	2137
7654	5000	4475	2460
6501	3500	4774	2495
6313	3000	5161	2525
7826	3800	4529	2465
6589	2800	3284	1828
6729	2400	4303	2273
5684	2700	4610	2377
8105	2800	4691	2344
6391	2700	4200	2071
5901	2600	3471	1611
6758	3100	3132	1671




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23859&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
1247.951608181919
2261.566435155583
3275.103616842818
4292.207118325341
5333.971555675031
6363.953293706761
7374.951996927607
8375.11198327966
9415.955526468876
10430.373093954536
11440.228349836764
12442.09501241249
13461.10302536418
14465.153520844928
15468.527480517419
16469.281365494092
17478.608677674509
18492.376888165966
19510.124494608914
20515.583164969532
21534.876621287564
22536.604146836154
23595.763552150006
24608.735701024141
25609.937701736825
26621.549327826321
27636.619980836291
28653.226142370041
29664.990225492074
30689.755814301529
31719.943053303523
32721.979224077812
33727.859505335838
34837.533169370442
35948.969370592874
36964.420920371878
371045.26518327050
381159.29195548825
391243.43787819931
401245.47991090852
411304.25411816487
421356.50041135105
431567.77986203648
441695.14495786733
451707.91564411596
461814.84927877855
471881.52930613628
482002.10119141975
492125.13228697934
502266.77301053279
512572.18680793074
522840.90117897524
533378.03999300915
544393.30109108845
555015.88188543551
565800.74098770837
579006.24792009481
589975.83416938366
5928532.0226658569

\begin{tabular}{lllllllll}
\hline
Summary of Dendrogram \tabularnewline
Label & Height \tabularnewline
1 & 247.951608181919 \tabularnewline
2 & 261.566435155583 \tabularnewline
3 & 275.103616842818 \tabularnewline
4 & 292.207118325341 \tabularnewline
5 & 333.971555675031 \tabularnewline
6 & 363.953293706761 \tabularnewline
7 & 374.951996927607 \tabularnewline
8 & 375.11198327966 \tabularnewline
9 & 415.955526468876 \tabularnewline
10 & 430.373093954536 \tabularnewline
11 & 440.228349836764 \tabularnewline
12 & 442.09501241249 \tabularnewline
13 & 461.10302536418 \tabularnewline
14 & 465.153520844928 \tabularnewline
15 & 468.527480517419 \tabularnewline
16 & 469.281365494092 \tabularnewline
17 & 478.608677674509 \tabularnewline
18 & 492.376888165966 \tabularnewline
19 & 510.124494608914 \tabularnewline
20 & 515.583164969532 \tabularnewline
21 & 534.876621287564 \tabularnewline
22 & 536.604146836154 \tabularnewline
23 & 595.763552150006 \tabularnewline
24 & 608.735701024141 \tabularnewline
25 & 609.937701736825 \tabularnewline
26 & 621.549327826321 \tabularnewline
27 & 636.619980836291 \tabularnewline
28 & 653.226142370041 \tabularnewline
29 & 664.990225492074 \tabularnewline
30 & 689.755814301529 \tabularnewline
31 & 719.943053303523 \tabularnewline
32 & 721.979224077812 \tabularnewline
33 & 727.859505335838 \tabularnewline
34 & 837.533169370442 \tabularnewline
35 & 948.969370592874 \tabularnewline
36 & 964.420920371878 \tabularnewline
37 & 1045.26518327050 \tabularnewline
38 & 1159.29195548825 \tabularnewline
39 & 1243.43787819931 \tabularnewline
40 & 1245.47991090852 \tabularnewline
41 & 1304.25411816487 \tabularnewline
42 & 1356.50041135105 \tabularnewline
43 & 1567.77986203648 \tabularnewline
44 & 1695.14495786733 \tabularnewline
45 & 1707.91564411596 \tabularnewline
46 & 1814.84927877855 \tabularnewline
47 & 1881.52930613628 \tabularnewline
48 & 2002.10119141975 \tabularnewline
49 & 2125.13228697934 \tabularnewline
50 & 2266.77301053279 \tabularnewline
51 & 2572.18680793074 \tabularnewline
52 & 2840.90117897524 \tabularnewline
53 & 3378.03999300915 \tabularnewline
54 & 4393.30109108845 \tabularnewline
55 & 5015.88188543551 \tabularnewline
56 & 5800.74098770837 \tabularnewline
57 & 9006.24792009481 \tabularnewline
58 & 9975.83416938366 \tabularnewline
59 & 28532.0226658569 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=23859&T=1

[TABLE]
[ROW][C]Summary of Dendrogram[/C][/ROW]
[ROW][C]Label[/C][C]Height[/C][/ROW]
[ROW][C]1[/C][C]247.951608181919[/C][/ROW]
[ROW][C]2[/C][C]261.566435155583[/C][/ROW]
[ROW][C]3[/C][C]275.103616842818[/C][/ROW]
[ROW][C]4[/C][C]292.207118325341[/C][/ROW]
[ROW][C]5[/C][C]333.971555675031[/C][/ROW]
[ROW][C]6[/C][C]363.953293706761[/C][/ROW]
[ROW][C]7[/C][C]374.951996927607[/C][/ROW]
[ROW][C]8[/C][C]375.11198327966[/C][/ROW]
[ROW][C]9[/C][C]415.955526468876[/C][/ROW]
[ROW][C]10[/C][C]430.373093954536[/C][/ROW]
[ROW][C]11[/C][C]440.228349836764[/C][/ROW]
[ROW][C]12[/C][C]442.09501241249[/C][/ROW]
[ROW][C]13[/C][C]461.10302536418[/C][/ROW]
[ROW][C]14[/C][C]465.153520844928[/C][/ROW]
[ROW][C]15[/C][C]468.527480517419[/C][/ROW]
[ROW][C]16[/C][C]469.281365494092[/C][/ROW]
[ROW][C]17[/C][C]478.608677674509[/C][/ROW]
[ROW][C]18[/C][C]492.376888165966[/C][/ROW]
[ROW][C]19[/C][C]510.124494608914[/C][/ROW]
[ROW][C]20[/C][C]515.583164969532[/C][/ROW]
[ROW][C]21[/C][C]534.876621287564[/C][/ROW]
[ROW][C]22[/C][C]536.604146836154[/C][/ROW]
[ROW][C]23[/C][C]595.763552150006[/C][/ROW]
[ROW][C]24[/C][C]608.735701024141[/C][/ROW]
[ROW][C]25[/C][C]609.937701736825[/C][/ROW]
[ROW][C]26[/C][C]621.549327826321[/C][/ROW]
[ROW][C]27[/C][C]636.619980836291[/C][/ROW]
[ROW][C]28[/C][C]653.226142370041[/C][/ROW]
[ROW][C]29[/C][C]664.990225492074[/C][/ROW]
[ROW][C]30[/C][C]689.755814301529[/C][/ROW]
[ROW][C]31[/C][C]719.943053303523[/C][/ROW]
[ROW][C]32[/C][C]721.979224077812[/C][/ROW]
[ROW][C]33[/C][C]727.859505335838[/C][/ROW]
[ROW][C]34[/C][C]837.533169370442[/C][/ROW]
[ROW][C]35[/C][C]948.969370592874[/C][/ROW]
[ROW][C]36[/C][C]964.420920371878[/C][/ROW]
[ROW][C]37[/C][C]1045.26518327050[/C][/ROW]
[ROW][C]38[/C][C]1159.29195548825[/C][/ROW]
[ROW][C]39[/C][C]1243.43787819931[/C][/ROW]
[ROW][C]40[/C][C]1245.47991090852[/C][/ROW]
[ROW][C]41[/C][C]1304.25411816487[/C][/ROW]
[ROW][C]42[/C][C]1356.50041135105[/C][/ROW]
[ROW][C]43[/C][C]1567.77986203648[/C][/ROW]
[ROW][C]44[/C][C]1695.14495786733[/C][/ROW]
[ROW][C]45[/C][C]1707.91564411596[/C][/ROW]
[ROW][C]46[/C][C]1814.84927877855[/C][/ROW]
[ROW][C]47[/C][C]1881.52930613628[/C][/ROW]
[ROW][C]48[/C][C]2002.10119141975[/C][/ROW]
[ROW][C]49[/C][C]2125.13228697934[/C][/ROW]
[ROW][C]50[/C][C]2266.77301053279[/C][/ROW]
[ROW][C]51[/C][C]2572.18680793074[/C][/ROW]
[ROW][C]52[/C][C]2840.90117897524[/C][/ROW]
[ROW][C]53[/C][C]3378.03999300915[/C][/ROW]
[ROW][C]54[/C][C]4393.30109108845[/C][/ROW]
[ROW][C]55[/C][C]5015.88188543551[/C][/ROW]
[ROW][C]56[/C][C]5800.74098770837[/C][/ROW]
[ROW][C]57[/C][C]9006.24792009481[/C][/ROW]
[ROW][C]58[/C][C]9975.83416938366[/C][/ROW]
[ROW][C]59[/C][C]28532.0226658569[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=23859&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=23859&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
1247.951608181919
2261.566435155583
3275.103616842818
4292.207118325341
5333.971555675031
6363.953293706761
7374.951996927607
8375.11198327966
9415.955526468876
10430.373093954536
11440.228349836764
12442.09501241249
13461.10302536418
14465.153520844928
15468.527480517419
16469.281365494092
17478.608677674509
18492.376888165966
19510.124494608914
20515.583164969532
21534.876621287564
22536.604146836154
23595.763552150006
24608.735701024141
25609.937701736825
26621.549327826321
27636.619980836291
28653.226142370041
29664.990225492074
30689.755814301529
31719.943053303523
32721.979224077812
33727.859505335838
34837.533169370442
35948.969370592874
36964.420920371878
371045.26518327050
381159.29195548825
391243.43787819931
401245.47991090852
411304.25411816487
421356.50041135105
431567.77986203648
441695.14495786733
451707.91564411596
461814.84927877855
471881.52930613628
482002.10119141975
492125.13228697934
502266.77301053279
512572.18680793074
522840.90117897524
533378.03999300915
544393.30109108845
555015.88188543551
565800.74098770837
579006.24792009481
589975.83416938366
5928532.0226658569



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