psdcor: Positive Semidefinite Correlation Matrix Correction

Description Usage Arguments Details Value Author(s)

View source: R/psdcor.R

Description

Correct pseudo-correlation matrices to make them positive semidefinite ones.

Usage

1
psdcor(m, method = c("higham", "eigen"), ...)

Arguments

m

pseudo-correlation matrix to correct.

method

optionally, correction method to use.

...

potentially further arguments for the particular correction method.

Details

This function applies transformation to the given matrix in order to make it positive semidefinite correlation matrix.

When method is higham, use Higham projections algorithm via nearPD() function.

When method is eigen, use direct eigenvalues correction via posdefify() function.

Value

The corrected matrix.

Author(s)

Paul Smirnov <s.paul@mail.ru>


robcor documentation built on May 2, 2019, 7:29 a.m.

Related to psdcor in robcor...