interpret heatmap color boxes (Maroon , dark Blue, White)
Hello Team JASP
Need Help interpret heatmap color coding (Maroon , dark Blue, White)
attached is correlation matrix representing correlation between different variables.
The value of correlation can take any values from -1 to 1 as I understand , -1 means there is a strong negative correlation and +1 means that there is a strong positive correlation.
but what are those colors Maroon and Dark Blue and white boxes imply as I get -1 in both white and Maroon
Thankyou so much , Truly appreciate your guidance
M
Comments
Dear @mani,
the colors should indeed correspond to the values of the correlation coefficient (red for negative, blue for positive correlations). Your observation that some correlations are labeled as -1 but with no color suggests that there might be a bug in the code that draws this figure.
I could not reproduce the error, however. Would you be so kind to either attach your jasp file here, send it to me at s.kucharsky@jasp-stats.org, or file an issue to our GitHub (https://github.com/jasp-stats/jasp-issues/issues) and upload the file there? That way I can look into it to find what went wrong in your case. Thank you!
You're absolutely correct; the colors in the visualization should indeed correspond to the values of the correlation coefficient, with red representing negative correlations and blue for positive ones. The fact that some correlations are labeled as -1 but lack color could indeed indicate a potential bug in the code responsible for generating the figure.