CRAN/E | corpcor

corpcor

Efficient Estimation of Covariance and (Partial) Correlation

Installation

About

Implements a James-Stein-type shrinkage estimator for the covariance matrix, with separate shrinkage for variances and correlations. The details of the method are explained in Schafer and Strimmer (2005) doi:10.2202/1544-6115.1175 and Opgen-Rhein and Strimmer (2007) doi:10.2202/1544-6115.1252. The approach is both computationally as well as statistically very efficient, it is applicable to "small n, large p" data, and always returns a positive definite and well-conditioned covariance matrix. In addition to inferring the covariance matrix the package also provides shrinkage estimators for partial correlations and partial variances. The inverse of the covariance and correlation matrix can be efficiently computed, as well as any arbitrary power of the shrinkage correlation matrix. Furthermore, functions are available for fast singular value decomposition, for computing the pseudoinverse, and for checking the rank and positive definiteness of a matrix.

strimmerlab.github.io/software/corpcor/

Key Metrics

Version 1.6.10
R ≥ 3.0.2
Published 2021-09-16 951 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks corpcor results

Downloads

Yesterday 1.352 0%
Last 7 days 7.024 -34%
Last 30 days 34.872 -3%
Last 90 days 101.133 -4%
Last 365 days 422.107 -13%

Maintainer

Maintainer

Korbinian Strimmer

strimmerlab@gmail.com

Authors

Juliane Schafer
Rainer Opgen-Rhein
Verena Zuber
Miika Ahdesmaki
A. Pedro Duarte Silva
Korbinian Strimmer.

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

corpcor archive

Depends

R ≥ 3.0.2

Imports

stats

Reverse Depends

BinNonNor
BinNor
care
COMBAT
EDISON
FPCA2D
GeneNet
GlobalAncova
GLSME
Hotelling
leapp
longitudinal
miRtest
MultiOrd
mvMORPH
OrdNor
OUwie
PoisBinNonNor
PoisBinOrd
PoisBinOrdNonNor
PoisBinOrdNor
PoisNonNor
PoisNor
qtlhot
sda
splitFeas
st
trigger
whitening

Reverse Imports

AZIAD
BatchQC
BinOrdNonNor
biospear
BNrich
bootnet
boral
cape
carSurv
cate
clipper
clustrd
CopulaCenR
corHMM
covequal
cpvSNP
CytoML
debCAM
deepgmm
dnapath
ERP
esaBcv
FADA
flowStats
flowUtils
FoReco
fspe
GGMnonreg
GhostKnockoff
GOSim
GWpcor
gwpcormapper
hfr
HSPOR
idm
IRCcheck
iTOP
knockoff
lfa
list
lvm4net
lvnet
M3C
MCMCglmm
MetaIntegration
miRspongeR
mixOmics
mlVAR
MM4LMM
modnets
Load all 94 items
(warning: might lead to performance issues and take some time)

Reverse Suggests

BLCOP
CMA
DEGraph
fMRIscrub
GGMncv
HDShOP
NMF
picante
PortfolioAnalytics
sharp