KiK {qfratio} | R Documentation |
Matrix square root and generalized inverse
Description
This internal function calculates the decomposition
for an
covariance matrix
, so that
is an
matrix with
being
the rank of
. Returns this
and its generalized inverse,
, in a list.
Usage
KiK(S, tol = .Machine$double.eps * 100)
Arguments
S |
Covariance matrix. Symmetry and positive (semi-)definiteness are checked. |
tol |
Tolerance to determine the rank of |
Details
At present, this utilizes svd()
,
although there may be better alternatives.
Value
List with K
and iK
, with the latter being
[Package qfratio version 1.1.1 Index]