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 computationThu, 22 Dec 2011 04:23:04 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/22/t1324545810hchml3h3oae3xva.htm/, Retrieved Fri, 03 May 2024 09:22:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159196, Retrieved Fri, 03 May 2024 09:22:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Pearson Correlation] [PAPER: werklooshe...] [2011-12-22 09:23:04] [6baf48ba14bcb50d9e72b77bece8a45b] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,072
0,073
0,073
0,073
0,074
0,073
0,074
0,074
0,076
0,076
0,077
0,077
0,078
0,078
0,080
0,081
0,081
0,082
0,081
0,081
0,081
0,080
0,082
0,084
0,084
0,085
0,086
0,085
0,083
0,078
0,078
0,080
0,086
0,089
0,089
0,086
0,083
0,083
0,083
0,084
0,085
0,084
0,086
0,085
0,085
0,085
0,085
0,085
0,085
0,085
0,085
0,086
0,086
0,086
0,086
0,084
0,080
0,079
0,080
0,080
0,080
0,080
0,079
0,079
0,079
0,080
0,079
0,075
0,072
0,070
0,069
0,071
0,071
0,072
0,071
0,069
0,068
0,067
0,067
0,069
0,073
0,074
0,073
0,071
0,070
0,071
0,075
0,077
0,078
0,077
0,077
0,078
0,080
0,081
0,081
0,080
0,081
0,082
0,083
0,084
0,085
0,085
0,085
0,085
0,085
0,083
0,082
0,081
0,079
0,076
0,073
0,071
0,070
0,070
0,070
0,070
0,069
0,068
0,067
0,066
Dataseries Y:
0,0213
0,0218
0,0290
0,0263
0,0267
0,0181
0,0133
0,0088
0,0128
0,0126
0,0126
0,0129
0,0110
0,0137
0,0121
0,0174
0,0176
0,0148
0,0104
0,0162
0,0149
0,0179
0,0180
0,0158
0,0186
0,0174
0,0159
0,0126
0,0113
0,0192
0,0261
0,0226
0,0241
0,0226
0,0203
0,0286
0,0255
0,0227
0,0226
0,0257
0,0307
0,0276
0,0251
0,0287
0,0314
0,0311
0,0316
0,0247
0,0257
0,0289
0,0263
0,0238
0,0169
0,0196
0,0219
0,0187
0,0160
0,0163
0,0122
0,0121
0,0149
0,0164
0,0166
0,0177
0,0182
0,0178
0,0128
0,0129
0,0137
0,0112
0,0151
0,0224
0,0294
0,0309
0,0346
0,0364
0,0439
0,0415
0,0521
0,0580
0,0591
0,0539
0,0546
0,0472
0,0314
0,0263
0,0232
0,0193
0,0062
0,0060
-0,0037
-0,0110
-0,0168
-0,0078
-0,0119
-0,0097
-0,0012
0,0026
0,0062
0,0070
0,0166
0,0180
0,0227
0,0246
0,0257
0,0232
0,0291
0,0301
0,0286
0,0310
0,0322
0,0339
0,0352
0,0341
0,0335
0,0367
0,0375
0,0360
0,0355
0,0357




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 0 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159196&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159196&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159196&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 time0 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean0.07848333333333330.0216533333333333
Biased Variance3.46830555555556e-050.000175865322222222
Biased Standard Deviation0.005889232170288040.0132614223302865
Covariance-2.99957422969188e-05
Correlation-0.3808698082682
Determination0.145061810850256
T-Test-4.47455852139945
p-value (2 sided)1.77513508534177e-05
p-value (1 sided)8.87567542670887e-06
Degrees of Freedom118
Number of Observations120

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 0.0784833333333333 & 0.0216533333333333 \tabularnewline
Biased Variance & 3.46830555555556e-05 & 0.000175865322222222 \tabularnewline
Biased Standard Deviation & 0.00588923217028804 & 0.0132614223302865 \tabularnewline
Covariance & -2.99957422969188e-05 \tabularnewline
Correlation & -0.3808698082682 \tabularnewline
Determination & 0.145061810850256 \tabularnewline
T-Test & -4.47455852139945 \tabularnewline
p-value (2 sided) & 1.77513508534177e-05 \tabularnewline
p-value (1 sided) & 8.87567542670887e-06 \tabularnewline
Degrees of Freedom & 118 \tabularnewline
Number of Observations & 120 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159196&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]0.0784833333333333[/C][C]0.0216533333333333[/C][/ROW]
[ROW][C]Biased Variance[/C][C]3.46830555555556e-05[/C][C]0.000175865322222222[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]0.00588923217028804[/C][C]0.0132614223302865[/C][/ROW]
[ROW][C]Covariance[/C][C]-2.99957422969188e-05[/C][/ROW]
[ROW][C]Correlation[/C][C]-0.3808698082682[/C][/ROW]
[ROW][C]Determination[/C][C]0.145061810850256[/C][/ROW]
[ROW][C]T-Test[/C][C]-4.47455852139945[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]1.77513508534177e-05[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]8.87567542670887e-06[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]118[/C][/ROW]
[ROW][C]Number of Observations[/C][C]120[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159196&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159196&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
Mean0.07848333333333330.0216533333333333
Biased Variance3.46830555555556e-050.000175865322222222
Biased Standard Deviation0.005889232170288040.0132614223302865
Covariance-2.99957422969188e-05
Correlation-0.3808698082682
Determination0.145061810850256
T-Test-4.47455852139945
p-value (2 sided)1.77513508534177e-05
p-value (1 sided)8.87567542670887e-06
Degrees of Freedom118
Number of Observations120



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