Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software ModuleIan.Hollidayrwasp_Bivariate Correllation.wasp
Title produced by softwareCorrelation
Date of computationTue, 04 May 2010 13:27:28 +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/t1272979821saz44lnjgvy76ol.htm/, Retrieved Tue, 30 Apr 2024 09:32:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75372, Retrieved Tue, 30 Apr 2024 09:32:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact128
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]
-    D            [Correlation] [baseline weight v...] [2010-05-04 13:27:28] [d41d8cd98f00b204e9800998ecf8427e] [Current]
-    D              [Correlation] [week 8 weight vs ...] [2010-05-04 13:32:35] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
84.0
88.8
87.0
84.5
69.4
104.7
90.0
89.4
95.2
108.1
93.9
83.4
104.4
103.7
99.2
95.6
126.0
103.7
133.1
85.0
83.8
104.5
76.8
90.5
106.9
81.5
96.5
103.0
127.5
103.2
113.5
107.0
106.0
114.9
103.4


Dataseries Y:
90
137
182
72
143
96
115
124
188
167
143
143
276
84
142
64
226
199
212
268
111
132
165
57
163
111
300
192
176
146
446
232
255
187
154







Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=75372&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=75372&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75372&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'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Shapiro Test (X-Variable-name)
Statistic WProbabilityLink
0.96670.3584Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (X-Variable-name) \tabularnewline
Statistic W & Probability & Link \tabularnewline
0.9667 & 0.3584 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75372&T=1

[TABLE]
[ROW][C]Shapiro Test (X-Variable-name)[/C][/ROW]
[ROW][C]Statistic W[/C][C]Probability[/C][C]Link[/C][/ROW]
[ROW][C]0.9667[/C][C]0.3584[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75372&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75372&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 (X-Variable-name)
Statistic WProbabilityLink
0.96670.3584Shapiro-Wilk Test







Shapiro Test (Y-Variable-Name)
Statistic WprobabilityLink
0.90540.0056Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (Y-Variable-Name) \tabularnewline
Statistic W & probability & Link \tabularnewline
0.9054 & 0.0056 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75372&T=2

[TABLE]
[ROW][C]Shapiro Test (Y-Variable-Name)[/C][/ROW]
[ROW][C]Statistic W[/C][C]probability[/C][C]Link[/C][/ROW]
[ROW][C]0.9054[/C][C]0.0056[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75372&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75372&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 (Y-Variable-Name)
Statistic WprobabilityLink
0.90540.0056Shapiro-Wilk Test







Correlation Test X-Y
StatisticValueprobabilityMethodalternative
cor0.39030.0205Pearson's product-moment correlationtwo.sided

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75372&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
cor0.39030.0205Pearson'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')