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 08:26:34 +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/t1452500854a52lbiulkfveta9.htm/, Retrieved Tue, 07 May 2024 11:48:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=288476, Retrieved Tue, 07 May 2024 11:48:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact61
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Partial Correlation Matrix] [] [2016-01-11 08:26:34] [08a36e76968808455fbed17c1caa8eb9] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 0 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=288476&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]0 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=288476&T=0

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







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

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

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

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







Partial Pearson Correlation Matrix (Shrinkage Method)
> r1
               Numeracy        Drugs     Geslacht        Fruit        Sport
Numeracy    1.000000000 -0.097035232 -0.010775782  0.052140480 -0.027054281
Drugs      -0.097035232  1.000000000 -0.005399124 -0.130231138  0.040882893
Geslacht   -0.010775782 -0.005399124  1.000000000 -0.001640504  0.039631966
Fruit       0.052140480 -0.130231138 -0.001640504  1.000000000 -0.033112108
Sport      -0.027054281  0.040882893  0.039631966 -0.033112108  1.000000000
Alcohol     0.061038712 -0.150284124 -0.024692562  0.085648480  0.035634716
Gebgewicht  0.092338391  0.010276200  0.037984922  0.076632859 -0.029575081
Inter      -0.008199777 -0.009225044  0.342179919  0.003037152  0.005241497
               Alcohol  Gebgewicht        Inter
Numeracy    0.06103871  0.09233839 -0.008199777
Drugs      -0.15028412  0.01027620 -0.009225044
Geslacht   -0.02469256  0.03798492  0.342179919
Fruit       0.08564848  0.07663286  0.003037152
Sport       0.03563472 -0.02957508  0.005241497
Alcohol     1.00000000 -0.01203091 -0.030496624
Gebgewicht -0.01203091  1.00000000  0.098345849
Inter      -0.03049662  0.09834585  1.000000000
attr(,"lambda")
[1] 0.6459376
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy      Drugs   Geslacht      Fruit      Sport    Alcohol Gebgewicht 
 0.9687134  0.9415864  0.8748640  0.9580968  0.9922250  0.9565613  0.9685128 
     Inter 
 0.8685766 

\begin{tabular}{lllllllll}
\hline
Partial Pearson Correlation Matrix (Shrinkage Method) \tabularnewline
> r1
               Numeracy        Drugs     Geslacht        Fruit        Sport
Numeracy    1.000000000 -0.097035232 -0.010775782  0.052140480 -0.027054281
Drugs      -0.097035232  1.000000000 -0.005399124 -0.130231138  0.040882893
Geslacht   -0.010775782 -0.005399124  1.000000000 -0.001640504  0.039631966
Fruit       0.052140480 -0.130231138 -0.001640504  1.000000000 -0.033112108
Sport      -0.027054281  0.040882893  0.039631966 -0.033112108  1.000000000
Alcohol     0.061038712 -0.150284124 -0.024692562  0.085648480  0.035634716
Gebgewicht  0.092338391  0.010276200  0.037984922  0.076632859 -0.029575081
Inter      -0.008199777 -0.009225044  0.342179919  0.003037152  0.005241497
               Alcohol  Gebgewicht        Inter
Numeracy    0.06103871  0.09233839 -0.008199777
Drugs      -0.15028412  0.01027620 -0.009225044
Geslacht   -0.02469256  0.03798492  0.342179919
Fruit       0.08564848  0.07663286  0.003037152
Sport       0.03563472 -0.02957508  0.005241497
Alcohol     1.00000000 -0.01203091 -0.030496624
Gebgewicht -0.01203091  1.00000000  0.098345849
Inter      -0.03049662  0.09834585  1.000000000
attr(,"lambda")
[1] 0.6459376
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy      Drugs   Geslacht      Fruit      Sport    Alcohol Gebgewicht 
 0.9687134  0.9415864  0.8748640  0.9580968  0.9922250  0.9565613  0.9685128 
     Inter 
 0.8685766 
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=288476&T=2

[TABLE]
[ROW][C]Partial Pearson Correlation Matrix (Shrinkage Method)[/C][/ROW]
[ROW][C]
> r1
               Numeracy        Drugs     Geslacht        Fruit        Sport
Numeracy    1.000000000 -0.097035232 -0.010775782  0.052140480 -0.027054281
Drugs      -0.097035232  1.000000000 -0.005399124 -0.130231138  0.040882893
Geslacht   -0.010775782 -0.005399124  1.000000000 -0.001640504  0.039631966
Fruit       0.052140480 -0.130231138 -0.001640504  1.000000000 -0.033112108
Sport      -0.027054281  0.040882893  0.039631966 -0.033112108  1.000000000
Alcohol     0.061038712 -0.150284124 -0.024692562  0.085648480  0.035634716
Gebgewicht  0.092338391  0.010276200  0.037984922  0.076632859 -0.029575081
Inter      -0.008199777 -0.009225044  0.342179919  0.003037152  0.005241497
               Alcohol  Gebgewicht        Inter
Numeracy    0.06103871  0.09233839 -0.008199777
Drugs      -0.15028412  0.01027620 -0.009225044
Geslacht   -0.02469256  0.03798492  0.342179919
Fruit       0.08564848  0.07663286  0.003037152
Sport       0.03563472 -0.02957508  0.005241497
Alcohol     1.00000000 -0.01203091 -0.030496624
Gebgewicht -0.01203091  1.00000000  0.098345849
Inter      -0.03049662  0.09834585  1.000000000
attr(,"lambda")
[1] 0.6459376
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy      Drugs   Geslacht      Fruit      Sport    Alcohol Gebgewicht 
 0.9687134  0.9415864  0.8748640  0.9580968  0.9922250  0.9565613  0.9685128 
     Inter 
 0.8685766 
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=288476&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=288476&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        Drugs     Geslacht        Fruit        Sport
Numeracy    1.000000000 -0.097035232 -0.010775782  0.052140480 -0.027054281
Drugs      -0.097035232  1.000000000 -0.005399124 -0.130231138  0.040882893
Geslacht   -0.010775782 -0.005399124  1.000000000 -0.001640504  0.039631966
Fruit       0.052140480 -0.130231138 -0.001640504  1.000000000 -0.033112108
Sport      -0.027054281  0.040882893  0.039631966 -0.033112108  1.000000000
Alcohol     0.061038712 -0.150284124 -0.024692562  0.085648480  0.035634716
Gebgewicht  0.092338391  0.010276200  0.037984922  0.076632859 -0.029575081
Inter      -0.008199777 -0.009225044  0.342179919  0.003037152  0.005241497
               Alcohol  Gebgewicht        Inter
Numeracy    0.06103871  0.09233839 -0.008199777
Drugs      -0.15028412  0.01027620 -0.009225044
Geslacht   -0.02469256  0.03798492  0.342179919
Fruit       0.08564848  0.07663286  0.003037152
Sport       0.03563472 -0.02957508  0.005241497
Alcohol     1.00000000 -0.01203091 -0.030496624
Gebgewicht -0.01203091  1.00000000  0.098345849
Inter      -0.03049662  0.09834585  1.000000000
attr(,"lambda")
[1] 0.6459376
attr(,"lambda.estimated")
[1] TRUE
attr(,"class")
[1] "shrinkage"
attr(,"spv")
  Numeracy      Drugs   Geslacht      Fruit      Sport    Alcohol Gebgewicht 
 0.9687134  0.9415864  0.8748640  0.9580968  0.9922250  0.9565613  0.9685128 
     Inter 
 0.8685766 



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