Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationTue, 21 Oct 2008 02:10:35 -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/2008/Oct/21/t1224576732qbkgl0fdwgc7zoi.htm/, Retrieved Sun, 19 May 2024 20:22:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=18376, Retrieved Sun, 19 May 2024 20:22:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact147
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Central Tendency] [Investigating Ass...] [2007-10-22 10:34:53] [b9964c45117f7aac638ab9056d451faa]
- RMPD    [Pearson Correlation] [omzet wegtranspor...] [2008-10-21 08:10:35] [1d70db93c36870279a28f714be132c6e] [Current]
Feedback Forum

Post a new message
Dataseries X:
92,7
122,8
115,4
128,3
120,2
118,9
114,7
114,6
121,7
129,7
115,2
100,7
89,8
128,7
105,9
111,7
130,3
108
109,6
139
123,6
131
120,7
81,1
88,4
128,9
120,8
95
132
117,9
102,4
117,4
113,5
108
127,6
86,9
76,1
128,8
104,1
121,2
140,2
116
115
112,3
128,9
131,2
128,7
85,8
78,2
128,4
105,5
120,3
135,4
107,1
96,9
95,1
113,1
104,5
106,3
66,6
87,8
117,3
102,1
98,9
130,2
102,4
89,9
95,9
95,4
116,2
115,7
74,1
75,2
107,7
103,7
107,1
113,5
94,7
90,9
97
111
109,6
110,1
77,7
78
113,3
111,4
95,4
141,2
120,4
124,9
106,4
116,5
102,1
94,1
74
87
Dataseries Y:
149
157,4
145,3
154,2
147,6
147
139,1
140,6
138,6
153,3
147,3
134,5
130,1
144,7
138,3
127,1
142,6
125,9
125,3
138,3
132,4
139
138,7
119,7
108,8
131,3
125
114,7
130,2
109,7
108,5
126,9
116,8
118,4
130
115,7
99,8
123,1
112
113,7
121,7
106,3
98,7
132,2
109,4
120
131,2
107,6
104,7
120,1
97,6
111,2
120
100,3
99,7
110,5
101,6
121
112
96,1
99,7
116
100,3
111,8
107
98,3
96,8
116,4
86,3
111
108,9
94
98,4
107
103,2
102,6
103,1
93,6
89,7
106,6
98,6
110,1
105,4
98
98,1
108
109,8
98
110,8
95,8
94
107,6
107,1
108,1
104,8
93,6
89,3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time19 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 & 19 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18376&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]19 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=18376&T=0

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







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean108.738144329897115.982474226804
Biased Variance287.495349133808296.816496970985
Biased Standard Deviation16.955687810696717.2283631541416
Covariance155.444737972509
Correlation0.526642731463144
Determination0.277352566602961
T-Test6.0382997044049
p-value (2 sided)3.00914146933451e-08
p-value (1 sided)1.50457073466725e-08
Degrees of Freedom95
Number of Observations97

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 108.738144329897 & 115.982474226804 \tabularnewline
Biased Variance & 287.495349133808 & 296.816496970985 \tabularnewline
Biased Standard Deviation & 16.9556878106967 & 17.2283631541416 \tabularnewline
Covariance & 155.444737972509 \tabularnewline
Correlation & 0.526642731463144 \tabularnewline
Determination & 0.277352566602961 \tabularnewline
T-Test & 6.0382997044049 \tabularnewline
p-value (2 sided) & 3.00914146933451e-08 \tabularnewline
p-value (1 sided) & 1.50457073466725e-08 \tabularnewline
Degrees of Freedom & 95 \tabularnewline
Number of Observations & 97 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18376&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]108.738144329897[/C][C]115.982474226804[/C][/ROW]
[ROW][C]Biased Variance[/C][C]287.495349133808[/C][C]296.816496970985[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]16.9556878106967[/C][C]17.2283631541416[/C][/ROW]
[ROW][C]Covariance[/C][C]155.444737972509[/C][/ROW]
[ROW][C]Correlation[/C][C]0.526642731463144[/C][/ROW]
[ROW][C]Determination[/C][C]0.277352566602961[/C][/ROW]
[ROW][C]T-Test[/C][C]6.0382997044049[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]3.00914146933451e-08[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]1.50457073466725e-08[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]95[/C][/ROW]
[ROW][C]Number of Observations[/C][C]97[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=18376&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=18376&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
Mean108.738144329897115.982474226804
Biased Variance287.495349133808296.816496970985
Biased Standard Deviation16.955687810696717.2283631541416
Covariance155.444737972509
Correlation0.526642731463144
Determination0.277352566602961
T-Test6.0382997044049
p-value (2 sided)3.00914146933451e-08
p-value (1 sided)1.50457073466725e-08
Degrees of Freedom95
Number of Observations97



Parameters (Session):
par1 = grey ; par2 = grey ; par3 = TRUE ; par4 = investeringen wegtransporteurs ; par5 = investeringen transportmiddelenindustrie ;
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')