********************************************************************************************************************** ***** SOEP-Youth: School performance * ********************************************************************************************************************** version 13.1 set matsize 5000 capture log close log using school_activities_4_oprobit, replace ***** SOEP-Youth: Jobs, Sport, Music and School performance * ***** (20.11.2018; with robust SE; oprobit as robustness check) * use soep_panel_2000_2014_final.dta , clear set more off ********************************************************************************************************************** * New variables * * Job * gen job=sj_all tab sj_all tab job * Sport competition * gen sport_comp=0 if sport==0 replace sport_comp=1 if sport==1 & sport_com==0 replace sport_comp=2 if sport==1 & sport_com==1 label define _sport_comp 0 "not" 1 "sport without competition" 2 "sport with competition" label values sport_comp _sport_comp tab sport sport_com tab sport_comp * Time/Years in secondary job (job_time) * gen job_time=age-sj_age if sj_age>0 & sj_age~=. gen job_time_cat6=0 if sj_age==0 replace job_time_cat6=1 if job_time==0 replace job_time_cat6=2 if job_time==1 replace job_time_cat6=3 if job_time==2 replace job_time_cat6=4 if job_time==3 replace job_time_cat6=5 if job_time==4 replace job_time_cat6=6 if job_time>=5 & job_time~=. gen job_time_cat3=0 if sj_age==0 replace job_time_cat3=1 if job_time==0 | job_time==1 replace job_time_cat3=2 if job_time==2 | job_time==3 replace job_time_cat3=3 if job_time>=4 & job_time~=. * Time/Years in sport (sport_time) * gen sport_time=age-sport_age if sport_age>0 & sport_age~=. gen sport_time_cat6=0 if sport_age==0 replace sport_time_cat6=1 if sport_time==0 replace sport_time_cat6=2 if sport_time==1 replace sport_time_cat6=3 if sport_time==2 replace sport_time_cat6=4 if sport_time==3 replace sport_time_cat6=5 if sport_time==4 replace sport_time_cat6=6 if sport_time>=5 & sport_time~=. gen sport_time_cat3=0 if sport_age==0 replace sport_time_cat3=1 if sport_time==0 | sport_time==1 replace sport_time_cat3=2 if sport_time==2 | sport_time==3 replace sport_time_cat3=3 if sport_time>=4 & sport_time~=. * Time/Years in music (music_time) * gen music_time=age-music_age if music_age>0 & music_age~=. gen music_time_cat6=0 if music_age==0 replace music_time_cat6=1 if music_time==0 replace music_time_cat6=2 if music_time==1 replace music_time_cat6=3 if music_time==2 replace music_time_cat6=4 if music_time==3 replace music_time_cat6=5 if music_time==4 replace music_time_cat6=6 if music_time>=5 & music_time~=. gen music_time_cat3=0 if music_age==0 replace music_time_cat3=1 if music_time==0 | music_time==1 replace music_time_cat3=2 if music_time==2 | music_time==3 replace music_time_cat3=3 if music_time>=4 & music_time~=. * Labels * label define _time_cat6 0 "not" 1 "just started" 2 "1 year" 3 "2 years" 4 "3 years" 5 "4 years" 6 ">=5 years" label values job_time_cat6 sport_time_cat6 music_time_cat6 _time_cat6 label define _time_cat3 0 "not" 1 "<=1 year" 2 "2-3 years" 3 ">=4 years" label values job_time_cat3 sport_time_cat3 music_time_cat3 _time_cat3 tab job_time_cat3 tab sport_time_cat3 tab music_time_cat3 * Job reason types * tab sj_reason gen job_type=0 if sj_reason==0 replace job_type=1 if sj_reason==1 replace job_type=2 if sj_reason==2 replace job_type=3 if sj_reason==3 | sj_reason==4 label define _job_type 0 "not" 1 "interest" 2 "money" 3 "other/ no info" label values job_type _job_type tab sj_reason tab job_type * Sport participation (club etc.) types * tab sport_with gen sport_type=0 if sport_with==0 replace sport_type=1 if sport_with==3 replace sport_type=2 if sport_with==1 | sport_with==2 |sport_with==4 replace sport_type=3 if sport_with==5 replace sport_type=4 if sport_with==6 replace sport_type=5 if sport_with==7 label define _sport_type 0 "not" 1 "school" 2 "organized (sport club, commercial sport facility)" 3 "not organized, with others" 4 "not organized, alone" 5 "no info" label values sport_type _sport_type tab sport_with tab sport_type * Music participation (group etc.) types * tab mus_ag gen music_type=0 if mus_ag==0 replace music_type=1 if mus_ag==1 replace music_type=2 if mus_ag==2 | mus_ag==3 | mus_ag==4 replace music_type=3 if mus_ag==5 label define _music_type 0 "not" 1 "alone/ with teacher" 2 "group (orchestra, choir, band, other)" 3 "no info" label values music_type _music_type tab mus_ag tab music_type * Foreigners in class * tab foreign_stud gen foreign_class=1 if foreign_stud==6 replace foreign_class=2 if foreign_stud==5 replace foreign_class=3 if foreign_stud==4 replace foreign_class=4 if foreign_stud==3 replace foreign_class=5 if foreign_stud==2 | foreign_stud==1 label define _foreign_class 1 "no foreigners in class" 2 "less than quarter" 3 "about a quarter" 4 "about half" 5 "most or all" label values foreign_class _foreign_class tab foreign_stud tab foreign_class ********************************************************************************************************************** sum math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all, sep(0) sum job bn.job_time_cat3 bn.job_type sport bn.sport_time_cat3 bn.sport_type bn.sport_comp music bn.music_time_cat3 bn.music_type , sep(0) sum bn.school age woman bn.foreign_class bn.mig_1 mig_2 pocketmoney pocketmoney_m hh_income bn.school_father bn.school_mother siblings pos_sib bn.region west bn.state bn.syear bn.sup_performance bn.sup_study par_evening par_office par_teacher par_rep par_contact, sep(0) ********************************************************************************************************************** * Sample: only students still in secondary school * * without year 2000 (missing, change in variables, etc.) * * equal sample for estimations (without missings in any used variable) * drop if syear==2000 set more off quietly: reg math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all i.school job i.sport_comp music i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust keep if e(sample) quietly: reg math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all i.school i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust keep if e(sample) quietly: reg math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all i.school i.job_type i.sport_type i.music_type i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust keep if e(sample) ********************************************************************************************************************** ********************************************************************************************************************** ***** oprobit Regressions * * Math grades * oprobit math_gr job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathG_1a oprobit math_gr job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathG_1b oprobit math_gr i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathG_2 oprobit math_gr i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathG_3 * German grades * oprobit german_gr job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanG_1a oprobit german_gr job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanG_1b oprobit german_gr i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanG_2 oprobit german_gr i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanG_3 * Foreign language grades * oprobit foreign_gr job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignG_1a oprobit foreign_gr job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignG_1b oprobit foreign_gr i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignG_2 oprobit foreign_gr i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignG_3 ********************************************************************************************************************** * Math satisfaction * oprobit sat_math job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathS_1a oprobit sat_math job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathS_1b oprobit sat_math i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathS_2 oprobit sat_math i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store MathS_3 * German satisfaction * oprobit sat_german job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanS_1a oprobit sat_german job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanS_1b oprobit sat_german i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanS_2 oprobit sat_german i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store GermanS_3 * Foreign language satisfaction * oprobit sat_foreign job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignS_1a oprobit sat_foreign job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignS_1b oprobit sat_foreign i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignS_2 oprobit sat_foreign i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store ForeignS_3 * Overall satisfaction * oprobit sat_all job sport music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store AllS_1a oprobit sat_all job i.sport_comp music i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store AllS_1b oprobit sat_all i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store AllS_2 oprobit sat_all i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust est store AllS_3 ********************************************************************************************************************** ********************************************************************************************************************** **** Test equality of coefficients for categories *** * Grades * est restore MathG_1b test [1.sport_comp]=[2.sport_comp] est restore MathG_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore MathG_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] est restore GermanG_1b test [1.sport_comp]=[2.sport_comp] est restore GermanG_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore GermanG_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] est restore ForeignG_1b test [1.sport_comp]=[2.sport_comp] est restore ForeignG_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore ForeignG_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] * Satisfaction * est restore MathS_1b test [1.sport_comp]=[2.sport_comp] est restore MathS_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore MathS_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] est restore GermanS_1b test [1.sport_comp]=[2.sport_comp] est restore GermanS_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore GermanS_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] est restore ForeignS_1b test [1.sport_comp]=[2.sport_comp] est restore ForeignS_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore ForeignS_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] est restore AllS_1b test [1.sport_comp]=[2.sport_comp] est restore AllS_2 test [1.job_time_cat3]=[2.job_time_cat3] test [1.job_time_cat3]=[3.job_time_cat3] test [2.job_time_cat3]=[3.job_time_cat3] test [1.sport_time_cat3]=[2.sport_time_cat3] test [1.sport_time_cat3]=[3.sport_time_cat3] test [2.sport_time_cat3]=[3.sport_time_cat3] test [1.music_time_cat3]=[2.music_time_cat3] test [1.music_time_cat3]=[3.music_time_cat3] test [2.music_time_cat3]=[3.music_time_cat3] est restore AllS_3 test [1.job_type]=[2.job_type] test [1.job_type]=[3.job_type] test [2.job_type]=[3.job_type] test [1.sport_type]=[2.sport_type] test [1.sport_type]=[3.sport_type] test [1.sport_type]=[4.sport_type] test [1.sport_type]=[5.sport_type] test [2.sport_type]=[3.sport_type] test [2.sport_type]=[4.sport_type] test [2.sport_type]=[5.sport_type] test [3.sport_type]=[4.sport_type] test [3.sport_type]=[5.sport_type] test [4.sport_type]=[5.sport_type] test [1.music_type]=[2.music_type] test [1.music_type]=[3.music_type] test [2.music_type]=[3.music_type] ********************************************************************************************************************** ********************************************************************************************************************** *** Output tabs * * Descriptives for estimation sample * by job, sort: tab sport music *sum math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all, sep(0) *sum job bn.job_time_cat3 bn.job_type sport bn.sport_comp bn.sport_time_cat3 bn.sport_type music bn.music_time_cat3 bn.music_type , sep(0) sum math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all job bn.job_time_cat3 bn.job_type sport bn.sport_comp bn.sport_time_cat3 bn.sport_type music bn.music_time_cat3 bn.music_type bn.school bn.foreign_class mig_2 woman pocketmoney_m hh_income bn.school_father bn.school_mother bn.state bn.syear , sep(0) * For labels in tab * quietly: oprobit math_gr german_gr foreign_gr sat_math sat_german sat_foreign sat_all job i.sport_comp music i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3 i.job_type i.sport_type i.music_type i.school i.foreign_class mig_2 woman pocketmoney_m hh_income i.school_father i.school_mother i.state i.syear , robust * est tab MathG_1a GermanG_1a ForeignG_1a MathS_1a GermanS_1a ForeignS_1a AllS_1a, keep(job sport music ) b(%7.4f) p(%7.4f) stats(N r2) varwidth(30) * est tab MathG_1b GermanG_1b ForeignG_1b MathS_1b GermanS_1b ForeignS_1b AllS_1b, keep(job i.sport_comp music ) b(%7.4f) p(%7.4f) stats(N r2) varwidth(30) * est tab MathG_2 GermanG_2 ForeignG_2 MathS_2 GermanS_2 ForeignS_2 AllS_2, keep(i.job_time_cat3 i.sport_time_cat3 i.music_time_cat3) b(%7.4f) p(%7.4f) stats(N r2) varwidth(30) * est tab MathG_3 GermanG_3 ForeignG_3 MathS_3 GermanS_3 ForeignS_3 AllS_3, keep(i.job_type i.sport_type i.music_type ) b(%7.4f) p(%7.4f) stats(N r2) varwidth(30) * For paper * estout MathG_1a GermanG_1a ForeignG_1a MathS_1a GermanS_1a ForeignS_1a AllS_1a, varwidth(16) cells(b(star fmt(3)) se(par(( )) fmt(3)) p(par([ ]) fmt(3))) stats(N r2 , fmt(0 3)) legend style(fixed) starlevels(+ 0.20 * 0.10 ** 0.05 *** 0.01) title(Table paper: Specification (1) (oprobit)) nobaselevels estout MathG_1b GermanG_1b ForeignG_1b MathS_1b GermanS_1b ForeignS_1b AllS_1b, varwidth(16) cells(b(star fmt(3)) se(par(( )) fmt(3)) p(par([ ]) fmt(3))) stats(N r2 , fmt(0 3)) legend style(fixed) starlevels(+ 0.20 * 0.10 ** 0.05 *** 0.01) title(Table paper: Specification (2) (oprobit)) nobaselevels estout MathG_2 GermanG_2 ForeignG_2 MathS_2 GermanS_2 ForeignS_2 AllS_2, varwidth(16) cells(b(star fmt(3)) se(par(( )) fmt(3)) p(par([ ]) fmt(3))) stats(N r2 , fmt(0 3)) legend style(fixed) starlevels(+ 0.20 * 0.10 ** 0.05 *** 0.01) title(Table paper: Specification (3) (oprobit)) nobaselevels estout MathG_3 GermanG_3 ForeignG_3 MathS_3 GermanS_3 ForeignS_3 AllS_3, varwidth(16) cells(b(star fmt(3)) se(par(( )) fmt(3)) p(par([ ]) fmt(3))) stats(N r2 , fmt(0 3)) legend style(fixed) starlevels(+ 0.20 * 0.10 ** 0.05 *** 0.01) title(Table paper: Specification (4) (oprobit)) nobaselevels ********************************************************************************************************************** ***** End **** log close