Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModuleIan.Hollidayrwasp_Bivariate Correllation.wasp
Title produced by softwareCorrelation
Date of computationTue, 04 May 2010 13:50:11 +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/May/04/t12729810621cdsz9c4ehodlq3.htm/, Retrieved Tue, 30 Apr 2024 15:40:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75454, Retrieved Tue, 30 Apr 2024 15:40:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact92
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Simple Linear Regression] [PY2224 Mock Exam ...] [2010-04-28 07:33:16] [98fd0e87c3eb04e0cc2efde01dbafab6]
- RMPD  [Correlation] [PY2224 Mock Exam ...] [2010-04-28 07:52:28] [98fd0e87c3eb04e0cc2efde01dbafab6]
-         [Correlation] [PY2224 Mock Exam ...] [2010-04-28 08:03:45] [98fd0e87c3eb04e0cc2efde01dbafab6]
-  M D      [Correlation] [PY2224 May Mock E...] [2010-04-28 12:25:43] [98fd0e87c3eb04e0cc2efde01dbafab6]
-    D        [Correlation] [PY2224 May Mock E...] [2010-04-30 11:35:53] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   PD            [Correlation] [correlation spear...] [2010-05-04 13:50:11] [e2c42fc9bebbc2faf71ab337292c0507] [Current]
Feedback Forum

Post a new message
Dataseries X:
-2.4
-2.6
-2.4
-7.2
-3.7
-8.4
-1.5
-8.0
0.0
-7.1
-2.8
-8.2
-2.3
-5.0
-5.9
-6.2
-3.6
-1.6
-3.2
-2.6
-1.6
-5.8
-2.8
-1.2
1.5
-7.8
-2.5
-9.6
-7.4
Dataseries Y:
-27
-1
67
-80
70
-41
37
0
-7
50
-74
-79
-56
-18
-4
-15
-69
6
-32
-57
-59
-68
39
-8
349
-169
-51
-43
-58




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server67.202.21.85 @ 67.202.21.85

\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 & 3 seconds \tabularnewline
R Server & 67.202.21.85 @ 67.202.21.85 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75454&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]67.202.21.85 @ 67.202.21.85[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75454&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75454&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 time3 seconds
R Server67.202.21.85 @ 67.202.21.85







Shapiro Test (weight loss)
Statistic WProbabilityLink
0.94350.1241Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (weight loss) \tabularnewline
Statistic W & Probability & Link \tabularnewline
0.9435 & 0.1241 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75454&T=1

[TABLE]
[ROW][C]Shapiro Test (weight loss)[/C][/ROW]
[ROW][C]Statistic W[/C][C]Probability[/C][C]Link[/C][/ROW]
[ROW][C]0.9435[/C][C]0.1241[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75454&T=1

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

As an alternative you can also use a QR Code:  

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

Shapiro Test (weight loss)
Statistic WProbabilityLink
0.94350.1241Shapiro-Wilk Test







Shapiro Test (triglyceride)
Statistic WprobabilityLink
0.75120Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (triglyceride) \tabularnewline
Statistic W & probability & Link \tabularnewline
0.7512 & 0 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75454&T=2

[TABLE]
[ROW][C]Shapiro Test (triglyceride)[/C][/ROW]
[ROW][C]Statistic W[/C][C]probability[/C][C]Link[/C][/ROW]
[ROW][C]0.7512[/C][C]0[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75454&T=2

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

As an alternative you can also use a QR Code:  

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

Shapiro Test (triglyceride)
Statistic WprobabilityLink
0.75120Shapiro-Wilk Test







Correlation Test X-Y
StatisticValueprobabilityMethodalternative
rho0.36690.0502Spearman's rank correlation rhotwo.sided

\begin{tabular}{lllllllll}
\hline
Correlation Test X-Y \tabularnewline
Statistic & Value & probability & Method & alternative \tabularnewline
rho & 0.3669 & 0.0502 & Spearman's rank correlation rho & two.sided \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75454&T=3

[TABLE]
[ROW][C]Correlation Test X-Y[/C][/ROW]
[ROW][C]Statistic[/C][C]Value[/C][C]probability[/C][C]Method[/C][C]alternative[/C][/ROW]
[ROW][C]rho[/C][C]0.3669[/C][C]0.0502[/C][C]Spearman's rank correlation rho[/C][C]two.sided[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75454&T=3

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

As an alternative you can also use a QR Code:  

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

Correlation Test X-Y
StatisticValueprobabilityMethodalternative
rho0.36690.0502Spearman's rank correlation rhotwo.sided



Parameters (Session):
par1 = spearman ; par2 = two.sided ;
Parameters (R input):
par1 = spearman ; par2 = two.sided ;
R code (references can be found in the software module):
bitmap(file='test1.png')
plot(x,y, xlab=xlab, ylab=ylab)
abline(coef=(lm(y ~ x))$coeff, col='red')
ctp<-cor.test(x, y, use='pair', method='pearson')
legend('bottomright', c('cor =', as.character(round(ctp$estimate, digits=4))))
dev.off()
(sw1<-shapiro.test(x))
(sw2<-shapiro.test(y))
(cxy<-cor.test(x, y, method=par1))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,paste('Shapiro Test (', xlab,')',sep=''),3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic W',header=TRUE)
a<-table.element(a,'Probability',header=TRUE)
a<-table.element(a,'Link',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,round(sw1$statistic, digits=4))
a<-table.element(a,round(sw1$p.value, digits=4))
a<-table.element(a,hyperlink('http://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test','Shapiro-Wilk Test','Shapiro-Wilk Test'))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, paste('Shapiro Test (', ylab,')',sep=''),3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic W',header=TRUE)
a<-table.element(a,'probability',header=TRUE)
a<-table.element(a,'Link',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,round(sw2$statistic, digits=4))
a<-table.element(a,round(sw2$p.value, digits=4))
a<-table.element(a,hyperlink('http://en.wikipedia.org/wiki/Shapiro%E2%80%93Wilk_test','Shapiro-Wilk Test','Shapiro-Wilk Test'))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Correlation Test X-Y',5,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.element(a,'probability',header=TRUE)
a<-table.element(a,'Method',header=TRUE)
a<-table.element(a,'alternative',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,names(cxy$estimate))
a<-table.element(a,round(cxy$estimate, digits=4))
a<-table.element(a,round(cxy$p.value, digits=4))
a<-table.element(a,cxy$method)
a<-table.element(a,cxy$alternative)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')