Usage
FrobSigAp(Sigma, q, nstarts = 1, k0 = NULL, penF = NULL,
atol = 1e-20, rtol = sqrt(.Machine$double.eps))FrobSigAp1(SigmaSr, SigmaRank, q, nstarts = 1, k0=NULL, penF=NULL,
atol = 1e-20, rtol = 100 * sqrt(.Machine$double.eps))
Arguments
Sigma
Square, symmetric and positive-definite matrix to be approximated
q
Number of factors in the assumed factor model.
nstarts
Number of different randomly generated starting points used in the optimization.
k0
Lower bound for the elements of the specific variances. When NULL (default), k0 is set to 0.01 times the minimum diagonal element of Sigma.
penF
Penalty factor, used to forbid specific variances below the k0 bound. When set to NULL (default), a penalty equal to 100 times the maximum diagonal element of Sigma is used.
atol
The absolute convergence tolerance of the local optimizer.
rtol
The relative convergence tolerance of the local optimizer. The local optimizer stops if it is unable to reduce the approximation error (err) by a factor of reltol *(abs(err) + reltol) at a step.
SigmaSr
Matrix square root of the covariance to be approximated.
SigmaRank
Rank of the covariance matrix to be approximated.