Home » date » 2008 » Nov » 13 »

loïqueverhasselt

*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 03:54:44 -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/t122657381280z6qyhx7rpcotq.htm/, Retrieved Thu, 13 Nov 2008 10:56:53 +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/t122657381280z6qyhx7rpcotq.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:
Eigen tijdreeksen H8
 
Dataseries X:
» Textbox « » Textfile « » CSV «
99.4 97.4 100.3 93 97.5 95.3 98.5 98.4 94.6 93.6 95.1 92.6 92.6 91.5 93.1 94.6 92.5 93.1 92.2 99.5 89.8 91.7 89 97.6 88.8 94.3 86.4 91.3 87.4 93.9 84.5 93.6 85.2 90.9 82.7 93.1 83.1 88.3 80.8 78.4 84.7 91.3 81.8 70.2 84.8 91.7 81.8 69.3 85.8 92.4 82.9 71.1 86.3 92 83.8 73.5 89 95.6 86.2 85.9 89 95.8 86.1 91.5 89.3 96.4 86.2 91.8 91.9 99 88.8 88.3 94.9 107 89.6 91.3 94.4 109.7 87.8 94 96.8 116.2 88.3 99.3 96.9 115.9 88.6 96.7 98 113.8 91 88 97.9 112.6 91.5 96.7 100.9 113.7 95.4 106.8 103.9 115.9 98.7 114.3 103.1 110.3 99.9 105.7 102.5 111.3 98.6 90.1 104.3 113.4 100.3 91.6 102.6 108.2 100.2 97.7 101.7 104.8 100.4 100.8 102.8 106 101.4 104.6 105.4 110.9 103 95.9 110.9 115 109.1 102.7 113.5 118.4 111.4 104 116.3 121.4 114.1 107.9 124 128.8 121.8 113.8 128.8 131.7 127.6 113.8 133.5 141.7 129.9 123.1 132.6 142.9 128 125.1 128.4 139.4 123.5 137.6 127.3 134.7 124 134 126.7 125 127.4 140.3 123.3 113.6 127.6 152.1 123.2 111.5 128.4 150.6 124.4 108.5 131.4 167.3 128.2 112.3 135.1 153.2 128.7 116.6 134 142 135.7 115.5 144.5 154.4 139 120.1 147.3 158.5 145.4 132.9 150.9 180.9 142.4 128.1 148.7 181.3 137.7 129.3 141.4 172.4 137 132.5 138.9 192 137.1 131 139.8 199.3 139.3 124.9 145.6 215.4 139.6 120.8 147.9 214.3 140.4 122 148.5 201.5 142.3 122.1 151.1 190.5 148.3 127.4 157.5 196
 
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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Summary of Dendrogram
LabelHeight
10.741619848709572
20.989949493661173
32.27312302692289
42.63628526529281
52.64196896272458
62.70370116691915
73.14006369362153
83.57631094844954
94.05092582010582
104.16293165929973
114.25088226136646
124.25323406362734
134.80624593627917
144.83735464897914
155.02246267558159
165.02991053598372
175.11957029446809
185.7
195.84694629244285
206.04235053600833
216.08604962188119
226.15304802516606
236.35767253010094
247.5073297516494
257.52994023880668
268.06783738061198
279.27323844265063
289.69848884776358
299.87320463196887
309.92098439393896
3110.7368561930187
3210.8571746227571
3311.0004545360635
3411.0392220335418
3511.4621114983235
3612.4434829058183
3713.1195422767703
3813.4281905039626
3916.5131503568809
4016.706895299161
4117.093228829301
4218.6316780354627
4321.2254050174915
4425.6608146432002
4529.2937507231387
4631.3747581577148
4734.8451748418413
4838.4031946139162
4940.6976280502828
5043.4476365791452
5146.5632203509392
5255.6229063899552
5360.7894047086249
5481.6562849690992
55124.422764543159
56162.381441883586
57280.14674650219
58440.368766520779
591838.04819271594
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t122657381280z6qyhx7rpcotq/13yql1226573676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t122657381280z6qyhx7rpcotq/13yql1226573676.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t122657381280z6qyhx7rpcotq/2rx0v1226573676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t122657381280z6qyhx7rpcotq/2rx0v1226573676.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