Hello,
I am trying to generate a heatplot using Speaman's correlation matrix but without success. I was wondering if anyone else has come across this before and have any ideas?
This code works for Pearsons correlation, but my data are not normally distributed so would like to redo this with spearman.
But when I try to run a spearman's correlation - I get an error message "variable __00000O not found":
Any ideas greatly appreciated!
Tara
I am trying to generate a heatplot using Speaman's correlation matrix but without success. I was wondering if anyone else has come across this before and have any ideas?
This code works for Pearsons correlation, but my data are not normally distributed so would like to redo this with spearman.
Code:
correlate ei eqhwbscore EQindex eqvas huiscore sf6d icecaptariff matrix C = r(C) heatplot C, values(format(%9.2f)) color(hcl diverging, intensity(.6)) legend(on) aspectratio(0.9) lower label cut(0(0.2)1)
But when I try to run a spearman's correlation - I get an error message "variable __00000O not found":
Code:
spearman ei eqhwbscore EQindex eqvas huiscore sf6d icecaptariff matrix C = r(C) heatplot C, values(format(%9.2f)) color(hcl diverging, intensity(.6)) legend(on) aspectratio(0.9) lower label cut(0(0.2)1)
Tara

Comment