Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_hierarchicalclustering.wasp
Title produced by softwareHierarchical Clustering
Date of computationThu, 09 Mar 2017 14:42:00 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Mar/09/t1489070570nu484qol6skzy08.htm/, Retrieved Thu, 16 May 2024 04:10:00 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Thu, 16 May 2024 04:10:00 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
1968	0	persönliche Empfehlung	Hochschulstudium:Lehramt	Unterricht	allein lebend	Lehrer+Nebentätigkeit
1956	0	Veranstaltung	Hochschulstudium:Lehramt	Unterricht	Partnerschaft ohne Kinder	Lehrer+Nebentätigkeit
1948	1	persönliche Empfehlung	Hochschulstudium:Pädagogik	Unterricht	Partnerschaft mit Kindern	Lehrer+Nebentätigkeit
1960	0	Veranstaltung	Hochschulstudium:Lehramt	Unterricht	Partnerschaft mit Kindern	Lehrer+Nebentätigkeit
1989	1	website	Hochschulstudium:andere	Nachhilfe	allein lebend	keine Erwerbstätigkeit
1957	0	Veranstaltung	Hochschulstudium:Lehramt	Unterricht	allein lebend mit Kindern	Lehrer+Nebentätigkeit
1966	1	persönliche Empfehlung	Hochschulstudium:andere	Unterricht	allein lebend mit Kindern	andere Anstellung+Nebentätigkeit
1965	0	Veranstaltung	Hochschulstudium:Lehramt	Unterricht	allein lebend	Lehrer+Nebentätigkeit
1981	1	persönliche Empfehlung	Hochschulstudium:Lehramt	Unterricht	Partnerschaft ohne Kinder	Lehrer+Nebentätigkeit
1964	1	Veranstaltung	Hochschulstudium:Sprachtherapie	Unterricht	allein lebend mit Kindern	Lehrer+Nebentätigkeit
1956	1	persönliche Empfehlung	Psychologie	Nachhilfe	allein lebend	Freiberufler
1983	1	persönliche Empfehlung	Hochschulstudium:andere	Unterricht	allein lebend	andere Anstellung+Nebentätigkeit
1951	1	persönliche Empfehlung	Hochschulstudium:Lehramt	Unterricht	Partnerschaft ohne Kinder	andere Anstellung+Nebentätigkeit
1985	1	persönliche Empfehlung	Hochschulstudium:andere	Unterricht	allein lebend	andere Anstellung+Nebentätigkeit
1981	1	persönliche Empfehlung	Hochschulstudium:Sprachtherapie	Therapie	allein lebend	andere Anstellung+Nebentätigkeit
1943	1	website	Hochschulstudium:Lehramt	Unterricht	allein lebend	Ruhestand
1980	0	Website	Hochschulstudium:Psychologie	andere	Partnerschaft ohne Kinder	keine Erwerbstätigkeit




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net

\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 & 0 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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 time0 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net



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):
par4 <- 'FALSE'
par3 <- 'FALSE'
par2 <- 'ALL'
par1 <- 'ward'
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')
}