*****************************************************************************************************
* INTRODUCTION
* This .do file contains the commands to replicate my article's empirical analysis
* using STATA. Also please note that these data were updated to include a handful of observations
* (approx. 10) since the article was submitted to Harvard Negotiation Law Review. These data
* allow you to replicate the results reported, although not the exact statistics.
*
* The data include some variables broadly discussed in the paper but not analyzed in final models.
* I include this additional information to allow others to examine alternate specifications of
* the statistical models.
*
*****************************************************************************************************
* SET-UP AND LOAD DATA
* Please note that you may need to download the data and load it from your computer hard drive.
use "http://www.poliscidata.com/replication/replicationMediatorsData.dta"
regress setrate caseFactors attorney femaleMed ncases hourlyRate if ncases >= 9
*****************************************************************************************************
* GENERATING THE CASE FACTOR SCORES
* The data file on individual mediators contains the composite case factors variables used in the
* analysis reported in Table 11. These case factors are generated from the case-level observations
* using the following commands:
use "http://www.poliscidata.com/replication/caseObservationsReplication.dta", clear
logit result complaint modification contempt damages galappointed pleadLessNotices monthswait ///
grubbs smoothAttRate smoothAttSessions notices
predict predictFromCaseFactors, p
collapse (mean) predictFromCaseFactors, by (mediator)
* This generates a case factors statistic for each mediator's caseload. I save this file to my
* local hard drive and merge it with the data on individual mediators to analyze mediator effectiveness.