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 computationMon, 11 Jan 2016 09:52:41 +0000
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/Jan/11/t1452505971e5sgmqh3kin2l5e.htm/, Retrieved Tue, 07 May 2024 18:13:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=289254, Retrieved Tue, 07 May 2024 18:13:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact46
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [vraag 8] [2016-01-11 09:52:41] [771e96735c959476beabc077427322e9] [Current]
Feedback Forum

Post a new message
Dataseries X:
6 1 1 0 0 0 3.2
7 0 0 1 0 1 3.3
2 1 0 1 1 1 3.0
11 0 0 1 0 1 3.5
13 1 0 1 0 0 3.7
3 0 1 0 0 0 2.7
17 1 0 1 1 1 3.6
10 0 0 1 0 1 3.5
4 1 1 0 0 0 3.8
12 0 0 1 0 0 3.4
7 1 0 0 0 1 3.7
11 0 0 1 0 0 3.5
3 1 0 0 1 0 2.8
5 0 1 0 1 0 3.8
1 1 0 1 0 0 4.3
12 0 0 0 0 1 3.3
18 1 0 0 0 0 3.6
8 0 1 0 1 0 3.6
6 1 1 1 0 0 3.3
1 0 0 0 0 0 2.8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ yule.wessa.net

\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 & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289254&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]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289254&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289254&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'George Udny Yule' @ yule.wessa.net







Pearson Correlation Matrix
> r0
              Numeracy    Geslacht       Drugs      Fruit       Sport
Numeracy    1.00000000 -0.03066497 -0.33681284  0.2350981 -0.10032511
Geslacht   -0.03066497  1.00000000  0.00000000  0.0000000  0.11547005
Drugs      -0.33681284  0.00000000  1.00000000 -0.4364358  0.12598816
Fruit       0.23509813  0.00000000 -0.43643578  1.0000000 -0.11547005
Sport      -0.10032511  0.11547005  0.12598816 -0.1154701  1.00000000
Alcohol     0.23680612 -0.10482848 -0.48038446  0.3144855  0.06052275
Gebgewicht  0.27310579  0.21038067 -0.03443162  0.2366783 -0.09109750
               Alcohol  Gebgewicht
Numeracy    0.23680612  0.27310579
Geslacht   -0.10482848  0.21038067
Drugs      -0.48038446 -0.03443162
Fruit       0.31448545  0.23667826
Sport       0.06052275 -0.09109750
Alcohol     1.00000000 -0.01102694
Gebgewicht -0.01102694  1.00000000

\begin{tabular}{lllllllll}
\hline
Pearson Correlation Matrix \tabularnewline
> r0
              Numeracy    Geslacht       Drugs      Fruit       Sport
Numeracy    1.00000000 -0.03066497 -0.33681284  0.2350981 -0.10032511
Geslacht   -0.03066497  1.00000000  0.00000000  0.0000000  0.11547005
Drugs      -0.33681284  0.00000000  1.00000000 -0.4364358  0.12598816
Fruit       0.23509813  0.00000000 -0.43643578  1.0000000 -0.11547005
Sport      -0.10032511  0.11547005  0.12598816 -0.1154701  1.00000000
Alcohol     0.23680612 -0.10482848 -0.48038446  0.3144855  0.06052275
Gebgewicht  0.27310579  0.21038067 -0.03443162  0.2366783 -0.09109750
               Alcohol  Gebgewicht
Numeracy    0.23680612  0.27310579
Geslacht   -0.10482848  0.21038067
Drugs      -0.48038446 -0.03443162
Fruit       0.31448545  0.23667826
Sport       0.06052275 -0.09109750
Alcohol     1.00000000 -0.01102694
Gebgewicht -0.01102694  1.00000000
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=289254&T=1

[TABLE]
[ROW][C]Pearson Correlation Matrix[/C][/ROW]
[ROW][C]
> r0
              Numeracy    Geslacht       Drugs      Fruit       Sport
Numeracy    1.00000000 -0.03066497 -0.33681284  0.2350981 -0.10032511
Geslacht   -0.03066497  1.00000000  0.00000000  0.0000000  0.11547005
Drugs      -0.33681284  0.00000000  1.00000000 -0.4364358  0.12598816
Fruit       0.23509813  0.00000000 -0.43643578  1.0000000 -0.11547005
Sport      -0.10032511  0.11547005  0.12598816 -0.1154701  1.00000000
Alcohol     0.23680612 -0.10482848 -0.48038446  0.3144855  0.06052275
Gebgewicht  0.27310579  0.21038067 -0.03443162  0.2366783 -0.09109750
               Alcohol  Gebgewicht
