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

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Pearson Correlation] [Statistiek Paper 3] [2010-12-21 16:06:58] [97dee3ad7274585c4a7ecb4c981cc7fb] [Current]
Feedback Forum

Post a new message
Dataseries X:
692
496
691
1368
1680
1964
1344
1574
1681
1074
666
512
688
478
568
1088
958
1256
1142
874
700
1116
510
420
324
550
702
1062
1258
683
722
1038
3894
1316
388
428
378
536
356
2364
5376
1532
1212
1346
1374
1050
788
1300
988
728
1158
1998
2628
3566
1840
1458
3714
1354
638
948
772
532
1270
1488
3914
2390
1434
956
1110
1236
682
Dataseries Y:
5732
6938
6660
6695
6484
7716
5927
4768
7081
6947
7723
7319
6285
6655
7331
6468
7653
7330
5907
5257
7029
8885
9477
6822
8595
8738
11380
9831
10560
10336
8872
7598
9713
10858
10430
7516
8344
8623
9238
10350
9415
9550
8301
6405
10251
10082
8683
7829
6712
7354
8402
8211
8377
9133
8301
5932
9080
9459
9647
8646
7503
10000
10441
6435
8102
9983
8662
6575
9088
9336
9089




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

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







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean1272.098591549308183.87323943662
Biased Variance880146.2860543542258723.43463598
Biased Standard Deviation938.161119453561502.90499853982
Covariance223465.341247485
Correlation0.156257512744061
Determination0.0244164102889603
T-Test1.31411450566748
p-value (2 sided)0.193159722786425
p-value (1 sided)0.0965798613932126
Degrees of Freedom69
Number of Observations71

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 1272.09859154930 & 8183.87323943662 \tabularnewline
Biased Variance & 880146.286054354 & 2258723.43463598 \tabularnewline
Biased Standard Deviation & 938.16111945356 & 1502.90499853982 \tabularnewline
Covariance & 223465.341247485 \tabularnewline
Correlation & 0.156257512744061 \tabularnewline
Determination & 0.0244164102889603 \tabularnewline
T-Test & 1.31411450566748 \tabularnewline
p-value (2 sided) & 0.193159722786425 \tabularnewline
p-value (1 sided) & 0.0965798613932126 \tabularnewline
Degrees of Freedom & 69 \tabularnewline
Number of Observations & 71 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113710&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]1272.09859154930[/C][C]8183.87323943662[/C][/ROW]
[ROW][C]Biased Variance[/C][C]880146.286054354[/C][C]2258723.43463598[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]938.16111945356[/C][C]1502.90499853982[/C][/ROW]
[ROW][C]Covariance[/C][C]223465.341247485[/C][/ROW]
[ROW][C]Correlation[/C][C]0.156257512744061[/C][/ROW]
[ROW][C]Determination[/C][C]0.0244164102889603[/C][/ROW]
[ROW][C]T-Test[/C][C]1.31411450566748[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0.193159722786425[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0.0965798613932126[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]69[/C][/ROW]
[ROW][C]Number of Observations[/C][C]71[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113710&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113710&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
Mean1272.098591549308183.87323943662
Biased Variance880146.2860543542258723.43463598
Biased Standard Deviation938.161119453561502.90499853982
Covariance223465.341247485
Correlation0.156257512744061
Determination0.0244164102889603
T-Test1.31411450566748
p-value (2 sided)0.193159722786425
p-value (1 sided)0.0965798613932126
Degrees of Freedom69
Number of Observations71



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