全部版块 我的主页
论坛 经济学论坛 三区 劳动经济学
1791 4
2009-10-11
Stata中分析两个变量的相关性,有条命令为“corr”,该命令是不是只针对连续型的变量啊?如果是离散的变量,应该如何分析他们的相关性呢?谢谢了哦,不胜感激:)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2009-10-11 14:20:36
. help corr


Correlations (covariances) of variables or estimators

        correlate [varlist] [weight] [if exp] [in range] [, means noformat covariance _coef wrap ]

        pwcorr    [varlist] [weight] [if exp] [in range] [, obs sig print(#) star(#) bonferroni sidak ]

Description

    correlate without the _coef option displays the correlation or covariance matrix for varlist or, if varlist is not specified, for all variable   in the data.  Observations are excluded from the calculation due to missing values on a casewise basis.

    correlate with the _coef option displays the correlation or covariance matrix of the coefficients from the most recently fitted model.  varlist    is not specified in this case.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-10-11 16:30:55
heiehei.学习了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-10-14 18:25:51
谢谢了,呵呵
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-10-20 14:08:21
stata的help很有用
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群