Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_partialcorrelationmatrix.wasp
Title produced by softwarePartial Correlation Matrix
Date of computationFri, 23 Dec 2016 21:14:36 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/23/t1482525626usxibobpia63lpe.htm/, Retrieved Tue, 07 May 2024 23:24:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=303047, Retrieved Tue, 07 May 2024 23:24:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact52
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [partial pearson c...] [2016-12-23 20:14:36] [6f830dc7e8de22be3233942ffbe3aaba] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	5	4	1	0	9
4	5	1	1	2	5
6	1	5	0	0	7
1	7	0	6	0	6
8	2	2	3	1	5
3	4	3	3	4	3
8	1	1	2	1	6
7	2	2	1	6	2
7	2	3	3	1	3
4	5	2	1	2	7
6	3	1	0	5	4
2	7	2	3	1	5
5	6	1	1	2	2
2	9	2	2	2	2
5	4	1	1	2	5




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303047&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=303047&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303047&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Pearson Correlation Matrix
> r0
            blauw       geel      bruin       groen       rood      oranje
blauw   1.0000000 -0.8370600  0.0000000 -0.32020977  0.2576293 -0.23541576
geel   -0.8370600  1.0000000 -0.3187090  0.31490981 -0.1464099 -0.13144145
bruin   0.0000000 -0.3187090  1.0000000 -0.31630588 -0.2131612  0.28764683
groen  -0.3202098  0.3149098 -0.3163059  1.00000000 -0.3373347 -0.05587728
rood    0.2576293 -0.1464099 -0.2131612 -0.33733470  1.0000000 -0.61665508
oranje -0.2354158 -0.1314414  0.2876468 -0.05587728 -0.6166551  1.00000000

\begin{tabular}{lllllllll}
\hline
Pearson Correlation Matrix \tabularnewline
> r0
            blauw       geel      bruin       groen       rood      oranje
blauw   1.0000000 -0.8370600  0.0000000 -0.32020977  0.2576293 -0.23541576
geel   -0.8370600  1.0000000 -0.3187090  0.31490981 -0.1464099 -0.13144145
bruin   0.0000000 -0.3187090  1.0000000 -0.31630588 -0.2131612  0.28764683
groen  -0.3202098  0.3149098 -0.3163059  1.00000000 -0.3373347 -0.05587728
rood    0.2576293 -0.1464099 -0.2131612 -0.33733470  1.0000000 -0.61665508
oranje -0.2354158 -0.1314414  0.2876468 -0.05587728 -0.6166551  1.00000000
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=303047&T=1

[TABLE]
[ROW][C]Pearson Correlation Matrix[/C][/ROW]
[ROW][C]
> r0
            blauw       geel      bruin       groen       rood      oranje
blauw   1.0000000 -0.8370600  0.0000000 -0.32020977  0.2576293 -0.23541576
geel   -0.8370600  1.0000000 -0.3187090  0.31490981 -0.1464099 -0.13144145
bruin   0.0000000 -0.3187090  1.0000000 -0.31630588 -0.2131612  0.28764683
groen  -0.3202098  0.3149098 -0.3163059  1.00000000 -0.3373347 -0.05587728
rood    0.2576293 -0.1464099 -0.2131612 -0.33733470  1.0000000 -0.61665508
oranje -0.2354158 -0.1314414  0.2876468 -0.05587728 -0.6166551  1.00000000
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=303047&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303047&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Pearson Correlation Matrix
> r0
            blauw       geel      bruin       groen       rood      oranje
blauw   1.0000000 -0.8370600  0.0000000 -0.32020977  0.2576293 -0.23541576
geel   -0.8370600  1.0000000 -0.3187090  0.31490981 -0.1464099 -0.13144145
bruin   0.0000000 -0.3187090  1.0000000 -0.31630588 -0.2131612  0.28764683
groen  -0.3202098  0.3149098 -0.3163059  1.00000000 -0.3373347 -0.05587728
rood    0.2576293 -0.1464099 -0.2131612 -0.33733470  1.0000000 -0.61665508
oranje -0.2354158 -0.1314414  0.2876468 -0.05587728 -0.6166551  1.00000000







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
             blauw        geel       bruin       groen        rood      oranje
