I would like to store the correlation between two variables, but my following command does not do the job. Could you please direct me as to what is missing in my code? Thank you.
cmom(corr,print)
# gdp_detrend govt_detrend
compute mycorrs = %cmom(gdp_detrend,govt_detrend)