Learn R Programming

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

corpcor (version 1.1.1)

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

42,579

Version

1.1.1

License

GPL version 2 or newer

Maintainer

Korbinian Strimmer

Last Published

September 16th, 2021

Functions in corpcor (1.1.1)

pseudoinverse

Pseudoinverse of a Matrix
cor2pcor

Compute Partial Correlation from Correlation Matrix -- and Vice Versa
varcov

Variance of the Entries of the Covariance Matrix
fast.svd

Fast Singular Value Decomposition
cov.bagged

Bagged Estimates of Covariance and (Partial) Correlation
rebuild.cov

Rebuild Covariance Matrix from Correlation Matrix
smtools

Some Tools for Symmetric Matrices
corpcor-internal

Internal corpcor Functions
cor.shrink

Shrinkage Estimates of Covariance and (Partial) Correlation
rank.condition

Rank, Condition, and Positive Definiteness of a Matrix