Home » date » 2008 » Nov » 13 »

Dendogram

*The author of this computation has been verified*
R Software Module: rwasp_hierarchicalclustering.wasp (opens new window with default values)
Title produced by software: Hierarchical Clustering
Date of computation: Thu, 13 Nov 2008 01:13:31 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5.htm/, Retrieved Thu, 13 Nov 2008 08:14:18 +0000
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,3322 133,52 7,4545 1,4369 153,2 7,4583 1,4975 163,63 7,4595 1,577 168,45 7,4599 1,5553 166,26 7,4586 1,5557 162,31 7,4609 1,575 161,56 7,4603 1,5527 156,59 7,4561 1,4748 157,97 7,454 1,4718 158,68 7,4505 1,457 163,55 7,4599 1,4684 162,89 7,4543 1,4227 164,95 7,4534 1,3896 159,82 7,4506 1,3622 159,05 7,4429 1,3716 166,76 7,441 1,3419 164,55 7,4452 1,3511 163,22 7,4519 1,3516 160,68 7,453 1,3242 155,24 7,4494 1,3074 157,6 7,4541 1,2999 156,56 7,4539 1,3213 154,82 7,4549 1,2881 151,11 7,4564 1,2611 149,65 7,4555 1,2727 148,99 7,4601 1,2811 148,53 7,4609 1,2684 146,7 7,4602 1,265 145,11 7,4566 1,277 142,7 7,4565 1,2271 143,59 7,4618 1,202 140,96 7,4612 1,1938 140,77 7,4641 1,2103 139,81 7,4613 1,1856 140,58 7,4541 1,1786 139,59 7,4596 1,2015 138,05 7,462 1,2256 136,06 7,4584 1,2292 135,98 7,4596 1,2037 134,75 7,4584 1,2165 132,22 7,4448 1,2694 135,37 7,4443 1,2938 138,84 7,4499 1,3201 138,83 7,4466 1,3014 136,55 7,4427 1,3119 135,63 7,4405 1,3408 139,14 7,4338 1,2991 136,09 7,4313 1,249 135,97 7,4379 1,2218 134,51 7,4381 1,2176 134,54 7,4365 1,2266 134,08 7,4355 1,2138 132,86 7,4342 1,2007 134,48 7,4405 1,1985 129,08 7,4436 1,2262 133,13 7,4493 1,2646 134,78 7,4511 1,2613 134,13 7,4481 1,2286 132,43 7,4419 1,1702 127,84 7,437 1,1692 128,12 7,4301 1,1222 128,94 7,4273 1,1139 132,38 7,4322 1,1372 134,99 7,4332 1,1663 138,05 7,425 1,1582 135,83 7,4246 1,0848 130,12 7,4255 1,0807 128,16 7,4274 1,0773 128,6 7,4317 1,0622 126,12 7,4324 1,0183 124,2 7,4264 1,0014 121,65 7,428 0,9811 121,57 7,4297 0,9808 118,38 7,4271
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


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.0283298429222581
20.0303347984994143
30.0310311134186291
40.0510689729679382
50.0560340090134202
60.0621518302224344
70.0682795723478118
80.0825528921359028
90.0838848019607846
100.08966833331783
110.0971572951455493
120.125499721115233
130.160272829887053
140.161986248000485
150.190198974760641
160.222278608957316
170.225404013620083
180.2527380066393
190.254583345881069
200.270706058299385
210.308299452455302
220.317173400620578
230.350235706346466
240.375951446854857
250.385966216138153
260.400583227640494
270.406106845546838
280.407179186608937
290.408161585649583
300.42004602128816
310.460077384795218
320.50536786883443
330.532968526275239
340.626448098735186
350.750248525490054
360.771152550029545
370.789983046067615
380.860842471071231
390.871448342655875
400.891413540395268
411.03351389310659
421.17220966207622
431.36214134727137
441.55670855545235
451.59000771067310
461.70707902544073
471.77368894678214
481.87278874866157
491.92051118455478
502.09529116115157
512.41744318662179
522.59251556158733
532.64703709605783
542.75703656195849
552.77000692016011
563.10721710249045
574.27919309177115
584.279687765266
595.58557838996700
605.99677920211249
617.10320946510015
628.20779949218962
638.46156320617745
648.55473127818861
6514.1791660217666
6615.5389523990883
6717.8170875655093
6826.0774336903806
6944.8079854926595
7049.306432832145
71116.019938380796
72118.269659681137
73600.064854375601
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5/1mjj81226564009.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5/1mjj81226564009.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5/2oc1u1226564009.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226564055vn9p4p7g77h6mh5/2oc1u1226564009.ps (open in new window)


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





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by