全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
9977 1
2008-08-25

我用下面的命令做出 robust standard error

reg  lwage s_ii age agesq,robust

但是如何加入cluster(set) 命令

谢谢

二维码

扫码加我 拉你入群

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

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

全部回复
2008-8-26 08:40:00

你查查reg的命令的帮助,上面有命令的选项

论坛上还有stata的手册,上面讲的很详细。


help regress                                                                     dialogs:  regress  svy: regress   
                                                                                also see:  regress postestimation  
                                                                                           regress postestimation ts
--------------------------------------------------------------------------------------------------------------------

Title

    [R] regress -- Linear regression


Syntax

        regress depvar [indepvars] [if] [in] [weight] [, options]

    options               description
    --------------------------------------------------------------------------------------------------------------
    Model
      noconstant          suppress constant term
      hascons             has user-supplied constant
      tsscons             compute total sum of squares with constant; seldom used

    SE/Robust
      vce(vcetype)        vcetype may be ols, robust, cluster clustvar, bootstrap, jackknife, hc2, or hc3

    Reporting
      level(#)            set confidence level; default is level(95)
      beta                report standardized beta coefficients
      eform(string)       report exponentiated coefficients and label as string
      noheader            suppress table header
      plus                make table extendable
      depname(varname)    substitute dependent variable name; programmer's option

    + mse1                force MSE to be 1
    --------------------------------------------------------------------------------------------------------------

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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