楼主: 猫咪祧
3724 3

[面板数据求助] 用stata建立command去比较pooled ols, FE和 RE estimator [推广有奖]

  • 0关注
  • 0粉丝

高中生

80%

还不是VIP/贵宾

-

威望
0
论坛币
1285 个
通用积分
1.0327
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
209 点
帖子
8
精华
0
在线时间
57 小时
注册时间
2015-11-16
最后登录
2024-7-1

5论坛币

stimator comparison

在stata中,我们会用以下command 去做estimator的对比

Estimator comparison

* Compare various estimators (with cluster-robust se.s)

. global xlist exp exp2 wks ed

. quietly regress lwage $xlist, vce(cluster id)

. estimates store OLS

. quietly xtgee lwage exp exp2 wks ed, corr(ar 2)

vce(robust)

. estimates store PFGLS

. quietly xtreg lwage $xlist, be

. estimates store BE

. quietly xtreg lwage $xlist, re vce(robust)

. estimates store RE

. quietly xtreg lwage $xlist, fe vce(robust)

. estimates store FE

. estimates table OLS PFGLS BE RE FE, b(%9.4f) se stats(N)


但是在这段command中的最后一行,b(%9.4f) se stats(N) 是什么意思???求指点和帮助!谢谢!o

A. Colin Cameron Univ. of California - Davis (Based on A. Colin Cameron and Praveconometrics using Stat


关键词:estimator Command pooled Stata Comm command
沙发
夏目贵志 发表于 2017-5-1 05:41:45 |只看作者 |坛友微信交流群
help estimates table里有。就是几个控制表格显示格式的选项。

使用道具

藤椅
猫咪祧 发表于 2017-5-2 03:30:05 |只看作者 |坛友微信交流群
夏目贵志 发表于 2017-5-1 05:41
help estimates table里有。就是几个控制表格显示格式的选项。
可不可以具体说一下:b(%9.4f) se stats(N) 里面的%9.4f是什么意思???

使用道具

板凳
蓝色 发表于 2017-5-2 07:21:45 |只看作者 |坛友微信交流群
猫咪祧 发表于 2017-5-2 03:30
可不可以具体说一下:b(%9.4f) se stats(N) 里面的%9.4f是什么意思???
看帮助或manual里面的解释

Title

    [R] estimates table -- Compare estimation results


Syntax

        estimates table [namelist] [, options]


    where namelist is a name, a list of names, _all, or *.
        A name may be ., meaning the current (active) estimates.
        _all and * mean the same thing.


    options                  Description
    ----------------------------------------------------------------------------------------------------------
    Main
      stats(scalarlist)      report scalarlist in table
      star[(#1 #2 #3)]       use stars to denote significance levels

    Options
      keep(coeflist)         report coefficients in order specified
      drop(coeflist)         omit specified coefficients from table
      equations(matchlist)   match equations of models as specified

    Numerical formats
      b[(%fmt)]              how to format coefficients, which are always reported
      se[(%fmt)]             report standard errors and use optional format

      t[(%fmt)]              report t or z and use optional format
      p[(%fmt)]              report p-values and use optional format
      stfmt(%fmt)            how to format scalar statistics

    General format
      varwidth(#)            use # characters to display variable names and statistics
      modelwidth(#)          use # characters to display model names

      eform                  display coefficients in exponentiated form
      varlabel               display variable labels rather than variable names
      newpanel               display statistics in separate table from coefficients

      style(oneline)         put vertical line after variable names; the default
      style(columns)         put vertical line separating every column
      style(noline)          suppress all vertical lines

      coded                  display compact table

    Reporting
      display_options        control row spacing, line width, and display of omitted variables and base and
                               empty cells

      title(string)          title for table
    ----------------------------------------------------------------------------------------------------------


使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-7-8 19:03