Covariance matrix is displayed incorrectly in the report file #36
-
Hello everyone, I have noticed that my input covariance/correlation matrix are displayed incorrectly in the report file. The first row corresponds to the matrix I entered, but all the others are from the default unit matrix. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@Peku995
The covariance computation strategy is involved in the library, meaning it depends on several other quantities you can set and is done element-wise. The new, enhanced MATLAB version of the library is being tested for release sometime next week. |
Beta Was this translation helpful? Give feedback.
-
Hi @Peku995, [cormat, stdvec] = corrcov(covmat) I have a vague memory about an old version of the library having this problem that you have raised, which we fixed a long time ago. We may not have released the latest fix to the release page (although the fix is likely in the repository's main branch). Given that the MATLAB version will be out soon, mid-next week, I do not see much benefit to releasing the patch separately. It will likely take the same amount of time as releasing the much better new version. |
Beta Was this translation helpful? Give feedback.
Hi @Peku995,
Try the second option and see if that fixes the issue by specifying the correlation matrix and standard deviation vector instead of covariance. You can compute the two via the following MATLAB command:
I have a vague memory about an old version of the library having this problem that you have raised, which we fixed a long time ago. We may not have released the latest fix to the release page (although the fix is likely in the repository's main branch). Given that the MATLAB version will be out soon, mid-next week, I do not see much benefit to releasing the patch separately. It will likely take the same amount of time as releasing the much bet…