Description Usage Arguments Value See Also Examples
Finds the nearest positive semi-definite matrix with respect to the Frobenius norm
1 2 3 4 5 6 7 8 9 10 |
sigmaHat |
covariance matrix |
R |
weight matrix |
a |
hmlasso (1) or cocolasso (0) |
iter_max |
Number maximum of iterations |
epsilon |
Stopping criterion |
mu |
Penalty parameter of ADMM algorithm |
tolerance |
Tolerance parameter for the convergence of primal and dual residual |
norm |
Frobenius or max norm |
list containing
Ak
Projected matrix
https://arxiv.org/pdf/1811.00255.pdf
1 2 3 |
M = matrix(-1,20,20)
mat_proj <- BDcocolasso::HM_proj(sigmaHat=M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.