Method for finding the nearest positive semi-definite matrix

KK Kendrick Kay
JP Jacob S. Prince
TG Thomas Gebhart
GT Greta Tuckute
JZ Jingyang Zhou
TN Thomas Naselaris
HS Heiko Schutt
request Request a Protocol
ask Ask a question
Favorite

To ensure valid covariance matrices, the GSN algorithm involves finding the nearest (in the sense of the Frobenius norm) symmetric positive semi-definite matrix to a given matrix (see PSD() in Steps 5 and 7). This is accomplished using the method proposed by Higham (Higham, 1988). Our implementation is as follows (constructnearestpsdcovariance.{m,py}):

Note that this method is equivalent to performing an eigendecomposition of C and setting negative eigenvalues to zero.

Do you have any questions about this protocol?

Post your question to gather feedback from the community. We will also invite the authors of this article to respond.

0/150

tip Tips for asking effective questions

+ Description

Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.

post Post a Question
0 Q&A