-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.do
More file actions
32 lines (25 loc) · 1.39 KB
/
run.do
File metadata and controls
32 lines (25 loc) · 1.39 KB
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
// REPLICATION MASTER SCRIPT
// PAPER: Bounding the Effect of Persuasion with Monotonicity Assumptions:
// Reassessing the Impact of TV Debates
// AUTHORS: Sung Jae Jun and Sokbae Lee
// JOURNAL: Review of Economics and Statistics
// DESCRIPTION: Runs all do-files to replicate the empirical results in the paper.
// ------------------------------------------------------------------------------
// USER SETTING: Set the path to the replication folder
// ------------------------------------------------------------------------------
global workdir "/path/to/replication/folder" // <-- CHANGE THIS
cd "$workdir"
// ------------------------------------------------------------------------------
// DEPENDENCIES: Install required packages if not already installed
// ------------------------------------------------------------------------------
* ssc install estout, replace
// ------------------------------------------------------------------------------
// RUN REPLICATION SCRIPTS
// ------------------------------------------------------------------------------
// Table: Estimation results (Panel A: ATE, APR, R-APR; Panel B: AP and NP bounds)
// Output: tv_debate_combined_final.tex
do "table_results.do"
// Balance check: Covariate balance test (joint F-test)
// Output: balance_test.tex
do "balance_check.do"
di "Replication complete. Output files written to: $workdir"