楼主: 久研鸡精
88393 36

[程序分享] stata最新命令reghdfe的下载安装方法 [推广有奖]

  • 1关注
  • 1粉丝

已卖:1383份资源

本科生

38%

还不是VIP/贵宾

-

威望
0
论坛币
3456 个
通用积分
18.2927
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
473 点
帖子
46
精华
0
在线时间
128 小时
注册时间
2017-2-23
最后登录
2022-6-29

楼主
久研鸡精 学生认证  发表于 2017-11-15 20:12:52 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
当模型中的固定效应数目较多时,stata的运算速度非常缓慢,有时候一两个小时也难以跑出结果。reghdfe命令恰好能解决这一问题。但也发现有些版本的stata并不能直接安装,因此,楼主在附件中提供了reghdfe命令两个version 的下载安装方法。 reghdfe下载方法.txt (880 Bytes, 需要: 2 个论坛币)
二维码

扫码加我 拉你入群

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

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

关键词:Stata 下载安装 tata REG GHD reghdfe命令 stata 固定效应数目较多

回帖推荐

yangtuobushiyan 发表于10楼  查看完整内容

亲测有效,结合http://scorreia.com/software/reghdfe/install.html更好

沙发
coolsun(未真实交易用户) 发表于 2017-11-16 12:47:41
ssc install reghdfe

藤椅
久研鸡精(未真实交易用户) 学生认证  发表于 2017-11-16 22:06:51
coolsun 发表于 2017-11-16 12:47
ssc install reghdfe
这是一般的安装方式,也有装不了的情况

板凳
coolsun(未真实交易用户) 发表于 2017-11-17 08:29:46
是这个作者主页推荐的安装方法吗?

http://scorreia.com/software/reghdfe/install.html

Stable version
To install reghdfe, open Stata and run:

ssc install reghdfe
Note that reghdfe requires at least Stata 11.2 and has been tested up to Stata 14.1

Development version
Development versions include recent improvements and bug fixes, but are intrinsically less stable. To install the latest development version, run:

cap ado uninstall moresyntax
net install moresyntax, from("https://github.com/sergiocorreia/moresyntax/raw/master/src/")

cap ado uninstall ftools
net install ftools, from("https://github.com/sergiocorreia/ftools/raw/master/src/")

cap ado uninstall reghdfe
net install reghdfe, from("https://github.com/sergiocorreia/reghdfe/raw/master/src/")

if (c(version)<13) cap ado uninstall boottest
if (c(version)<13) ssc install boottest
Manual Installation
To install reghdfe manually (for instance, in a server without internet connection):

Download the Github zipfile
Extract it into a folder on your computer (e.g. C:\somefolder)
Run the following, changing somefolder with whatever you picked:
cap ado uninstall reghdfe
net install reghdfe, from("C:\SOMEFOLDER")
What is the currently installed version?
The command reghdfe, version displays the installed version of reghdfe. It also shows the list of dependencies and whether they are installed or not. You can install them with ssc install <name> where <name> is either ivreg2, avar or tuples.

报纸
欧村残翁买翁(真实交易用户) 发表于 2019-3-12 20:34:47
http://scorreia.com/software/reghdfe/install.html
该网页有效!

地板
学小喳(真实交易用户) 发表于 2019-5-26 16:53:06
还是不行呀,
cap ado uninstall moresyntax

.
. cap ado uninstall ftools

.
. net install ftools, from("https://github.com/sergiocorreia/ftools/raw/master/src/")
remote connection failed -- see help r(677) for troubleshooting
https://github.com/sergiocorreia/ftools/raw/master/src/ either
  1)  is not a valid URL, or
  2)  could not be contacted, or
  3)  is not a Stata download site (has no stata.toc file).
r(677);
这是怎么回事

7
学小喳(真实交易用户) 发表于 2019-5-26 19:38:29
Install:

1.To find out which version you have installed, type:reghdfe, version

2.reghdfe  4.x is not yet in SSC. To quickly install it and all its dependencies, copy/paste these lines and run them:

cap ado uninstall moresyntax
cap ado uninstall ftools
net install ftools, from("https://github.com/sergiocorreia/ftools/raw/master/src/")

cap ado uninstall reghdfe
net install reghdfe, from("https://github.com/sergiocorreia/reghdfe/raw/master/src/")

if (c(version)<13) cap ado uninstall boottest
if (c(version)<13) ssc install boottest

cap ssc install moremata

3.To run IV/GMM regressions, run these lines:

cap ado uninstall ivreg2hdfe
cap ssc install ivreg2
net install ivreg2hdfe, from("https://github.com/sergiocorreia/ivreg2_demo/raw/master/")

4.To install the stable version from SSC (3.x):

cap ado uninstall reghdfe
ssc install reghdfe
下载的方法没有解决,后面又试了一下ssc install reghdfe居然成功了

8
eldie(未真实交易用户) 学生认证  发表于 2019-6-5 13:41:32
19.        固定的个体很多的时候,要用reghdfe
cap ado uninstall moresyntax
cap ado uninstall ftools
net install ftools,from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/")
cap ado unistall reghdfe
net install reghdfe,from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")
安装好了之后就可以回归了
reghdfe y x1 ,absorb(FE1=stock FE2=year)

9
久研鸡精(未真实交易用户) 学生认证  发表于 2019-7-20 17:45:06
eldie 发表于 2019-6-5 13:41
19.        固定的个体很多的时候,要用reghdfe
cap ado uninstall moresyntax
cap ado uninstall ftools
[victory][victory]

10
yangtuobushiyan(真实交易用户) 发表于 2019-7-23 23:11:04
亲测有效,结合http://scorreia.com/software/reghdfe/install.html更好
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
日新少年 + 2 + 2 + 2 精彩帖子

总评分: 学术水平 + 2  热心指数 + 2  信用等级 + 2   查看全部评分

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-31 00:18