美文网首页
多期DID和事件研究法含文献和do代码

多期DID和事件研究法含文献和do代码

作者: 日光下的猕猴桃 | 来源:发表于2022-12-21 22:24 被阅读0次

多期DID和事件研究法含文献和do代码

1、方法:多期DID

2来源:JDE发表的一篇多期DID和事件研究法相关的文章,

文章名为为"Here waits the bride? The effect of Ethiopia's child marriage law"。

3、数据内容:数据包中提供了文章PDF原文,以及文中图表的stata代码 McGavock T. Here waits the bride? The effect of Ethiopia's child marriage law[J]. Journal of Development Economics, 2021, 149: 102580.

4、部分代码:

clear

graph set window fontface "Times New Roman"

set more off

set matsize 800

** file paths go here

global data ""

global out_fig ""

    use "$data\full_clean_wpremeans_analysis", clear

gen region_group = 1 if region_order < 3

replace region_group = 2 if region_order >= 3 & region_order <7

replace region_group = 3 if region_order >= 7

gen yr_group = 1 if yr_marr_greg < 2000 & yr_marr_greg >= 1990

replace yr_group = 2 if yr_marr_greg < 2010 & yr_marr_greg >= 2000

5、文件链接:

多期DID和事件研究法含文献和do代码

相关文章

网友评论

      本文标题:多期DID和事件研究法含文献和do代码

      本文链接:https://www.haomeiwen.com/subject/xgtvqdtx.html