/* Used the cleaned Internal ACD data set for systemic graphing. Requires the following following files in the same directory: "Main Conflict Table.xls" "ACD_4-2009_Internal_Cleanup.do" */ version 14.1 clear all set more off run "ACD_4-2009_Internal_Cleanup.do" /* This Do-file opens "Main Conflict Table.xls" and cleans it up.*/ * Make variables for presentation: gen IAC=1 if Type ==3 gen IIAC=1 if Type ==4 * Collapse the data as needed: collapse (count) *IAC, by(YEAR) * Label vars in the new data set: label var IAC "Internal Armed Conflict" label var IIAC "Internationalized Internal Armed Conflict" label var YEAR "Year" * Generate a system graph: #delimit ; scatter *IAC YEAR, msymbol(i i) connect(l l) legend(rows(2)) ytitle("Frequency") xlabel(1946(6)2008) ;