Questions:
1. Is there a simple, interpretable way to
determine the distance/closeness of a matrix to being not
positive (semi-)definite?
2. Alternatively: how can I systematically create matrices that are just barely positive (semi-)definite?
Background: I've been studying the performance of different estimators used in structural equation modeling (like ML and likes). My focus now is on their convergence behavior when these estimators are based on variance-covariance (VCV) matrices that are close to being invalid VCV's (= not positive (semi-)definite). Up until now, I created them rather crudely by trial and error.