*------------------------------------------------------------------------------ * Master do-file * Voluntary Quits: Do Works Councils Matter? An Analysis of the Reform of the * German Works Constitution Act * * Julian B. Adam * Friedrich-Alexander-University Erlangen-Nuremberg * 2018 * * Do-files (1)-(5) based on IAB templates *------------------------------------------------------------------------------ version 14 clear set more off set linesize 120 /* global main = "W:\" ***CENSORED*** global data = "W:\" ***CENSORED*** global log = "W:\" global prog = "W:\BetriebsratStata\Daten\StataIABcompil_erw_panel\prog" *------------------------------------------------------------------------------- ***CENSORED***cd "$main" *------------------------------------------------------------------------------- */ * Die 5 do-Files (1_* bis 5_*) müssen ins "prog" Verzeichnis kopiert werden. *------------------------------------------------------------------------------- * 2) cross-sectional analysis: quer=1, time series analysis: quer=0 global quer = 0 *------------------------------------------------------------------------------- do "$prog\1_syntax_panel_1993_1998.do" do "$prog\2_syntax_panel_1999_2014.do" /* // Loeschen von Jahresscheiben; die nicht benoetigt werden. Bitte ggf. Jahre eintragen, sonst Schleife loeschen! forv y = 1993 / 1997 { erase "$data\iabbp_`y'_panel_test.dta" } forv y = 2005 / 2014 { erase "$data\iabbp_`y'_panel_test.dta" } */ do "$prog\3_Zusammenspielen.do" do "$prog\4_Variablen_und_Wertelabels.do" do "$prog\5_Werteuebertragung.do" */ * The previous DO-files are those provided by FDZ for creating a panel from * the separate waves */ do "$prog\1F-Variables.do" // defines variables and formats the data do "$prog\2F-Regressions.do" // runs the main regressions do "$prog\3F-Robustness.do" // performs a variety of robustness checks cap log close