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:32:35 +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/t1272980004m8p2jk5bjwljbfn.htm/, Retrieved Tue, 30 Apr 2024 10:45:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75391, Retrieved Tue, 30 Apr 2024 10:45:54 +0000
QR Codes:

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

Post a new message
Dataseries X:
82.4
87.0
81.8
80.4
69.0
102.0
87.6
86.8
92.8
100.9
90.2
75.0
102.9
95.7
99.2
88.5
123.2
95.5
130.8
80.0
77.9
98.3
73.2
88.9
103.7
78.9
94.9
97.2
124.7
102.0
115.0
99.2
103.5
105.3
96.0


Dataseries Y:
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






Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 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=75391&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' @ 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=75391&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75391&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' @ 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.95920.2158Shapiro-Wilk Test

\begin{tabular}{lllllllll}
\hline
Shapiro Test (X-Variable-name) \tabularnewline
Statistic W & Probability & Link \tabularnewline
0.9592 & 0.2158 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75391&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.9592[/C][C]0.2158[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75391&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75391&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.95920.2158Shapiro-Wilk Test







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

\begin{tabular}{lllllllll}
\hline
Shapiro Test (Y-Variable-Name) \tabularnewline
Statistic W & probability & Link \tabularnewline
0.5828 & 0 & Shapiro-Wilk Test \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75391&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.5828[/C][C]0[/C][C]Shapiro-Wilk Test[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75391&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75391&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.58280Shapiro-Wilk Test







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

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

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