Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_partialcorrelation.wasp
Title produced by softwarePartial Correlation
Date of computationWed, 12 Nov 2008 07:52:13 -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/Nov/12/t1226501584uu0ir1746wcz4hj.htm/, Retrieved Sun, 19 May 2024 11:34:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24222, Retrieved Sun, 19 May 2024 11:34:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact165
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Partial Correlation] [opdracht3_q2] [2008-11-12 14:52:13] [e8ace8b3d80d7fc51f1760fb13a6fe6b] [Current]
Feedback Forum
2008-11-19 17:51:59 [Steven Vercammen] [reply
Er wordt geen uitleg gegeven over wat partial correlation nu juist betekent. De Partial Correlation maakt het mogelijk de invloed van een derde variabele te neutraliseren. Op die manier is het mogelijk om na te gaan of er geen sprake is van een 'schijncorrelatie' (Er lijkt een sterke correlatie te zijn tussen 2 variabelen maar eigenlijk is er een derde variabele die beiden beïnvloedt). Bv Partial correlation (xy,z) = de correlatie tussen x en y waarbij het effect van z wordt weggenomen. Hier is de correlatie steeds zeer sterk. Het positieve lineair verband geeft wel niet aan dat de bevolking lineair is gestegen zoals de student(e) aangeeft. Dit kunnen we hier helemaal niet uit afleiden.
2008-11-21 20:53:30 [Gilliam Schoorel] [reply
Er is geen conclusie of additionele uitleg gegeven bij je partiële correlatie.Bij de partiële correlatie worden de gegevens van de derde variabele eerst weggewerkt. Je kan zien in hoeverre een variabele een positief of negatief effect/invloed heeft op een andere variabele. Op de laatste rij zie je dat de variabele X een positieve invloed of effect heeft op de variabelen Y en Z. Want wanneer de invloed van de var X wordt weggenomen wordt de correlatie (sterk) negatief.

Post a new message
Dataseries X:
9987
10022
10068
10101
10131
10143
10170
10192
10214
10239
10263
10310
10355
10396
10446
10511
10585
10667
Dataseries Y:
4881
4899
4923
4940
4956
4959
4972
4983
4994
5007
5018
5042
5068
5087
5112
5144
5182
5224
Dataseries Z:
5107
5123
5145
5161
5175
5184
5198
5209
5220
5233
5245
5268
5288
5309
5334
5367
5402
5443




Summary of computational 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 computational 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=24222&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]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=24222&T=0

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







Pearson Product Moment Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)0.999919280929741
Partial Correlation r(xy.z)0.985361873610397
Correlation r(xz)0.999911047969955
Partial Correlation r(xz.y)0.983856682041424
Correlation r(yz)0.999671216646636
Partial Correlation r(yz.x)-0.938956866361554

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Partial Correlation - Ungrouped Data \tabularnewline
Statistic & Value \tabularnewline
Correlation r(xy) & 0.999919280929741 \tabularnewline
Partial Correlation r(xy.z) & 0.985361873610397 \tabularnewline
Correlation r(xz) & 0.999911047969955 \tabularnewline
Partial Correlation r(xz.y) & 0.983856682041424 \tabularnewline
Correlation r(yz) & 0.999671216646636 \tabularnewline
Partial Correlation r(yz.x) & -0.938956866361554 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24222&T=1

[TABLE]
[ROW][C]Pearson Product Moment Partial Correlation - Ungrouped Data[/C][/ROW]
[ROW][C]Statistic[/C][C]Value[/C][/ROW]
[ROW][C]Correlation r(xy)[/C][C]0.999919280929741[/C][/ROW]
[ROW][C]Partial Correlation r(xy.z)[/C][C]0.985361873610397[/C][/ROW]
[ROW][C]Correlation r(xz)[/C][C]0.999911047969955[/C][/ROW]
[ROW][C]Partial Correlation r(xz.y)[/C][C]0.983856682041424[/C][/ROW]
[ROW][C]Correlation r(yz)[/C][C]0.999671216646636[/C][/ROW]
[ROW][C]Partial Correlation r(yz.x)[/C][C]-0.938956866361554[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24222&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24222&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 Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)0.999919280929741
Partial Correlation r(xy.z)0.985361873610397
Correlation r(xz)0.999911047969955
Partial Correlation r(xz.y)0.983856682041424
Correlation r(yz)0.999671216646636
Partial Correlation r(yz.x)-0.938956866361554



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
(rho12 <- cor(x, y))
(rho23 <- cor(y, z))
(rho13 <- cor(x, z))
(rhoxy_z <- (rho12-(rho13*rho23))/(sqrt(1-(rho13*rho13)) * sqrt(1-(rho23*rho23))))
(rhoxz_y <- (rho13-(rho12*rho23))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho23*rho23))))
(rhoyz_x <- (rho23-(rho12*rho13))/(sqrt(1-(rho12*rho12)) * sqrt(1-(rho13*rho13))))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Product Moment Partial Correlation - Ungrouped Data',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Statistic',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(xy)',header=TRUE)
a<-table.element(a,rho12)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(xy.z)',''),header=TRUE)
a<-table.element(a,rhoxy_z)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(xz)',header=TRUE)
a<-table.element(a,rho13)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(xz.y)',''),header=TRUE)
a<-table.element(a,rhoxz_y)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation r(yz)',header=TRUE)
a<-table.element(a,rho23)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('partial_correlation1.htm','Partial Correlation r(yz.x)',''),header=TRUE)
a<-table.element(a,rhoyz_x)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')