全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
38590 4
2011-07-23
用corr或者pwcorr计算出变量之间的相关系数后,如何对不同的显著性水平表上星号,比如常见的*代表10%,**代表5%,***代表1%。感谢了!
二维码

扫码加我 拉你入群

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

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

全部回复
2011-7-23 18:36:25
help correlate, help pwcorr                            dialogs:  correlate  pwcorr

Title
[R] correlate -- Correlations (covariances) of variables or coefficients

Syntax
Display correlation matrix or covariance matrix
correlate [varlist] [if] [in] [weight] [, correlate_options]

Display all pairwise correlation coefficients
pwcorr [varlist] [if] [in] [weight] [, pwcorr_options]

correlate_options    description
----------------------------------------------------------------------------
Options
means              display means, standard deviations, minimums, and
maximums with matrix
noformat           ignore display format associated with variables
covariance         display covariances
wrap               allow wide matrices to wrap
----------------------------------------------------------------------------
pwcorr_options       description
----------------------------------------------------------------------------
Main
obs                print number of observations for each entry
sig                print significance level for each entry
listwise           use listwise deletion to handle missing values
casewise           synonym for listwise
print(#)           significance level for displaying coefficients
star(#)            significance level for displaying with a star
bonferroni         use Bonferroni-adjusted significance level
sidak              use Sidak-adjusted significance level
----------------------------------------------------------------------------
varlist may contain time-series operators; see tsvarlist.
by is allowed with correlate and pwcorr; see [D] by.
aweights and fweights are allowed; see weight.
二维码

扫码加我 拉你入群

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

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

2011-7-26 20:19:31
2# 蓝色
如何同时对三个显著性水平进行标注。谢谢!
二维码

扫码加我 拉你入群

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

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

2011-7-27 07:25:27
二维码

扫码加我 拉你入群

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

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

2021-8-11 12:37:12
用 pwcorr_a  
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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