. correlate mrgrate dvcrate medage
(obs=50)
| mrgrate dvcrate medage
-------------+---------------------------
mrgrate | 1.0000
dvcrate | 0.7700 1.0000
medage | -0.0177 -0.2229 1.0000
. correlate mrgrate dvcrate medage,covariance
(obs=50)
| mrgrate dvcrate medage
-------------+---------------------------
mrgrate | .000662
dvcrate | .000063 1.0e-05
medage | -.000769 -.001191 2.86775
. correlate mrgrate dvcrate medage [aw=pop], covariance
(sum of wgt is 2.2591e+08)
(obs=50)
| mrgrate dvcrate medage
-------------+---------------------------
mrgrate | .000127
dvcrate | .000015 5.0e-06
medage | -.002481 -.001054 2.78666
想请高手解释下第二和第三个命令,第一个是求协方差~~~
帮助里关于covariance 命令的解释: covariance displays the covariances rather than the correlation
coefficients.