Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationWed, 28 Oct 2009 10:04:12 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Oct/28/t1256745939iitquq404udsb2s.htm/, Retrieved Mon, 06 May 2024 00:10:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=51487, Retrieved Mon, 06 May 2024 00:10:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Pearson Correlation] [workshop 4 deel 1] [2009-10-27 20:22:23] [309ee52d0058ff0a6f7eec15e07b2d9f]
-    D    [Pearson Correlation] [worskhop 4] [2009-10-28 16:04:12] [6198946fb53eb5eb18db46bb758f7fde] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,424679327
0,429051418
0,428856061
0,424417701
0,427487492
0,420353721
0,414424849
0,415019321
0,399648223
0,391569003
0,382742221
0,388590191
0,388318949
0,39035147
0,383764681
0,382401169
0,376516786
0,386689953
0,380078922
0,380899154
0,381786981
0,381855242
0,383423977
0,383832808
0,379873758
0,383492127
0,384922207
0,403062223
0,415745418
0,432496447
0,436705344
0,431782416
0,436576103
0,43728672
0,44404459
0,441089619
0,448333008
0,453238883
0,449162963
0,441282601
0,431782416
0,418183881
0,423305026
0,430937904
0,43379338
0,433469305
0,419762413
0,429442017
0,436252928
0,438319445
0,437867759
0,436640726
0,434894452
0,43119783
0,44327457
0,440059753
0,437996833
0,437609561
0,434959183
0,436899174
Dataseries Y:
-0,4544453
-0,4557063
-0,4633856
-0,4753298
-0,4889337
-0,4961012
-0,4966433
-0,4672554
-0,4733532
-0,4717171
-0,4806521
-0,4778423
-0,483551
-0,4916768
-0,4849467
-0,4876464
-0,4648489
-0,4399789
-0,4483204
-0,452038
-0,4610994
-0,4621307
-0,4508443
-0,4429022
-0,4199038
-0,4008209
-0,3819195
-0,372485
-0,3379654
-0,3534801
-0,3560323
-0,3578328
-0,3610703
-0,3600664
-0,3670428
-0,3538789
-0,3679526
-0,3902317
-0,3986285
-0,4074872
-0,398137
-0,4090515
-0,406826
-0,4013436
-0,3837525
-0,3689789
-0,3586483
-0,3638434
-0,3585768
-0,3715276
-0,3676926
-0,3813629
-0,379812
-0,402046
-0,3746062
-0,3779424
-0,3891981
-0,3836498
-0,3866483
-0,3868102




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=51487&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=51487&T=0

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







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean0.417208376716667-0.415143355
Biased Variance0.0005660178674390270.00230880375173181
Biased Standard Deviation0.02379113001601700.0480500130253032
Covariance0.000740682524636465
Correlation0.6371244612502
Determination0.405927579123358
T-Test6.29533115750756
p-value (2 sided)4.42017773494285e-08
p-value (1 sided)2.21008886747143e-08
Degrees of Freedom58
Number of Observations60

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 0.417208376716667 & -0.415143355 \tabularnewline
Biased Variance & 0.000566017867439027 & 0.00230880375173181 \tabularnewline
Biased Standard Deviation & 0.0237911300160170 & 0.0480500130253032 \tabularnewline
Covariance & 0.000740682524636465 \tabularnewline
Correlation & 0.6371244612502 \tabularnewline
Determination & 0.405927579123358 \tabularnewline
T-Test & 6.29533115750756 \tabularnewline
p-value (2 sided) & 4.42017773494285e-08 \tabularnewline
p-value (1 sided) & 2.21008886747143e-08 \tabularnewline
Degrees of Freedom & 58 \tabularnewline
Number of Observations & 60 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=51487&T=1

