wgtmethod in correlation
Posted: Thu Jan 09, 2014 9:33 am
Hello,
I'd like to account for possible heteroskedasticity in my series when I calculate correlation coefficients. There is a 'wgtmethod' option in the 'cor' 'interactive use command'. My question would be what is this option? Is it a kind of GLS option? How can be activated this option?
When I'd like to apply it to a group, it does not work.
For instance let grp be a group for which I'd like to calculate a correlation matrix. If I try grp.cor(wgtmethod="stdev"), it calculates the ordinary correlation matrix. I've also tried without "", the result is the same.
Could you help me?
Thank you.
Best,
Peter
I'd like to account for possible heteroskedasticity in my series when I calculate correlation coefficients. There is a 'wgtmethod' option in the 'cor' 'interactive use command'. My question would be what is this option? Is it a kind of GLS option? How can be activated this option?
When I'd like to apply it to a group, it does not work.
For instance let grp be a group for which I'd like to calculate a correlation matrix. If I try grp.cor(wgtmethod="stdev"), it calculates the ordinary correlation matrix. I've also tried without "", the result is the same.
Could you help me?
Thank you.
Best,
Peter