楼主: darkforever
1431 1

[统计软件与数据分析] 请问图是如何用stata命令来实现的? [推广有奖]

  • 0关注
  • 2粉丝

讲师

85%

还不是VIP/贵宾

-

威望
0
论坛币
38129 个
通用积分
7.8959
学术水平
1 点
热心指数
1 点
信用等级
0 点
经验
2640 点
帖子
190
精华
0
在线时间
953 小时
注册时间
2009-5-16
最后登录
2025-4-30

楼主
darkforever 发表于 2018-3-4 12:22:37 |AI写论文
2000论坛币
请问附件中的图是如何用STATA命令来实现的?

附了一个样本文件,想做一个类似形式的图。考虑2005年是t=0。横轴是相对于2005年的时间(fyear),纵轴是W2TobinQ2, id是公司代码。

论文中表的说明如下。


This figure reports the point estimates from a firm-panel regression of log assets on an indicator for liability
exposure, firm-by-cohort fixed effects, and year-by-cohort fixed effects. The specification is the same as that
reported in Table 3 except that the effect of liability exposure is allowed to vary by year for each year from
five years before the risk increases through ten years after. Ninety-five-percent confidence intervals, adjusted for
clustering at the industry level, are also plotted.


sample2.dta包含了一个dummy variable

公式是
W2TobinQ2 = a + b*Exposure + e

range.PNG (151.7 KB)

range.PNG

sample.dta
下载链接: https://bbs.pinggu.org/a-2425677.html

1.84 MB

sample2.dta

2.29 MB

关键词:stata命令 Stata tata 如何用 TobinQ

沙发
Stakiny 发表于 2018-3-21 22:35:21
看这个图的风格,应该是用Excel画出来的。

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-24 10:32