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:16:37 -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/t1224577077q1d44c7cxotogpb.htm/, Retrieved Sun, 19 May 2024 20:21:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=18377, Retrieved Sun, 19 May 2024 20:21:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Pearson Correlation] [Investigating ass...] [2007-10-22 22:08:56] [8cd6641b921d30ebe00b648d1481bba0]
-   PD    [Pearson Correlation] [investeringen weg...] [2008-10-21 08:16:37] [1d70db93c36870279a28f714be132c6e] [Current]
Feedback Forum

Post a new message
Dataseries X:
37,6
52,8
32,1
33,3
43,6
37,5
31,9
102
55
81,1
36,2
39,7
45,6
43
33,9
34,1
62,1
43,2
70,7
74,9
68,4
64,1
70,4
51,6
52,4
73,9
85,9
52,9
68,6
71,4
71,7
94,8
94,6
59,4
94,3
49,7
59,7
58
40,8
66,4
54
31,8
55,1
72,3
69,7
56,3
57
44,1
43,8
51
42
52,6
73,7
40,5
49
74,3
59,4
125,8
77,8
102,8
70,3
103,2
42,1
59
45
57,1
57,2
147,5
98,7
70,5
41
54,2
39,8
50,9
42,3
37,6
44,6
46,4
48
152,9
64,5
50,5
60,3
53,8
52,8
50,2
70,8
62
73,7
43,4
49,6
141
122,3
86,4
134
107,1
80,9
Dataseries Y:
86,3
99,1
98,4
95,6
92,2
79,4
100,9
135,3
114,6
85,7
76,3
72,2
66,7
91,2
69,7
62,8
102
54,8
53,2
107,8
89,3
68,2
64,9
58,9
47,2
56,4
64,8
59,2
67,1
51,1
55,6
106
53,4
52,3
89
56,9
44,4
101,6
68,8
52,2
74,1
67,1
63,4
300,4
114,6
120,4
124
106,9
130,4
153,1
61,2
59,3
119,9
90,1
86,2
262
112,3
91,9
94,6
103,9
110
150,2
105,1
124,4
185,1
96,7
319,9
240,4
127,1
90,6
82,5
103,4
92,9
154,9
131,6
104,1
104,2
73,9
115,9
136,9
117,3
62,9
89,3
91
91,3
97,6
151,4
83,4
119,1
84,6
164
145,3
124,2
74,6
94,3
98,3
90,4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18377&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=18377&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=18377&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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean63.7515463917526101.196907216495
Biased Variance680.8128068870232256.86772239345
Biased Standard Deviation26.092389827055447.5065018959874
Covariance305.935786082474
Correlation0.24426591427371
Determination0.0596658368759715
T-Test2.45518127689597
p-value (2 sided)0.0159002064791034
p-value (1 sided)0.0079501032395517
Degrees of Freedom95
Number of Observations97

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 63.7515463917526 & 101.196907216495 \tabularnewline
Biased Variance & 680.812806887023 & 2256.86772239345 \tabularnewline
Biased Standard Deviation & 26.0923898270554 & 47.5065018959874 \tabularnewline
Covariance & 305.935786082474 \tabularnewline
Correlation & 0.24426591427371 \tabularnewline
Determination & 0.0596658368759715 \tabularnewline
T-Test & 2.45518127689597 \tabularnewline
p-value (2 sided) & 0.0159002064791034 \tabularnewline
p-value (1 sided) & 0.0079501032395517 \tabularnewline
Degrees of Freedom & 95 \tabularnewline
Number of Observations & 97 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=18377&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]63.7515463917526[/C][C]101.196907216495[/C][/ROW]
[ROW][C]Biased Variance[/C][C]680.812806887023[/C][C]2256.86772239345[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]26.0923898270554[/C][C]47.5065018959874[/C][/ROW]
[ROW][C]Covariance[/C][C]305.935786082474[/C][/ROW]
[ROW][C]Correlation[/C][C]0.24426591427371[/C][/ROW]
[ROW][C]Determination[/C][C]0.0596658368759715[/C][/ROW]
[ROW][C]T-Test[/C][C]2.45518127689597[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0.0159002064791034[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0.0079501032395517[/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=18377&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=18377&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
Mean63.7515463917526101.196907216495
Biased Variance680.8128068870232256.86772239345
Biased Standard Deviation26.092389827055447.5065018959874
Covariance305.935786082474
Correlation0.24426591427371
Determination0.0596658368759715
T-Test2.45518127689597
p-value (2 sided)0.0159002064791034
p-value (1 sided)0.0079501032395517
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')