Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_correlation.wasp
Title produced by softwarePearson Correlation
Date of computationFri, 14 Dec 2007 06:18:57 -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/Dec/14/t1197637429a8nn8pfz9bodpwv.htm/, Retrieved Thu, 02 May 2024 17:12:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3870, Retrieved Thu, 02 May 2024 17:12:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact161
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Pearson Correlation] [prijs inschrijvin...] [2007-12-14 13:18:57] [d02236afd58a58d13a748bbf41a37c2e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,05150
1,07364
1,06210
1,03600
1,00755
1,01050
1,02748
1,06502
1,06778
1,05039
1,04650
1,04563
1,04818
1,05800
1,08084
1,10785
1,17040
1,15748
1,18239
1,18535
1,18280
1,21640
1,17840
1,19200
1,13265
1,17632
1,20255
1,26407
1,24950
1,28807
1,35195
1,37682
1,44312
1,39069
1,31573
1,30640
1,33994
1,32179
1,33235
1,41785
1,42776
1,43185
1,47332
1,44194
1,32378
1,28150
1,28150
1,30256
1,26716
1,28630
1,35669
1,39993
1,43931
1,43983
1,44095
1,40773
1,41021
1,43668
1,48741
1,46980
Dataseries Y:
21797
22209
28135
29512
26714
30899
27148
24288
26019
24007
18195
17323
19504
23859
28852
30746
26956
31905
25956
24255
25045
22982
19304
18294
20417
21558
27369
28240
27201
31084
25306
24759
24276
20862
19437
15291
22515
22040
28398
26158
25081
28893
26504
22960
23792
20995
19765
14585
20480
21188
27994
27229
28804
29257
26377
24392
16949
22566
18000
16373





Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 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=3870&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]3 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=3870&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3870&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean1.250336524016.65
Biased Variance0.0221619821627517811764.2608333
Biased Standard Deviation0.148869010081854220.39859027952
Covariance-64.0045514152542
Correlation-0.100173731017010
Determination0.0100347763858682
T-Test-0.766757225215763
p-value (2 sided)0.446335704177546
p-value (1 sided)0.223167852088773
Degrees of Freedom58
Number of Observations60

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 1.2503365 & 24016.65 \tabularnewline
Biased Variance & 0.02216198216275 & 17811764.2608333 \tabularnewline
Biased Standard Deviation & 0.14886901008185 & 4220.39859027952 \tabularnewline
Covariance & -64.0045514152542 \tabularnewline
Correlation & -0.100173731017010 \tabularnewline
Determination & 0.0100347763858682 \tabularnewline
T-Test & -0.766757225215763 \tabularnewline
p-value (2 sided) & 0.446335704177546 \tabularnewline
p-value (1 sided) & 0.223167852088773 \tabularnewline
Degrees of Freedom & 58 \tabularnewline
Number of Observations & 60 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3870&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]1.2503365[/C][C]24016.65[/C][/ROW]
[ROW][C]Biased Variance[/C][C]0.02216198216275[/C][C]17811764.2608333[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]0.14886901008185[/C][C]4220.39859027952[/C][/ROW]
[ROW][C]Covariance[/C][C]-64.0045514152542[/C][/ROW]
[ROW][C]Correlation[/C][C]-0.100173731017010[/C][/ROW]
[ROW][C]Determination[/C][C]0.0100347763858682[/C][/ROW]
[ROW][C]T-Test[/C][C]-0.766757225215763[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]0.446335704177546[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]0.223167852088773[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]58[/C][/ROW]
[ROW][C]Number of Observations[/C][C]60[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3870&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3870&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
Mean1.250336524016.65
Biased Variance0.0221619821627517811764.2608333
Biased Standard Deviation0.148869010081854220.39859027952
Covariance-64.0045514152542
Correlation-0.100173731017010
Determination0.0100347763858682
T-Test-0.766757225215763
p-value (2 sided)0.446335704177546
p-value (1 sided)0.223167852088773
Degrees of Freedom58
Number of Observations60



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