I try to filter correlation matrix with p-value for the following matrix I use the following code But the answer that I get it is strange, because the main correlation without filtering is and the P-value matrix is while all should be zero, I do not know what could be the reason, has someone had the same problem before? Answer