Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software ModuleIan.Hollidayrwasp_Bivariate Correllation.wasp
Title produced by softwareCorrelation
Date of computationThu, 05 May 2011 10:58:16 +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/2011/May/05/t1304593174zt7sqnl0a7yxlgu.htm/, Retrieved Fri, 10 May 2024 00:12:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=121076, Retrieved Fri, 10 May 2024 00:12:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact83
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]
- R  D            [Correlation] [] [2011-05-05 10:58:16] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
131
82
152
72
126
157
88
123
255
87
213
102
313
84
135
114
152
120
156
250
107
117
96
63
131
54
241
124
215
138
795
63
204
144
96
Dataseries Y:
1.6
1.8
5.2
4.1
0.4
2.7
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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ www.wessa.org

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121076&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 time1 seconds
R Server'Gwilym Jenkins' @ www.wessa.org







Shapiro Test (Difference in weight)
Statistic WProbabilityLink
0.58280Shapiro-Wilk Test

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

[TABLE]
[ROW][C]Shapiro Test (Difference in weight)[/C][/ROW]
[ROW][C]Statistic W[/C][C]Probability[/C][C]Link[/C][/ROW]
[ROW][C]0.5828[/C][C]0[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121076&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121076&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 (Difference in weight)
Statistic WProbabilityLink
0.58280Shapiro-Wilk Test







Shapiro Test (Triglyceride level at week 8)
Statistic WprobabilityLink
0.9480.0984Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (Triglyceride level at week 8) \tabularnewline
Statistic W & probability & Link \tabularnewline
0.948 & 0.0984 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121076&T=2

[TABLE]
[ROW][C]Shapiro Test (Triglyceride level at week 8)[/C][/ROW]
[ROW][C]Statistic W[/C][C]probability[/C][C]Link[/C][/ROW]
[ROW][C]0.948[/C][C]0.0984[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121076&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121076&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 level at week 8)
Statistic WprobabilityLink
0.9480.0984Shapiro-Wilk Test







Correlation Test X-Y
StatisticValueprobabilityMethodalternative
cor-0.43760.0086Pearson's product-moment correlationtwo.sided

\begin{tabular}{lllllllll}
\hline
Correlation Test X-Y \tabularnewline
Statistic & Value & probability & Method & alternative \tabularnewline
cor & -0.4376 & 0.0086 & Pearson's product-moment correlation & two.sided \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=121076&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]cor[/C][C]-0.4376[/C][C]0.0086[/C][C]Pearson's product-moment correlation[/C][C]two.sided[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=121076&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=121076&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
cor-0.43760.0086Pearson's product-moment correlationtwo.sided



Parameters (Session):
par1 = pearson ; par2 = two.sided ;
Parameters (R input):
par1 = pearson ; 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')