Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationMon, 22 Oct 2007 12:52:35 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Oct/22/tks6xhq5o5n3npe1193082494.htm/, Retrieved Mon, 06 May 2024 04:12:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=1600, Retrieved Mon, 06 May 2024 04:12:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact185
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Pearson Correlation] [WS2 Q10] [2007-10-22 19:52:35] [77c9c0d97755c69877fabe95ec1f485a] [Current]
Feedback Forum

Post a new message
Dataseries X:
91,25
91,5
91,68
91,81
91,84
91,93
92,08
92,11
92,26
92,28
92,39
92,46
92,82
93,16
93,33
93,51
93,56
93,67
93,76
93,88
94,01
94,21
94,31
94,4
94,9
95,31
95,52
95,68
95,91
95,97
96,15
96,34
96,42
96,54
96,72
96,81
97,19
97,5
97,71
97,86
98,04
98,2
98,25
98,41
98,56
98,62
98,75
98,71
99,05
99,52
99,71
99,8
100,01
99,99
100,12
100,15
100,27
100,42
100,43
100,5
100,95
101,26
101,42
101,68
101,75
101,89
102,07
102,22
102,45
102,62
102,67
102,86
104,78
104,87
105,06
105,14
105,32
105,54
105,68
105,77
106,07
106,03
106,13
106,28
106,61
106,74
107,01
107,1
107,28
107,4
107,59
107,69
107,78
Dataseries Y:
90,49
90,65
90,95
91,19
91,07
91,15
91,81
91,95
91,62
91,27
91,4
91,76
91,99
92,34
92,3
92,85
92,94
93,26
94,21
94,08
93,98
94,23
94,93
95,09
95,37
96,23
96,2
95,43
95,63
95,96
96,51
96,65
96,21
95,54
95,96
96,41
96,32
96,94
96,97
97,63
97,33
97,66
98,18
98,22
97,91
97,93
98,4
98,78
98,73
99,4
99,04
99,68
99,62
99,8
100,65
100,59
100,46
100,57
100,75
100,7
101,44
101,77
101,79
101,52
101,83
102,23
103,04
102,81
102,48
102,81
103,21
103,21
102,92
103,48
103,18
103,39
103,5
103,73
104,42
104,53
104,09
104,23
104,23
104,54
104,65
105,48
105,61
105,74
105,86
105,81
106,49
106,43
105,73




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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 & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=1600&T=0

[TABLE]
[ROW][C]Summary of compuational 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]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=1600&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=1600&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean99.074838709677498.581182795699
Biased Variance24.842751855705922.2153373106718
Biased Standard Deviation4.984250380519214.71331489619267
Covariance23.4819039971950
Correlation0.988807792603303
Determination0.977740850713016
T-Test63.2234652161048
p-value (2 sided)0
p-value (1 sided)0
Degrees of Freedom91
Number of Observations93

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 99.0748387096774 & 98.581182795699 \tabularnewline
Biased Variance & 24.8427518557059 & 22.2153373106718 \tabularnewline
Biased Standard Deviation & 4.98425038051921 & 4.71331489619267 \tabularnewline
Covariance & 23.4819039971950 \tabularnewline
Correlation & 0.988807792603303 \tabularnewline
Determination & 0.977740850713016 \tabularnewline
T-Test & 63.2234652161048 \tabularnewline
p-value (2 sided) & 0 \tabularnewline
p-value (1 sided) & 0 \tabularnewline
Degrees of Freedom & 91 \tabularnewline
Number of Observations & 93 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=1600&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]99.0748387096774[/C][C]98.581182795699[/C][/ROW]
[ROW][C]Biased Variance[/C][C]24.8427518557059[/C][C]22.2153373106718[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]4.98425038051921[/C][C]4.71331489619267[/C][/ROW]
[ROW][C]Covariance[/C][C]23.4819039971950[/C][/ROW]
[ROW][C]Correlation[/C][C]0.988807792603303[/C][/ROW]
[ROW][C]Determination[/C][C]0.977740850713016[/C][/ROW]
[ROW][C]T-Test[/C][C]63.2234652161048[/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]91[/C][/ROW]
[ROW][C]Number of Observations[/C][C]93[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=1600&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=1600&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
Mean99.074838709677498.581182795699
Biased Variance24.842751855705922.2153373106718
Biased Standard Deviation4.984250380519214.71331489619267
Covariance23.4819039971950
Correlation0.988807792603303
Determination0.977740850713016
T-Test63.2234652161048
p-value (2 sided)0
p-value (1 sided)0
Degrees of Freedom91
Number of Observations93



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