-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
118 lines (74 loc) · 5.19 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# The long-run Impact of Bombing Vietnam
## Overview
<div align="justify">
This repository aims to facilitate the reproducibility of the paper "The Long-run Impact of Bombing Vietnam" by E. Miguel and G. Roland[^1], alongside its Supplement and *Corrigendum*.
Continuing, we present a "map" to help the user navigate through this project, a detailed description on how to run the analysis, a brief description of the data sources and documentation, finalizing with relevant contact information.
</div>
## Project structure :world_map:
<div align="justify">
The folder is structured to facilitate the reproduction and transparency in the generation of the econometric analysis. To navigate efficiently through the project, please refer to the following detailed "map" of the project.
</div>
<details>
<summary> Click here to see the folder structure </summary>
```
├── README.md <- The top-level README for users.
├── data
│ ├── clean <- Data used as input for the analysis.
│ ├── district_bombing_corrected.dta
│ └── province_bombing_corrected.dta
│
├── docs <- Documentation associated with the paper.
│ └── impact-bombing-vietnam-supplement.pdf
│ └── impact-bombing-vietnam-corrigendum.pdf
│ └── impact-bombing-vietnam-paper.pdf
│
├── outputs <- Outputs produced by the source code
│ └── figures <- Generated graphics and figures to be used in reporting
│ └── tables <- Generated tables to be used in reporting
│
└── src <- Source code for to reproduce analysis
├── general <- Scripts contaning the constants used in the project.
│ ├── constants.do
│ ├── lab_dis.do
│ └── lab_pro.do
│
└── pipelines <- Scripts contaning the main code to reproduce the analysis.
├── main.do
├── analysis_alterna.do
├── analysis_corrected.do
└── append_corrigen.do
```
</details>
## How to replicate the analysis?[^3]
<div align="justify">
Open the `main.do` file, located under `src/pipelines/` and execute. The `main.do` file calls on the other do files to reproduce each part of the analysis. In the beginning portion of the `main.do` file, you will see the following lines of code:
```{stata}
// Change this path
global dir = "/Users/cegaadmin/Dropbox (CEGA)/github/impact-bombing-vietnam"
```
:exclamation: This global variable defines where the directory sits on your computer. To run the replication file, you'll need to change this to reflect where you're storing the directory on your hard drive.
:sparkles: The `main.do` file will 1) load the constants and labels used for our analysis, 2) load the corresponding data sources, 3) run the analysis, splitted in three other do files:
+ `analysis_corrected.do`: reproduces the main analysis presented in the original paper, considering as input the corrected locations of the provinces and districts in Vietnam, as well as the fixed indicator for provinces or districts belonging to former South Vietnam,
+ `analysis_alterna.do`: generates the alternative econometric analysis mentioned in the original paper, but not shown in the tables included as part of the published paper,
+ `append_corrigen.do`: produces the additional analysis included as part of the Appendix of the *Corrigedum*.
The expected outputs will be produced within the directory `outputs/`, either under `outputs/figures/` or `outputs/tables/`. Finally, to facilitate tracking the execution of the do file, a logs file will be saved under `logs/`, which you can use to check the tables and figure.
</div>
## Data Sources
<div align="justify">
The two main data sources are located under `data/` and include:
+ `district_bombing_corrected.dta`: relevant variables at district-level.
+ `province_bombing_corrected.dta`: relevant variables at province-level.
</div>
## Documentation :newspaper:
<div align="justify">
We include the following documents under `docs/` to serve as reference:
+ `impact-bombing-vietnam-paper.pdf`: Original paper published in the Journal of Development Economics.
+ `impact-bombing-vietnam-supplement.pdf`: The supplement material that outlines minor discrepancies found in data replication which do not, as a whole, affect the reported data analysis published in the paper.
+ `impact-bombing-vietnam-corrigendum.pdf`: The *Corrigendum* that corrects the re-projecting of district and
province locations, as well as the indicator for provinces or districts belonging to former South Vietnam, and reports the resulting updated outputs in the econometric analysis.
</div>
## Contact
Please direct any questions to Edward Miguel at emiguel@berkeley.edu.
[^1]: Edward Miguel and Gérard Roland. “The long-run impact of bombing Vietnam”. In: Journal of Development Economics 96.1 (2011), pp. 1–15. url: https://doi.org/10.1016/j.jdeveco.2010.07.004
[^2]: Supplement of "The Long-run Impact of Bombing Vietnam" and the *Corrigendum* to "The Long-run Impact of Bombing Vietnam".
[^3]: Several STATA routines may need to be installed for the programs to run properly.