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 computationSat, 04 Dec 2010 12:46:36 +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/Dec/04/t1291466703o4zk1cydxvv2vx0.htm/, Retrieved Sun, 05 May 2024 01:37:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105125, Retrieved Sun, 05 May 2024 01:37:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact157
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Pearson Correlation] [] [2009-12-13 14:19:24] [ebd107afac1bd6180acb277edd05815b]
-    D    [Pearson Correlation] [Paper correlatie] [2010-12-04 12:46:36] [9d72585f2b7b60ae977d4816136e1c95] [Current]
-    D      [Pearson Correlation] [Pearson Correlation] [2010-12-18 09:38:42] [8d09066a9d3795298da6860e7d4a4400]
- RMPD        [Multiple Regression] [Multiple Regressi...] [2010-12-18 12:08:40] [8d09066a9d3795298da6860e7d4a4400]
-   P           [Multiple Regression] [Multiple Regressi...] [2010-12-19 09:30:57] [8d09066a9d3795298da6860e7d4a4400]
-    D            [Multiple Regression] [Multiple Regressi...] [2010-12-19 11:09:13] [8d09066a9d3795298da6860e7d4a4400]
-                   [Multiple Regression] [Multiple regressi...] [2010-12-23 08:04:48] [18a20458ff88c9ba38344d123a9464bc]
-               [Multiple Regression] [Multiple regressi...] [2010-12-23 07:54:31] [18a20458ff88c9ba38344d123a9464bc]
-   P             [Multiple Regression] [Multiple regressi...] [2010-12-23 07:58:24] [18a20458ff88c9ba38344d123a9464bc]
- RM          [Kendall tau Rank Correlation] [Kendall Tau Corre...] [2010-12-22 14:16:35] [8d09066a9d3795298da6860e7d4a4400]
-               [Kendall tau Rank Correlation] [Kendall's tau cor...] [2010-12-23 07:50:36] [18a20458ff88c9ba38344d123a9464bc]
-             [Pearson Correlation] [Pearson correlati...] [2010-12-23 07:48:17] [18a20458ff88c9ba38344d123a9464bc]
Feedback Forum

Post a new message
Dataseries X:
13768040,14
17487530,67
16198106,13
17535166,38
16571771,60
16198892,67
16554237,93
19554176,37
15903762,33
18003781,65
18329610,38
16260733,42
14851949,20
18174068,44
18406552,23
18466459,42
16016524,60
17428458,32
17167191,42
19629987,60
17183629,01
18344657,85
19301440,71
18147463,68
16192909,22
18374420,60
20515191,95
18957217,20
16471529,53
18746813,27
19009453,59
19211178,55
20547653,75
19325754,03
20605542,58
20056915,06
16141449,72
20359793,22
19711553,27
15638580,70
14384486,00
13855616,12
14308336,46
15290621,44
14423755,53
13779681,49
15686348,94
14733828,17
12522497,94
16189383,57
16059123,25
16007123,26
15806842,33
15159951,13
15692144,17
18908869,11
16969881,42
16997477,78
19858875,65
17681170,13
Dataseries Y:
14731798,37
16471559,62
15213975,95
17637387,4
17972385,83
16896235,55
16697955,94
19691579,52
15930700,75
17444615,98
17699369,88
15189796,81
15672722,75
17180794,3
17664893,45
17862884,98
16162288,88
17463628,82
16772112,17
19106861,48
16721314,25
18161267,85
18509941,2
17802737,97
16409869,75
17967742,04
20286602,27
19537280,81
18021889,62
20194317,23
19049596,62
20244720,94
21473302,24
19673603,19
21053177,29
20159479,84
18203628,31
21289464,94
20432335,71
17180395,07
15816786,32
15071819,75
14521120,61
15668789,39
14346884,11
13881008,13
15465943,69
14238232,92
13557713,21
16127590,29
16793894,2
16014007,43
16867867,15
16014583,21
15878594,85
18664899,14
17962530,06
17332692,2
19542066,35
17203555,19




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105125&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105125&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105125&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'George Udny Yule' @ 72.249.76.132







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean17161102.704666717380113.2295
Biased Variance3891619924227.633703128559214.71
Biased Standard Deviation1972718.916680131924351.46457572
Covariance3583599216442.54
Correlation0.92826203881921
Determination0.861670412712797
T-Test19.0075896079187
p-value (2 sided)0
p-value (1 sided)0
Degrees of Freedom58
Number of Observations60

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 17161102.7046667 & 17380113.2295 \tabularnewline
Biased Variance & 3891619924227.63 & 3703128559214.71 \tabularnewline
Biased Standard Deviation & 1972718.91668013 & 1924351.46457572 \tabularnewline
Covariance & 3583599216442.54 \tabularnewline
Correlation & 0.92826203881921 \tabularnewline
Determination & 0.861670412712797 \tabularnewline
T-Test & 19.0075896079187 \tabularnewline
p-value (2 sided) & 0 \tabularnewline
p-value (1 sided) & 0 \tabularnewline
Degrees of Freedom & 58 \tabularnewline
Number of Observations & 60 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105125&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]17161102.7046667[/C][C]17380113.2295[/C][/ROW]
[ROW][C]Biased Variance[/C][C]3891619924227.63[/C][C]3703128559214.71[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]1972718.91668013[/C][C]1924351.46457572[/C][/ROW]
[ROW][C]Covariance[/C][C]3583599216442.54[/C][/ROW]
[ROW][C]Correlation[/C][C]0.92826203881921[/C][/ROW]
[ROW][C]Determination[/C][C]0.861670412712797[/C][/ROW]
[ROW][C]T-Test[/C][C]19.0075896079187[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0[/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=105125&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105125&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
Mean17161102.704666717380113.2295
Biased Variance3891619924227.633703128559214.71
Biased Standard Deviation1972718.916680131924351.46457572
Covariance3583599216442.54
Correlation0.92826203881921
Determination0.861670412712797
T-Test19.0075896079187
p-value (2 sided)0
p-value (1 sided)0
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')