14941 4

[问答] ivregress 2sls 进行回归时,如何导出第一第二阶段的结果? [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

学前班

0%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
10 点
帖子
0
精华
0
在线时间
0 小时
注册时间
2021-2-3
最后登录
2021-2-3

楼主
税务专业22824 发表于 2021-2-3 04:42:43 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
ivregress 2sls 进行回归时,如何导出第一第二阶段的结果?
二维码

扫码加我 拉你入群

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

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

关键词:IVREGRESS regress IVREG 第二阶段 2SLS

本帖被以下文库推荐

沙发
购房契税22291 发表于 2021-2-3 04:43:55



【方法】

ivregress2

ivregress2 provides a fast and easy way to export both the first-stage and the second-stage results similar to ivregress, on which it is based.

【例子】

    * ivregress to be duplicated

    sysuse auto, clear

    ivregress 2sls mpg weight (length=displacement), first

    * export them (with table-making programs of your choice)

    ivregress2 2sls mpg weight (length=displacement), first

    est restore first

    outreg2 using myfile, cttop(first) replace

    est restore second

    outreg2 using myfile, cttop(second) excel

    * use version control to make it future-proof against Stata 13 and beyond

    version 12: ivregress2 2sls mpg weight (length=displacement), first


已有 1 人评分热心指数 收起 理由
日新少年 + 1 精彩帖子

总评分: 热心指数 + 1   查看全部评分

藤椅
日新少年 学生认证  发表于 2021-8-14 17:16:07
购房契税22291 发表于 2021-2-3 04:43
【方法】ivregress2ivregress2 provides a fast and easy way to export both the first-stage and the sec ...
谢谢分享

板凳
MerryChris 发表于 2022-7-18 18:44:02
购房契税22291 发表于 2021-2-3 04:43
【方法】ivregress2ivregress2 provides a fast and easy way to export both the first-stage and the sec ...
显示. est restore first
estimation result first not found
怎么回事呢

报纸
excuseme_ 发表于 2023-2-16 10:16:36
MerryChris 发表于 2022-7-18 18:44
显示. est restore first
estimation result first not found
怎么回事呢
你换成 est store first 试试

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

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