::Free Statistics and Forecasting Software::

v1.1.22-r6
 
  Black&White | Blue Theme | Normal Fontsize | Increase Fontsize | Decrease Fontsize | Toggle underline | Secure website (SSL)
 
 
This software module is powered by R

:: Agglomerative Nesting (Hierarchical Clustering) - Free Statistics Software (Calculator) ::

All rights reserved. The non-commercial (academic) use of this software is free of charge. The only thing that is asked in return is to cite this software when results are used in publications.

This free online software (calculator) computes the agglomerative nesting (hierarchical clustering) of a multivariate dataset as proposed by Kaufman and Rousseeuw. At each level the two nearest clusters are merged to form the next cluster.
This procedure computes the 'agglomerative coefficient' which can be interpreted as the amount of clustering structure that has been found. In addition, this procedure generates the so-called banner display.
The following clustering methods are currently supported: unweighted pair-group average, single linkage, complete linkage, Ward's method, weighted average linkage, and the 'flexible' method based on the Lance-Williams formula.

Click here to edit the underlying code of this R Module.

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!

Send output to:
Data X:
Names of X columns:
Sample Range:
(leave blank to include all observations)
From:
To:
Metric 
Method 
Number of parameters in Lance-Williams formula 
alpha 1 (Lance-Williams formula) 
alpha 2 (Lance-Williams formula) 
beta (Lance-Williams formula) 
gamma (Lance-Williams formula) 
Chart options
Width:
Height:
Title:
Label y-axis:
Label x-axis:

Click here to edit the underlying code of this R Module.






Cite this software as:
Wessa, P., (2008), Agglomerative Nesting (v1.0.2) in Free Statistics Software (v1.1.22-r6), Office for Research Development and Education, URL http://www.wessa.net/rwasp_agglomerativehierarchicalclustering.wasp/
The R code is based on :
Kaufman, L. and Rousseeuw, P.J. (1990). Finding Groups in Data: An Introduction to Cluster Analysis, Wiley, New York.
Anja Struyf, Mia Hubert & Peter J. Rousseeuw (1996): Clustering in an Object-Oriented Environment. Journal of Statistical Software, nr 1. URL: http://www.stat.ucla.edu/journals/jss/
Struyf, A., Hubert, M. and Rousseeuw, P.J. (1997). Integrating Robust Clustering Techniques in S-PLUS, Computational Statistics and Data Analysis, nr 26, 17-37
Lance, G.N., and W.T. Williams (1966). A General Theory of Classifactory Sorting Strategies, I. Hierarchical Systems, Computer J., nr 9, 373-380

Source code of R module
1par3 <- as.numeric(par3)
2par4 <- as.numeric(par4)
3par5 <- as.numeric(par5)
4par6 <- as.numeric(par6)
5par7 <- as.numeric(par7)
6library(cluster)
7if (par2 == "flexible")
8{
9if (par3 == 1) pm <- c(par4)
10if (par3 == 3) pm <- c(par4,par5,par6)
11if (par3 == 4) pm <- c(par4,par5,par6,par7)
12ag <- agnes(t(y),metric=par1,method=par2,par.method=pm)
13} else {
14ag <- agnes(t(y),metric=par1,method=par2)
15}
16mysub <- paste("Method: ",par2)
17summary(ag)
18bitmap(file="test1.png")
19plot(ag,which.plots=2,main=main,sub=mysub,xlab=xlab,ylab=ylab)
20dev.off()
21bitmap(file="test2.png")
22plot(ag,which.plots=1,main="Banner",sub=mysub,xlab=ylab,ylab=xlab)
23dev.off()
24load(file="createtable")
25a<-table.start()
26a<-table.row.start(a)
27a<-table.element(a,"Agglomerative Nesting (Hierarchical Clustering)",2,TRUE)
28a<-table.row.end(a)
29a<-table.row.start(a)
30a<-table.element(a,"Agglomerative Coefficient",header=TRUE)
31a<-table.element(a,ag$ac)
32a<-table.row.end(a)
33a<-table.end(a)
34table.save(a,file="mytable.tab")
Last computationDelete history
Server DateModuleCommand
Sat, 17 May 2008 14:40:59 -0600Agglomerative Nesting (Hierarchical Clustering)Print | Word | Excel | Blog this | Delete
Sat, 17 May 2008 14:40:59 -0600Start of session-

Please, send us your feedback!
Overall rating
What do you think about the response time?
Rate the facility with which you interact with our software.
Is the output presented in an understandable (clear) form?
How did you find this website/module?
Do you have any comments about our site?
Do you have any suggestions for our site?
Please enter the code that is displayed in this picture: captcha

To cite Wessa.net in publications use:
Wessa, P. (2008), Free Statistics Software, Office for Research Development and Education,
version 1.1.22-r6, URL http://www.wessa.net/

© Resa R&D, and the 'Office for Research, Development, and Education' - All rights reserved. Academic license for non-commercial use only.
This website is an intellectual and physical property of Resa R&D. This includes: html content, graphical illustrations (gif files), computer software, online or electronic documentation, associated media, and printed materials. The free use of the scientific content, services, and applications in this website is granted for non commercial use only. In any case, the source (url) should always be clearly displayed. Under no circumstances are you allowed to reproduce, copy or redistribute the design, layout, or any content of this website (for commercial use) including any materials contained herein without the express written permission of Resa R&D or the Office for Research, Development, and Education.

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, Resa R&D makes no warranties or representations as to the accuracy or completeness of such information (or software), and it assumes 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 Resa R&D 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.

Software Version : 1.1.22-r6
Algorithms & Software : Prof. dr. P. Wessa
Facilities : Resa R&D - Office for Research, Development, and Education
Server : www.wessa.net

Comments, Feedback & Errors | Privacy Policy | Statistics Resources | Wessa.net Home

 © Wessa.Net 2002-2008  
 
 

Home Page
Equation Plotter
Time Series Analysis (new)
Time Series Analysis (old)
Multiple Regression (new)
Multiple Regression (old)
Descriptive Statistics
Statistical Distributions
Hypothesis Testing

Academic citations
Computations Archive
Search Computations
FAQ
About Wessa.net
Powered by Linux

Server status page
History list
Edit R Code
Google
Web wessa.net