设为首页收藏本站

EPS数据狗论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1945|回复: 0

常用的 Stata 十大外挂指令 (to be added/revised)

[复制链接]

35

主题

369

金钱

516

积分

初级用户

发表于 2019-8-23 13:55:00 | 显示全部楼层 |阅读模式

Stata 十大 (类) 外挂指令 (to be added/revised) :

回归 (控制多重固定效应并允许多重聚类):(iv)reghdfe (linear regression absorbing multiple levels of fixed effects, allowingtwo- and multi-way clustering)
回归 (工具变量):(xt)ivreg2 (Extendedinstrumental variables/2SLS, GMM and AC/HAC, LIML and k-class regression)
分组统计量与回归 (一般人回归时资料处理或变量建立,你想的到与你想不到的都可以做):a.rangestat/rangerun(Generate statistics using observations within range/Run Stata commands onobservations within range)  b. asreg/asrol(Rolling window regressions and by(group) regressions/Generatesrolling-window/groups descriptive statistics)
(允许非典型) 分组统计量与回归:runby -- Run Stata commands on by-groupsof observations (让所有指令都可 byable)
缺失值之处理与填补:mipolate (Interpolate/extrapolate values)     
图形:tabplot/catplot, coefplot.
时间变量转换:
      a. numdate -- Generate numeric date-time variable

      b. convdate-- Convert numeric date-time variable, generating variable of another date-timetype

      c.  extrdate-- Generate date or time component from date-time variable   

各种结果之汇整 (word/excel,各有优缺点):

       a. outreg2 -- Arrange regression, summary, andtabulation into an illustrative table (我较熟悉常用)

       b. estout/esttab-- Making regression tables from stored estimates (唯一适合在讲义中编制表格)

       c. asdoc-- An easy way of creating publication quality tables from Stata commands (特别是high-dimensional correlation matrix,我对作者建议的,呵呵)

       d. sum2docxcorr2docx -- Report summary statistics and Pearson&Spearman coefficient ofcorrelation  to formatted table in DOCXfile (很方便使用)


我的讲义编排: texdoc -- Create a LaTeX document including Stata output
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

客服中心
关闭
在线时间:
周一~周五
8:30-17:30
QQ群:
653541906
联系电话:
010-85786021-8017
在线咨询
客服中心

意见反馈|网站地图|手机版|小黑屋|EPS数据狗论坛 ( 京ICP备09019565号-3 )   

Powered by BFIT! X3.4

© 2008-2028 BFIT Inc.

快速回复 返回顶部 返回列表