blauw   1.00000000 -0.31591047 -0.03648194 -0.08823334  0.04604952 -0.09587859
geel   -0.31591047  1.00000000 -0.11492436  0.06391270 -0.04491591 -0.07785074
bruin  -0.03648194 -0.11492436  1.00000000 -0.11955167 -0.07973035  0.07746784
groen  -0.08823334  0.06391270 -0.11955167  1.00000000 -0.13440003 -0.04487778
rood    0.04604952 -0.04491591 -0.07973035 -0.13440003  1.00000000 -0.22926720
oranje -0.09587859 -0.07785074  0.07746784 -0.04487778 -0.22926720  1.00000000
attr(,"lambda")
[1] 0.6173343
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
    blauw      geel     bruin     groen      rood    oranje 
0.8753725 0.8719681 0.9554804 0.9476865 0.9154931 0.9234341 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
             blauw        geel       bruin       groen        rood      oranje
blauw   1.00000000 -0.31591047 -0.03648194 -0.08823334  0.04604952 -0.09587859
geel   -0.31591047  1.00000000 -0.11492436  0.06391270 -0.04491591 -0.07785074
bruin  -0.03648194 -0.11492436  1.00000000 -0.11955167 -0.07973035  0.07746784
groen  -0.08823334  0.06391270 -0.11955167  1.00000000 -0.13440003 -0.04487778
rood    0.04604952 -0.04491591 -0.07973035 -0.13440003  1.00000000 -0.22926720
oranje -0.09587859 -0.07785074  0.07746784 -0.04487778 -0.22926720  1.00000000
attr(,"lambda")
[1] 0.6173343
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
    blauw      geel     bruin     groen      rood    oranje 
0.8753725 0.8719681 0.9554804 0.9476865 0.9154931 0.9234341 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=303047&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
             blauw        geel       bruin       groen        rood      oranje
blauw   1.00000000 -0.31591047 -0.03648194 -0.08823334  0.04604952 -0.09587859
geel   -0.31591047  1.00000000 -0.11492436  0.06391270 -0.04491591 -0.07785074
bruin  -0.03648194 -0.11492436  1.00000000 -0.11955167 -0.07973035  0.07746784
groen  -0.08823334  0.06391270 -0.11955167  1.00000000 -0.13440003 -0.04487778
rood    0.04604952 -0.04491591 -0.07973035 -0.13440003  1.00000000 -0.22926720
oranje -0.09587859 -0.07785074  0.07746784 -0.04487778 -0.22926720  1.00000000
attr(,"lambda")
[1] 0.6173343
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
    blauw      geel     bruin     groen      rood    oranje 
0.8753725 0.8719681 0.9554804 0.9476865 0.9154931 0.9234341 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=303047&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303047&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
             blauw        geel       bruin       groen        rood      oranje
blauw   1.00000000 -0.31591047 -0.03648194 -0.08823334  0.04604952 -0.09587859
geel   -0.31591047  1.00000000 -0.11492436  0.06391270 -0.04491591 -0.07785074
bruin  -0.03648194 -0.11492436  1.00000000 -0.11955167 -0.07973035  0.07746784
groen  -0.08823334  0.06391270 -0.11955167  1.00000000 -0.13440003 -0.04487778
rood    0.04604952 -0.04491591 -0.07973035 -0.13440003  1.00000000 -0.22926720
oranje -0.09587859 -0.07785074  0.07746784 -0.04487778 -0.22926720  1.00000000
attr(,"lambda")
[1] 0.6173343
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
    blauw      geel     bruin     groen      rood    oranje 
0.8753725 0.8719681 0.9554804 0.9476865 0.9154931 0.9234341 



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
library(corpcor)
x <- t(y)
(r1 <- pcor.shrink(x))
(r0 <- cor(x))
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Pearson Correlation Matrix',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('
',RC.texteval('r0'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable0.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Partial Pearson Correlation Matrix (Shrinkage Method)',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,paste('
',RC.texteval('r1'),'
',sep=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')