Learn R Programming

⚠️There's a newer version (1.6.10) of this package.Take me there.

corpcor (version 1.1.2)

Efficient Estimation of Covariance and (Partial) Correlation

Description

This package implements a shrinkage estimator to allow the efficient inference of large-scale covariance matrices from small sample data. The resulting estimates are always positive definite, more accurate than the empirical estimate, well conditioned, computationally inexpensive, and require only little a priori modeling. The package also contains similar functions for inferring correlations and partial correlations. In addition, it provides functions for fast svd computation, for computing the pseuoinverse, and for checking the rank and positive definiteness of a matrix.

Copy Link

Version

Install

install.packages('corpcor')

Monthly Downloads

44,150

Version

1.1.2

License

GPL version 2 or newer

Maintainer

Korbinian Strimmer

Last Published

September 16th, 2021

Functions in corpcor (1.1.2)

fast.svd

Fast Singular Value Decomposition
smtools

Some Tools for Symmetric Matrices
cov.bagged

Bagged Estimates of Covariance and (Partial) Correlation
pseudoinverse

Pseudoinverse of a Matrix
rank.condition

Positive Definiteness of a Matrix, Rank and Condition Number
cor2pcor

Compute Partial Correlation from Correlation Matrix -- and Vice Versa
rebuild.cov

Rebuild Covariance Matrix from Correlation Matrix
varcov

Variance of the Entries of the Covariance Matrix
cor.shrink

Shrinkage Estimates of Covariance and (Partial) Correlation
corpcor-internal

Internal corpcor Functions