You're right...In fact i've not posted the initialization part! I've also checked the code by hand (1000 times) before asking for help... In short, I tried everything possible! Just one question, the last, i hope! I've controlled results, and the covariance matrix and correlation matrix are symmetric. Now, we known that these matrix are positive semidefinite. Can i suppose that (semidefinite property) is verified? How can i test that? (naturally without the eigenvalues and eigenvectors) PS on the web i found out that sometimes other software (like matlab) retrieve negative eigenvalues for semidefinite matrix because the sum of eigenvalues must be equal to the trace of matrix (or something, i don't understand it well). Thanks again
|