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 computationTue, 16 Dec 2014 15:13:21 +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/2014/Dec/16/t14187430222xiay9osku5vrqh.htm/, Retrieved Thu, 16 May 2024 06:38:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=269704, Retrieved Thu, 16 May 2024 06:38:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact44
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Pearson Correlation] [Connected vs Sepa...] [2010-10-04 07:35:56] [b98453cac15ba1066b407e146608df68]
- RM D    [Pearson Correlation] [Totale score vs N...] [2014-12-16 15:13:21] [ca907db95fc0b179b22bb0898c34dff4] [Current]
Feedback Forum

Post a new message
Dataseries X:
30
27
18
28
27
28
21
22
20
23
18
18
25
25
25
24
13
17
4
16
21
20
22
0
18
29
15
22
22
17
27
15
26
18
27
17
19
13
16
2
26
22
23
18
18
19
22
14
23
20
13
16
7
17
19
23
19
16
20
25
17
12
24
14
18
19
16
19
4
20
24
17
22
19
22
23
17
24
20
25
20
21
22
25
28
29
20
20
19
19
26
10
17
30
22
23
16
18
25
18
24
23
24
15
20
26
23
23
22
15
22
10
20
23
27
23
25
20
24
23
22
21
25
27
23
23
19
15
20
16
25
25
19
16
19
19
23
21
19
20
3
23
15
24
24
24
28
23
25
25
20
25
23
20
16
23
11
23
29
16
23
20
4
24
16
3
23
20
19
24
27
Dataseries Y:
16,6
14,85
11,75
18,45
19,9
18,45
15
11,35
18,1
13,4
13,9
15,25
16,1
17,35
13,15
12,15
18,2
13,6
14,1
14,9
16,25
15,65
14,6
19,2
13,2
15,65
7,65
15,2
11,85
11,4
19,9
15,15
16,85
12,6
12,35
16,65
13,95
15,7
15,35
15,1
17,75
16,65
19,1
13,35
18,4
16,15
18,4
15,6
16,35
17,65
11,7
14,35
14,75
9,9
16,85
15,6
17,1
19,1
7,6
14,75
13,6
11,9
16,35
14,35
17,75
19,3
17,1
19,05
18,55
19,1
13,35
17,6
16,1
11,95
7,7
14,6
12,6
18,9
11,6
14,6
13,85
15,9
10,95
15,1
15,95
14,6
17,6
15,35
12,9
12,6
10,35
15,4
9,6
14,85
13,6
12,65
11,9
16,6
11,2
15,85
11,15
15,6
13,1
12,4
14,9
11,2
14,6
14,75
7,85
7,85
10,95
9,95
14,9
13,4
16,85
10,95
12,2
15,2
8,1
4,35
12,7
18,1
17,85
17,1
16,1
14,7
10,6
12,6
16,2
13,6
14,1
14,5
14,75
14,8
12,45
12,65
17,35
8,6
16,1
17,75
15,25
17,65
13,6
18,25
16
18,25
18,95
16,1
15,4
15,4
13,35
19,1
19,25
12,75
9,85
15,25
12,4
18,15
12,35
15,6
18,4
12,85
9,5
4,5
13,6
11,7
17,75
14,05
13,35
11,85
13,2




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

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

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







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean20.181286549707614.5102339181287
Biased Variance30.60456208747999.11868181662734
Biased Standard Deviation5.532139015559893.0197155191553
Covariance1.8822514619883
Correlation0.112013750398079
Determination0.0125470802782432
T-Test1.46540102679686
p-value (2 sided)0.144669523474414
p-value (1 sided)0.0723347617372069
Degrees of Freedom169
Number of Observations171

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 20.1812865497076 & 14.5102339181287 \tabularnewline
Biased Variance & 30.6045620874799 & 9.11868181662734 \tabularnewline
Biased Standard Deviation & 5.53213901555989 & 3.0197155191553 \tabularnewline
Covariance & 1.8822514619883 \tabularnewline
Correlation & 0.112013750398079 \tabularnewline
Determination & 0.0125470802782432 \tabularnewline
T-Test & 1.46540102679686 \tabularnewline
p-value (2 sided) & 0.144669523474414 \tabularnewline
p-value (1 sided) & 0.0723347617372069 \tabularnewline
Degrees of Freedom & 169 \tabularnewline
Number of Observations & 171 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269704&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]20.1812865497076[/C][C]14.5102339181287[/C][/ROW]
[ROW][C]Biased Variance[/C][C]30.6045620874799[/C][C]9.11868181662734[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]5.53213901555989[/C][C]3.0197155191553[/C][/ROW]
[ROW][C]Covariance[/C][C]1.8822514619883[/C][/ROW]
[ROW][C]Correlation[/C][C]0.112013750398079[/C][/ROW]
[ROW][C]Determination[/C][C]0.0125470802782432[/C][/ROW]
[ROW][C]T-Test[/C][C]1.46540102679686[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0.144669523474414[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0.0723347617372069[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]169[/C][/ROW]
[ROW][C]Number of Observations[/C][C]171[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269704&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269704&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
Mean20.181286549707614.5102339181287
Biased Variance30.60456208747999.11868181662734
Biased Standard Deviation5.532139015559893.0197155191553
Covariance1.8822514619883
Correlation0.112013750398079
Determination0.0125470802782432
T-Test1.46540102679686
p-value (2 sided)0.144669523474414
p-value (1 sided)0.0723347617372069
Degrees of Freedom169
Number of Observations171



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')