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 computationWed, 22 Dec 2010 08:28:32 +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/2010/Dec/22/t1293006558c06u5c8pb6z944g.htm/, Retrieved Mon, 06 May 2024 00:16:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114085, Retrieved Mon, 06 May 2024 00:16:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Spearman Rank Correlation] [PS- sleep exposure] [2010-12-22 08:28:32] [fba9c6aa004af59d8497d682e70ddad5] [Current]
Feedback Forum

Post a new message
Dataseries X:
-999.0
2.0
-999.0
-999.0
1.8
.7
3.9
1.0
3.6
1.4
1.5
.7
2.7
-999.0
2.1
.0
4.1
1.2
1.3
6.1
.3
.5
3.4
-999.0
1.5
-999.0
3.4
.8
.8
-999.0
-999.0
1.4
2.0
1.9
2.4
2.8
1.3
2.0
5.6
3.1
1.0
1.8
.9
1.8
1.9
.9
-999.0
2.6
2.4
1.2
.9
.5
-999.0
.6
-999.0
2.2
2.3
.5
2.6
.6
6.6
-999.0
Dataseries Y:
5
1
1
2
5
4
1
5
2
1
4
5
1
5
1
2
2
2
2
1
5
5
1
4
3
1
1
3
5
1
5
2
1
1
1
1
1
1
1
1
5
2
4
1
4
5
2
1
1
3
2
2
5
5
2
1
1
1
2
3
1
1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114085&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114085&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114085&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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Spearman Rank Correlation
rho-0.511670980248218
2-sided p-value2.13410282897822e-05
S60029.966296637

\begin{tabular}{lllllllll}
\hline
Spearman Rank Correlation \tabularnewline
rho & -0.511670980248218 \tabularnewline
2-sided p-value & 2.13410282897822e-05 \tabularnewline
S & 60029.966296637 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114085&T=1

[TABLE]
[ROW][C]Spearman Rank Correlation[/C][/ROW]
[ROW][C]rho[/C][C]-0.511670980248218[/C][/ROW]
[ROW][C]2-sided p-value[/C][C]2.13410282897822e-05[/C][/ROW]
[ROW][C]S[/C][C]60029.966296637[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114085&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114085&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Spearman Rank Correlation
rho-0.511670980248218
2-sided p-value2.13410282897822e-05
S60029.966296637



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