use "C:\Users\Apinop\OneDrive - University of Virginia\Final Dissertation Draft\Masterdata_Merged_Dec23.dta" ** Regression ** cross country panel regressions with country fixed effects and year fixed effects, and robust standard errors clustered at the country level to allow for serial correlation over time * controls in each variable are ** robustness check: use polity2 as dependent variable tsset cowcode year ********************* *********ANALYSIS ********************** *testing for the effect of the prohibition of the military recode milgen 99=. recode milgen 77=. recode milgen 0=3 recode milgen 1=0 recode milgen 2=0 recode milgen 3=1 reg ccs_dynamic milgen i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of military presence in the constitution recode milgen 99=. recode milgen 77=. recode milgen 0=0 recode milgen 1=0 recode milgen 2=1 reg ccs_dynamic milgen i.cowcode i.year, robust cluster(cowcode) **coefficient is -.1529001 with SD of .2076616 T of -0.74 and P>|t|=0.463 it's not statistically significant** *testing for the effect of military presence in the constitution with controls reg ccs_dynamic milgen civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant: coefficient is -.4477503 with SD of .2575417 T of -1.74 and P>|t|=0.084 but the coeffiicient is mmore significant* *testing for the effect of military heading or chapter in the constitution with no controls* recode milheading 99=. recode milheading 88=0 reg ccs_dynamic milheading i.cowcode i.year, robust cluster(cowcode) * statistically significant at 95% *ccs_dynamic | Coefficient std. err. t P>|t| [95% conf. interval] *milheading | -.2650312 .1225381 -2.16 0.032 -.5071681 -.0228942 * *testing for the effect of military heading or chapter in the constitution with controls* reg ccs_dynamic milheading civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant *ccs_dynamic | Coefficient std. err. t P>|t| [95% conf. interval] *milheading | -.0956992 .091571 -1.05 *0.298* -.2767984 .0854* *testing for neutralgen with no controls* reg ccs_dynamic neutralgen i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for neutralgen with controls* reg ccs_dynamic neutralgen civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for neutralact* recode neutralact 99=. recode neutralact 88=0 reg ccs_dynamic neutralact i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for neutralact with controls* reg ccs_dynamic neutralact civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for voteban with no controls* recode voteban 99=. reg ccs_dynamic voteban i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99% (0.000), coeficient is .039807(.0081956 ) *testing for democracy with no controls* recode voteban 99=. reg ccs_dynamic polity2 i.cowcode i.year, robust cluster(cowcode) *statistically significant at 95% (0.041), coeficient is -.3856035(.1872006) *testing for voteban with controls* reg ccs_dynamic voteban civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *statistically significant still at 99% *ccs_dynamic | Coefficient std. err. t P>|t| [95% conf. interval] *voteban | -.4071845 .135755 -3.00 0.003 -.6756661 -.138703 *testing for voteban with controls but no democracy* reg ccs_dynamic voteban civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *statistically significant still at 99%(0.001) **creating a regression table outreg2 using myreg.doc, replace ctitle(Model 1) *testing for politicalban no controls* recode politicalban 99=. recode politicalban 77=. reg ccs_dynamic politicalban i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for politicalban with controls* reg ccs_dynamic politicalban civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *testing for politicalban with controls and democracy* reg ccs_dynamic politicalban civilwar interstate e_miinterc e_miinteco polity2 rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) ***all are not statistically significant*** *testing for the effect of compulsory conscription in the constitution with no controls* recode conscrgen 99=. recode conscrgen 2=0 reg ccs_dynamic conscrgen i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99%* *testing for the effect of compulsory conscription in the constitution with democracy as a control* reg ccs_dynamic conscrgen polity2 i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99%* *testing for the effect of compulsory conscription in the constitution with controls* reg ccs_dynamic conscrgen civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *statistically significant but at 98%(0.010)* *testing for the effect of compulsory conscription in the constitution with controls and democracy* reg ccs_dynamic conscrgen polity2 civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of commander-in-chief in the constitution with no controls* recode comchief 2=1 recode comchief 3=1 recode comchief 77=. recode comchief 99=. reg ccs_dynamic comchief i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of commander-in-chief in the constitution with democracy as a control* reg ccs_dynamic comchief polity2 i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of commander-in-chief in the constitution with controls* reg ccs_dynamic comchief civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of commander-in-chief in the constitution with controls and democracy* reg ccs_dynamic comchief polity2 civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of wardeclare in the constitution with no controls* recode wardeclare 99=. recode wardeclare 77=. recode wardeclare 0=1 recode wardeclare 88=0 recode wardeclare 2=1 reg ccs_dynamic wardeclare i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of wardeclare in the constitution with democracy as a control* reg ccs_dynamic wardeclare polity2 i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of wardeclare in the constitution with controls* reg ccs_dynamic wardeclare civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of designatedsup in the constitution with no controls* recode designatedsup 99=. reg ccs_dynamic designatedsup i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99% coefficient is -.2702699(.1024732) *testing for the effect of designatedsup in the constitution with democracy as a control* reg ccs_dynamic designatedsup polity2 i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99%* *testing for the effect of designatedsup in the constitution with controls* reg ccs_dynamic designatedsup civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of designatedsup in the constitution with controls and democracy* reg ccs_dynamic designatedsup polity2 civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant* *testing for the effect of millegis in the constitution with no controls* recode millegis 99=. reg ccs_dynamic millegis i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99%* *testing for the effect of millegis in the constitution with democracy* reg ccs_dynamic millegis polity2 i.cowcode i.year, robust cluster(cowcode) *statistically significant at 99%* *testing for the effect of millegis in the constitution with controls* reg ccs_dynamic millegis civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant but stil P>|t| is at 0.055* *testing for the effect of millegis in the constitution with controls and democracy* reg ccs_dynamic millegis polity2 civilwar interstate e_miinterc e_miinteco rgdpe gdpcap_penn pop i.cowcode i.year, robust cluster(cowcode) *not statistically significant but stil P>|t| is at 0.090 * *testing for the effect of Emergency power in the constitution with no controls recode emer 99=. reg ccs_dynamic emer i.cowcode i.year, robust cluster(cowcode) *not statistically significant *testing for the effect of Emerdc&ap in the constitution with no controls* recode Emerdcap 99=. recode Emerdcap 88=0 recode Emerdcap 2=1 reg ccs_dynamic Emerdcap i.cowcode i.year, robust cluster(cowcode) *not statistically significant