![]() *Remove extra internal blanks and within blanks for judgenames *Check Maximum, Minimum, Mean for Sanity CheckĬapture ssc install extremes //installing extremes program *Removing leading and trailing blanks in judgename string Replace bench = "sawhc" if bench = "Sawhc" Replace bench = "dikhc" if bench = "dIKhc" Replace bench = "sukhc" if bench = "Sukhc" Replace bench = "banhc" if bench = "banbhc" Replace bench = "karhc" if inlist(bench, "sinhc", "khrhc") Replace bench= "islhc" if inlist(bench,"isbhc","isdhc") /*Equivalient code: replace bench = "islhc" if bench = "isdhc" | bench = "isbhc"*/ *Replacing redundant city strings, harmonzing to common district high court Generate caselag = yeardecision - yearfiled Import excel ".\Input\Combined_1986-2016_test1.xlsx", sheet("Data") firstrow clear *import excel ".\Input\Combined_1986-2016.xlsx", sheet("Data") firstrow clear "the full Stata output is difficult to present as it is time and district fixed effects and few controls but nevertheless, I present them here.Ĭd "F:\Judicial Independence in the Long Run\" Ivregress 2sls StateWins (NewJudges_TotalJudges= ProbRetirement) i.yeardecision i.district_bench#c.yeardecision $controls_case, vce(cluster district_bench) Global controls_case AgeatAppointment Former_Lawyer yearfiled judge_number AFR criminal pagesjudgenum Use ".\Input\CaseYearDataWithJudgeWithShrines.dta", replace Save ".\Input\CaseYearDataWithJudgeWithShrines.dta", replace ![]() Label variable AppointingBody "Appointing President or Judicial Comission Identifier Rename AppointingPresidentorComission AppointingBody Label variable Retirement_Age "Judge who retired at mandatory retirement age" Label variable AfterReformJudge "Judge appointed after the reform" Rename After_Reform19April2010 AfterReformJudge *Harmonzie variable names across datasets Merge m:1 judgename using ".\Input\Judge_Characteristics.dta" //characteristics have even more judges than our case data judges "banhc" 1990 1 0 0 0 -9771 801 56.933 "0" 0 12Īnd I am running the regression of the following form which gives different results everytime: Input str5 bench int yeardecision byte StateWins float caselag double(NewJudges_TotalJudges ProbRetirement) float DoB int serial_no float AgeatAppointment byte Former_Lawyer int yearfiled byte judge_number str1 AFR byte(criminal pagesjudgenum)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |