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 11:35:28 -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/t12265149636i8qd9h8pwt19x9.htm/, Retrieved Sun, 19 May 2024 08:13:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=24366, Retrieved Sun, 19 May 2024 08:13:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsSeverijns Britt
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Bivariate Kernel Density Estimation] [Variuos EDA topic...] [2008-11-09 13:17:45] [3548296885df7a66ea8efc200c4aca50]
F RMPD    [Partial Correlation] [various EDA topic...] [2008-11-12 18:35:28] [78308c9f3efc33d1da821bcd963df161] [Current]
Feedback Forum
2008-11-23 15:31:12 [76d4ba45ca37c54e4ca3ca97939a2cd4] [reply
Je hebt de grafieken wel gemaakt, maar je bent vergeten er commentaar bij te geven. Je had bij deze grafiek kunnen schrijven dat het gaat om een weergave van 2 dimensies. En dat de hoogtelijnen dienen om de concentratie weer te geven. De roze gebieden geven de kern weer, in kern is de waarschijnlijkheid het grootst dat hier gegevens liggen. Je ziet op de tekening meerdere kernen, en dus meerdere groepen van gegevens. Aangezien de kernen een ellipsvorm hebben, van links onder naar rechts boven, kunnen we zeggen dat er een positieve correlatie is tussen de 2 reeksen gegevens. Links van de rechte lijn, die het gemiddelde van alle gegevens voorstelt, zie je nog een cluster van gegevens. Deze gegevens wijken een beetje af van de andere gegevens, maar ook zij vormen een ellips, dus er is duidelijk een positief verband tussen deze twee variabelen. Wat ook logisch is, want beide variabelen gaan over het aantal werklozen. Dus het zou onlogisch zijn als er geen verband was tussen deze variabelen.
2008-11-23 15:41:19 [Aurélie Van Impe] [reply
Je hebt de tabel gemaakt, maar opnieuw heb je er geen uitleg bij gegeven. Je had kunnen zeggen dat de correlatie tussen variabele x en z de grootste is, omdat die van alle correlaties het dichtst bij 1 ligt. De correlatie is ook groot genoeg om van een verband te kunnen spreken. Om de invloed van variabele y te minimaliseren, werd een partiële correlatie berekend. Ook deze is voor de variabelen x en z de grootste, en het dichtst bij 1. Het is dus opnieuw duidelijk dat er tussen deze 2 variabelen een positief verband waar te nemen is.
2008-11-23 17:37:14 [7bf28d4d60530086dbc44ae6b648927e] [reply
Ook hier gaan we zoeken naar verbanden tussen 2 variabelen x en y. Er bestaat een variable z die we niet onderzoeken maar die wel een sterke invloed heeft op x en y. Met de partiele correlatie r(xy,z) krijgen we de correlatie tussen x en y waarbij de invloed van z is weggewerkt.

Post a new message
Dataseries X:
344744
338653
327532
326225
318672
317756
337302
349420
336923
330758
321002
320820
327032
324047
316735
315710
313427
310527
330962
339015
341332
339092
323308
325849
330675
332225
331735
328047
326165
327081
346764
344190
343333
345777
344094
348609
354846
356427
353467
355996
352487
355178
374556
375021
375787
372720
364431
370490
376974
377632
378205
370861
369167
371551
382842
381903
384502
392058
384359
388884
386586
387495
385705
378670
377367
376911
389827
387820
387267
380575
372402
376740
377795
376126
370804
367980
367866
366121
379421
378519
372423
355072
344693
342892
344178
337606
327103
323953
316532
306307
327225
329573
313761
307836
300074
304198
306122
300414
292133
290616
280244
285179
305486
305957
Dataseries Y:
31899
31384
30650
30400
30003
29896
31557
31883
30830
30354
29756
29934
30599
30378
29925
29471
29567
29419
30796
31475
31708
31917
30871
31512
32362
31928
31699
30363
30386
30364
32806
33423
33071
33888
34805
35489
37259
37722
38764
39594
40004
40715
44028
45564
44277
44976
45406
47379
49200
50221
51573
53091
53337
54978
57885
67099
67169
69796
70600
71982
73957
75273
76322
77078
77954
79238
82179
83834
83744
84861
86478
88290
90287
91230
92380
92506
94172
94728
96581
97344
98346
98214
98366
98768
99832
99976
99961
100164
99964
99304
104008
104644
103950
104263
104241
105141
106018
105866
105944
106379
105082
104915
107026
107306
Dataseries Z:
492865
480961
461935
456608
441977
439148
488180
520564
501492
485025
464196
460170
467037
460070
447988
442867
436087
431328
484015
509673
512927
502831
470984
471067
476049
474605
470439
461251
454724
455626
516847
525192
522975
518585
509239
512238
519164
517009
509933
509127
500857
506971
569323
579714
577992
565464
547344
554788
562325
560854
555332
543599
536662
542722
593530
610763
612613
611324
594167
595454
590865
589379
584428
573100
567456
569028
620735
628884
628232
612117
595404
597141
593408
590072
579799
574205
572775
572942
619567
625809
619916
587625
565742
557274
560576
548854
531673
525919
511038
498662
555362
564591
541657
527070
509846
514258
516922
507561
492622
490243
469357
477580
528379
533590




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=24366&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=24366&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24366&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 Partial Correlation - Ungrouped Data
StatisticValue
Correlation r(xy)-0.0206031053034193
Partial Correlation r(xy.z)-0.87861346574556
Correlation r(xz)0.792846709181054
Partial Correlation r(xz.y)0.95669845135911
Correlation r(yz)0.541693279998651
Partial Correlation r(yz.x)0.915863999673108

\begin{tabular}{lllllllll}
\hline
Pearson Product Moment Partial Correlation - Ungrouped Data \tabularnewline
Statistic & Value \tabularnewline
Correlation r(xy) & -0.0206031053034193 \tabularnewline
Partial Correlation r(xy.z) & -0.87861346574556 \tabularnewline
Correlation r(xz) & 0.792846709181054 \tabularnewline
Partial Correlation r(xz.y) & 0.95669845135911 \tabularnewline
Correlation r(yz) & 0.541693279998651 \tabularnewline
Partial Correlation r(yz.x) & 0.915863999673108 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=24366&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.0206031053034193[/C][/ROW]
[ROW][C]Partial Correlation r(xy.z)[/C][C]-0.87861346574556[/C][/ROW]
[ROW][C]Correlation r(xz)[/C][C]0.792846709181054[/C][/ROW]
[ROW][C]Partial Correlation r(xz.y)[/C][C]0.95669845135911[/C][/ROW]
[ROW][C]Correlation r(yz)[/C][C]0.541693279998651[/C][/ROW]
[ROW][C]Partial Correlation r(yz.x)[/C][C]0.915863999673108[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=24366&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=24366&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.0206031053034193
Partial Correlation r(xy.z)-0.87861346574556
Correlation r(xz)0.792846709181054
Partial Correlation r(xz.y)0.95669845135911
Correlation r(yz)0.541693279998651
Partial Correlation r(yz.x)0.915863999673108



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