[TABLE]
[ROW][C]Pearson Product Moment Correlation - Ungrouped Data[/C][/ROW]
[ROW][C]Statistic[/C][C]Variable X[/C][C]Variable Y[/C][/ROW]
[ROW][C]Mean[/C][C]0.417208376716667[/C][C]-0.415143355[/C][/ROW]
[ROW][C]Biased Variance[/C][C]0.000566017867439027[/C][C]0.00230880375173181[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]0.0237911300160170[/C][C]0.0480500130253032[/C][/ROW]
[ROW][C]Covariance[/C][C]0.000740682524636465[/C][/ROW]
[ROW][C]Correlation[/C][C]0.6371244612502[/C][/ROW]
[ROW][C]Determination[/C][C]0.405927579123358[/C][/ROW]
[ROW][C]T-Test[/C][C]6.29533115750756[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]4.42017773494285e-08[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]2.21008886747143e-08[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]58[/C][/ROW]
[ROW][C]Number of Observations[/C][C]60[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=51487&T=1

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

As an alternative you can also use a QR Code:  

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

Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean0.417208376716667-0.415143355
Biased Variance0.0005660178674390270.00230880375173181
Biased Standard Deviation0.02379113001601700.0480500130253032
Covariance0.000740682524636465
Correlation0.6371244612502
Determination0.405927579123358
T-Test6.29533115750756
p-value (2 sided)4.42017773494285e-08
p-value (1 sided)2.21008886747143e-08
Degrees of Freedom58
Number of Observations60



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
bitmap(file='test1.png')
histx <- hist(x, plot=FALSE)
histy <- hist(y, plot=FALSE)
maxcounts <- max(c(histx$counts, histx$counts))
xrange <- c(min(x),max(x))
yrange <- c(min(y),max(y))
nf <- layout(matrix(c(2,0,1,3),2,2,byrow=TRUE), c(3,1), c(1,3), TRUE)
par(mar=c(4,4,1,1))
plot(x, y, xlim=xrange, ylim=yrange, xlab=xlab, ylab=ylab)
par(mar=c(0,4,1,1))
barplot(histx$counts, axes=FALSE, ylim=c(0, maxcounts), space=0)
par(mar=c(4,0,1,1))
barplot(histy$counts, axes=FALSE, xlim=c(0, maxcounts), space=0, horiz=TRUE)
dev.off()
lx = length(x)
makebiased = (lx-1)/lx
varx = var(x)*makebiased
vary = var(y)*makebiased
corxy <- cor.test(x,y,method='pearson')
cxy <- as.matrix(corxy$estimate)[1,1]
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Product Moment Correlation - Ungrouped Data',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',1,TRUE)
a<-table.element(a,'Variable X',1,TRUE)
a<-table.element(a,'Variable Y',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('arithmetic_mean.htm','Mean',''),header=TRUE)
a<-table.element(a,mean(x))
a<-table.element(a,mean(y))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('biased.htm','Biased Variance',''),header=TRUE)
a<-table.element(a,varx)
a<-table.element(a,vary)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('biased1.htm','Biased Standard Deviation',''),header=TRUE)
a<-table.element(a,sqrt(varx))
a<-table.element(a,sqrt(vary))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('covariance.htm','Covariance',''),header=TRUE)
a<-table.element(a,cov(x,y),2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('pearson_correlation.htm','Correlation',''),header=TRUE)
a<-table.element(a,cxy,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('coeff_of_determination.htm','Determination',''),header=TRUE)
a<-table.element(a,cxy*cxy,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('ttest_statistic.htm','T-Test',''),header=TRUE)
a<-table.element(a,as.matrix(corxy$statistic)[1,1],2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value (2 sided)',header=TRUE)
a<-table.element(a,(p2 <- as.matrix(corxy$p.value)[1,1]),2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value (1 sided)',header=TRUE)
a<-table.element(a,p2/2,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degrees of Freedom',header=TRUE)
a<-table.element(a,lx-2,2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of Observations',header=TRUE)
a<-table.element(a,lx,2)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')