Hello all,
I am running some correlations and plotting a heatmap matrix, but I would like to know how can I add a star for significance level (<5%). I did not find something helpful. The command I am using is the following:
spearman var1 var2 var3 var4, stats(rho p) star(.05), if var5==1
matrix C = r(Rho)
heatplot C, legend(on) color(hcl diverging, intensity(.6)) keylabels(, format(%4.2f)) lower
Is there any addicional command to add a star to the significant correlations in my plot? Can someone help me in this regard?
Thanks in advance!
I am running some correlations and plotting a heatmap matrix, but I would like to know how can I add a star for significance level (<5%). I did not find something helpful. The command I am using is the following:
spearman var1 var2 var3 var4, stats(rho p) star(.05), if var5==1
matrix C = r(Rho)
heatplot C, legend(on) color(hcl diverging, intensity(.6)) keylabels(, format(%4.2f)) lower
Is there any addicional command to add a star to the significant correlations in my plot? Can someone help me in this regard?
Thanks in advance!
Comment