Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_spearman.wasp
Title produced by softwareSpearman Rank Correlation
Date of computationThu, 31 Jan 2019 14:34:01 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2019/Jan/31/t1548941648p537lf6o8re4ifo.htm/, Retrieved Sun, 05 May 2024 20:26:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=317614, Retrieved Sun, 05 May 2024 20:26:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact22
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Spearman Rank Correlation] [] [2019-01-31 13:34:01] [a7dd63d542de9cda43ba6a801f4fad21] [Current]
Feedback Forum

Post a new message
Dataseries X:
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
'man'
'vrouw'
Dataseries Y:
'bach'
'bach'
'bach'
'bach'
'bach'
'bach'
'bach'
'bach'
'bach'
'bach'
'scha'
'scha'
'scha'
'scha'
'scha'
'scha'
'scha'
'scha'
'scha'
'scha'




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center
R Engine error message
Error in cor.test.default(x, y, method = "spearman") : 
  'x' must be a numeric vector
Calls: cor.test -> cor.test.default
Execution halted

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
R Engine error message & 
Error in cor.test.default(x, y, method = "spearman") : 
  'x' must be a numeric vector
Calls: cor.test -> cor.test.default
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=317614&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [ROW]R Engine error message[/C][C]
Error in cor.test.default(x, y, method = "spearman") : 
  'x' must be a numeric vector
Calls: cor.test -> cor.test.default
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=317614&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=317614&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R ServerBig Analytics Cloud Computing Center
R Engine error message
Error in cor.test.default(x, y, method = "spearman") : 
  'x' must be a numeric vector
Calls: cor.test -> cor.test.default
Execution halted



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
k <- cor.test(x,y,method='spearman')
bitmap(file='test1.png')
plot(x,y,main='Scatterplot',xlab=xlab,ylab=ylab)
grid()
dev.off()
bitmap(file='test2.png')
plot(rank(x),rank(y),main='Scatterplot of Ranks',xlab=xlab,ylab=ylab)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Spearman Rank Correlation',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'rho',header=TRUE)
a<-table.element(a,k$estimate)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'2-sided p-value',header=TRUE)
a<-table.element(a,k$p.value)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S',header=TRUE)
a<-table.element(a,k$statistic)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')