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 computationWed, 17 Dec 2008 14:26:07 -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/2008/Dec/17/t1229549183znoo61kfpvmgfqt.htm/, Retrieved Sun, 19 May 2024 04:09:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34566, Retrieved Sun, 19 May 2024 04:09:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact253
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Pearson Correlation] [Correlation: inve...] [2008-12-16 19:18:46] [5161246d1ccc1b670cc664d03050f084]
- RMPD  [Univariate Data Series] [] [2008-12-17 14:56:45] [b98453cac15ba1066b407e146608df68]
- RMP     [ARIMA Backward Selection] [] [2008-12-17 19:26:06] [b98453cac15ba1066b407e146608df68]
- RMPD        [Pearson Correlation] [] [2008-12-17 21:26:07] [d76b387543b13b5e3afd8ff9e5fdc89f] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.44
0.09
0.2
0.82
0.5
0.2
1
0.47
0.49
0.82
0.39
0.6
0.59
0.72
0.97
0.58
0.27
0.84
0.51
0.13
0.65
0.51
1.06
0.81
0.54
0.85
0.93
0.29
1.01
0.65
0.88
0.45
0.74
1.08
0.27
0.24
0.27
0.25
0.69
0.73
1.04
1.04
0.3
0.59
0.72
0.22
1.12
0.93
0.99
0.56
1
0.57
1
0.97
0.3
0.45
0.73
1.13
0.65
0.64
0.68
0.41
0.98
0.3
0.37
1.12
0.4
0.5
1.23
0.94
1.08
1.12
0.83
1.22
0.55
0.38
1.26
0.49
1.13
1.07
0.86
0.94
0.45
0.66
0.71
0.54
0.9
1.23
0.46
1.33
0.64
0.9
0.5
1.37
0.96
0.62
1.24
1.1
0.86
1.2
0.77
0.67
1.05
1.32
0.6
1.31
1.41
Dataseries Y:
1721
1476
1842
2171
1670
1540
1266
897
1266
1519
1074
1435
1385
1440
1883
1822
1661
1774
1133
1361
1688
2216
2896
1382
1330
1419
1662
2040
2126
1649
1610
1952
2102
1749
2091
3036
2414
2097
2705
2431
4192
3990
2854
1966
2431
2763
2831
2023
2934
2489
3252
3018
3193
3976
2584
2512
2169
2504
1843
1408
2179
3690
2372
2494
3872
2786
2312
1599
3167
3433
2648
1978
1947
3113
2856
3174
3507
4174
2978
4428
2832
2930
3681
3253
1660
2208
3139
3409
3445
2410
3262
2897
2526
3982
4097
3403
3362
2708
3129
3550
2696
2885
2945
3600
3808
3671
4005




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34566&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34566&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34566&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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Pearson Product Moment Correlation - Ungrouped Data
StatisticVariable XVariable Y
Mean0.73962616822432523.95327102804
Biased Variance0.104618551838589720203.072582758
Biased Standard Deviation0.323447912094959848.647790654497
Covariance108.889888026803
Correlation0.39298665402065
Determination0.154438510238346
T-Test4.37925116046109
p-value (2 sided)2.82556242225951e-05
p-value (1 sided)1.41278121112975e-05
Degrees of Freedom105
Number of Observations107

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Correlation - Ungrouped Data \tabularnewline
Statistic & Variable X & Variable Y \tabularnewline
Mean & 0.7396261682243 & 2523.95327102804 \tabularnewline
Biased Variance & 0.104618551838589 & 720203.072582758 \tabularnewline
Biased Standard Deviation & 0.323447912094959 & 848.647790654497 \tabularnewline
Covariance & 108.889888026803 \tabularnewline
Correlation & 0.39298665402065 \tabularnewline
Determination & 0.154438510238346 \tabularnewline
T-Test & 4.37925116046109 \tabularnewline
p-value (2 sided) & 2.82556242225951e-05 \tabularnewline
p-value (1 sided) & 1.41278121112975e-05 \tabularnewline
Degrees of Freedom & 105 \tabularnewline
Number of Observations & 107 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34566&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.7396261682243[/C][C]2523.95327102804[/C][/ROW]
[ROW][C]Biased Variance[/C][C]0.104618551838589[/C][C]720203.072582758[/C][/ROW]
[ROW][C]Biased Standard Deviation[/C][C]0.323447912094959[/C][C]848.647790654497[/C][/ROW]
[ROW][C]Covariance[/C][C]108.889888026803[/C][/ROW]
[ROW][C]Correlation[/C][C]0.39298665402065[/C][/ROW]
[ROW][C]Determination[/C][C]0.154438510238346[/C][/ROW]
[ROW][C]T-Test[/C][C]4.37925116046109[/C][/ROW]
[ROW][C]p-value (2 sided)[/C][C]2.82556242225951e-05[/C][/ROW]
[ROW][C]p-value (1 sided)[/C][C]1.41278121112975e-05[/C][/ROW]
[ROW][C]Degrees of Freedom[/C][C]105[/C][/ROW]
[ROW][C]Number of Observations[/C][C]107[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34566&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34566&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.73962616822432523.95327102804
Biased Variance0.104618551838589720203.072582758
Biased Standard Deviation0.323447912094959848.647790654497
Covariance108.889888026803
Correlation0.39298665402065
Determination0.154438510238346
T-Test4.37925116046109
p-value (2 sided)2.82556242225951e-05
p-value (1 sided)1.41278121112975e-05
Degrees of Freedom105
Number of Observations107



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