From: mg5nyu@gmail.com on behalf of Michael Gilligan [mg5@nyu.edu]
Sent: Wednesday, May 21, 2008 8:01 AM
To: Nolan M. McCarty; Krehbiel, Keith; Helen V. Milner; admin@qjps.com; Ernest J Sergenti
Subject: replication files for "Does Peacekeeping Cause ..."

Attachments: peace_match.R; peace_post_match.dta; peace_pre_match.dta; results.do; results.log; war_create_snapshots.do; war_match.R; war_post_match.dta; war_pre_match.dta; war_pre_snapshots.dta
Attached are the files necessary for replication of the results in our paper, "Does Peacekeeping Cause Peace ...". All files need to be placed in a directory called c:\peace\  to work. Obviously you can change that path if you like.

1. The R file peace_match will perform the matching for the post conflict sample. The balance statistics in Table 1 in the paper are produced by this file. The file will also create a STATA data set of matched pairs called peace_post_match.dta. The list of matched treated and control cases used for Table 2 is taken from this latter data set and this data set is used for the duration analysis.  Last, this file creates the QQ-Plots for Figure 2.

2. The R file war_match will complete the same functions for the in-war sample, namely the balance stats in Table 4, the matched pairs in Table 5, and the data for the duration analysis on the in-war sample, and the QQ-Plots for Figure 3.

3. The STATA .do file results.do will produce the estimates for the paper. First it produces the graph for Figure 1. Then, for the post-conflict sample,  it produces descriptive stats, the estimated effect of UN peacekeeping in the unmatched sample and then for the matched sample. It does the same three things for the in-war sample.

4. The .txt file results.txt is just a log file after running results.do for you to compare.

Finally there is a file that is not necessary to replicate the results but you can check it if you like. It is a stata .do file called  war_create_snapshots.do As we describe in the paper we had to create monthly "snapshots" of each ongoing war so that we could match on the duration of the war. This file does that and creates the stata data file that is used. It is this snapshot data file that is used by the file war_match.R. That data file is included already so you do not need to run war_create_snapshots.do to complete steps 1 through 3 above and replicate our results.

Please let us know if you have any more questions.

Best,
Ernest and Mike