Numeracy    0.23680612  0.27310579
Geslacht   -0.10482848  0.21038067
Drugs      -0.48038446 -0.03443162
Fruit       0.31448545  0.23667826
Sport       0.06052275 -0.09109750
Alcohol     1.00000000 -0.01102694
Gebgewicht -0.01102694  1.00000000
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=289254&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289254&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
              Numeracy    Geslacht       Drugs      Fruit       Sport
Numeracy    1.00000000 -0.03066497 -0.33681284  0.2350981 -0.10032511
Geslacht   -0.03066497  1.00000000  0.00000000  0.0000000  0.11547005
Drugs      -0.33681284  0.00000000  1.00000000 -0.4364358  0.12598816
Fruit       0.23509813  0.00000000 -0.43643578  1.0000000 -0.11547005
Sport      -0.10032511  0.11547005  0.12598816 -0.1154701  1.00000000
Alcohol     0.23680612 -0.10482848 -0.48038446  0.3144855  0.06052275
Gebgewicht  0.27310579  0.21038067 -0.03443162  0.2366783 -0.09109750
               Alcohol  Gebgewicht
Numeracy    0.23680612  0.27310579
Geslacht   -0.10482848  0.21038067
Drugs      -0.48038446 -0.03443162
Fruit       0.31448545  0.23667826
Sport       0.06052275 -0.09109750
Alcohol     1.00000000 -0.01102694
Gebgewicht -0.01102694  1.00000000







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
           Numeracy Geslacht Drugs Fruit Sport Alcohol Gebgewicht
Numeracy          1        0     0     0     0       0          0
Geslacht          0        1     0     0     0       0          0
Drugs             0        0     1     0     0       0          0
Fruit             0        0     0     1     0       0          0
Sport             0        0     0     0     1       0          0
Alcohol           0        0     0     0     0       1          0
Gebgewicht        0        0     0     0     0       0          1
attr(,"lambda")
[1] 1
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy   Geslacht      Drugs      Fruit      Sport    Alcohol Gebgewicht 
         1          1          1          1          1          1          1 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
           Numeracy Geslacht Drugs Fruit Sport Alcohol Gebgewicht
Numeracy          1        0     0     0     0       0          0
Geslacht          0        1     0     0     0       0          0
Drugs             0        0     1     0     0       0          0
Fruit             0        0     0     1     0       0          0
Sport             0        0     0     0     1       0          0
Alcohol           0        0     0     0     0       1          0
Gebgewicht        0        0     0     0     0       0          1
attr(,"lambda")
[1] 1
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy   Geslacht      Drugs      Fruit      Sport    Alcohol Gebgewicht 
         1          1          1          1          1          1          1 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=289254&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
           Numeracy Geslacht Drugs Fruit Sport Alcohol Gebgewicht
Numeracy          1        0     0     0     0       0          0
Geslacht          0        1     0     0     0       0          0
Drugs             0        0     1     0     0       0          0
Fruit             0        0     0     1     0       0          0
Sport             0        0     0     0     1       0          0
Alcohol           0        0     0     0     0       1          0
Gebgewicht        0        0     0     0     0       0          1
attr(,"lambda")
[1] 1
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy   Geslacht      Drugs      Fruit      Sport    Alcohol Gebgewicht 
         1          1          1          1          1          1          1 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=289254&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289254&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
           Numeracy Geslacht Drugs Fruit Sport Alcohol Gebgewicht
Numeracy          1        0     0     0     0       0          0
Geslacht          0        1     0     0     0       0          0
Drugs             0        0     1     0     0       0          0
Fruit             0        0     0     1     0       0          0
Sport             0        0     0     0     1       0          0
Alcohol           0        0     0     0     0       1          0
Gebgewicht        0        0     0     0     0       0          1
attr(,"lambda")
[1] 1
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy   Geslacht      Drugs      Fruit      Sport    Alcohol Gebgewicht 
         1          1          1          1          1          1          1 



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