{smcl}
{com}{sf}{ul off}{txt}
{com}. 
. **** REPLICATION OF TABLE C16 ****
. 
. clear all
{res}{txt}
{com}. set mem 2g
{txt}{bf:set memory} ignored.
{p 4 4 2}
Memory no longer
needs to be set in modern Statas;
memory adjustments are performed on the fly
automatically.
{p_end}

{com}. set more off
{txt}
{com}. 
. /*      
>         OUTLINE
>         1. PREPARE DATA
>         2. REGRESSIONS
> */
. 
. ***************************
. ***** 1. PREPARE DATA *****
. ***************************
. 
. // Import Municipality data
. 
. use $data\EEREV-D-21-00004_Data_Municipalities.dta, clear
{txt}
{com}. 
. // Reshape
. 
. drop if sample==0
{txt}(8,936 observations deleted)

{com}. drop sample
{txt}
{com}. 
. reshape long voix_, i(com dep annee) j(candidate) string
{txt}(j = AbstBlancs Arthaud Asselineau Balladur Barbu Bayrou Besancenot Boutin Bove Buffet ChabanDelmas Cheminade Chevenement Chirac DeGaulle DeVilliers Defferre Ducatel Duclos Dumont DupontAignan Fillon GiscarddEstaing Gluckstein Hamon Heraud Hollande Hue Joly Jospin Krivine Laguiller Lassalle LePen Lecanuet Lepage Macron Madelin Mamere Marcilhacy Megret Melenchon Mitterrand Muller Nihous Poher Pompidou Poutou Renouvin Rocard Royal Royer SaintJosse Sarkozy Schivardi Sebag Taubira TixierVignancour Voynet)

Data{col 36}Wide{col 43}->{col 48}Long
{hline 77}
Number of observations     {res}       3,696   {txt}->   {res}218,064     
{txt}Number of variables        {res}         159   {txt}->   {res}102         
{txt}j variable (59 values)                    ->   {res}candidate
{txt}xij variables:
{res}voix_AbstBlancs voix_Arthaud ... voix_Voynet{txt}-> {res}voix_
{txt}{hline 77}

{com}. drop if voix_==.
{txt}(176,022 observations deleted)

{com}. rename voix_ voix
{res}{txt}
{com}. 
. // Merge with Candidate data
. 
. merge m:1 annee candidate using $data\EEREV-D-21-00004_Data_Candidates
{res}
{txt}{col 5}Result{col 33}Number of obs
{col 5}{hline 41}
{col 5}Not matched{col 30}{res}           3,696
{txt}{col 9}from master{col 30}{res}           3,696{txt}  (_merge==1)
{col 9}from using{col 30}{res}               0{txt}  (_merge==2)

{col 5}Matched{col 30}{res}          38,346{txt}  (_merge==3)
{col 5}{hline 41}

{com}. tab candidate annee if _merge==1

                 {txt}{c |}                                      Election year
           ANNEE {c |}      1965       1969       1974       1995       2002       2007       2012       2017 {c |}     Total
{hline 17}{c +}{hline 88}{c +}{hline 10}
      AbstBlancs {c |}{res}       462        462        462        462        462        462        462        462 {txt}{c |}{res}     3,696 
{txt}{hline 17}{c +}{hline 88}{c +}{hline 10}
           Total {c |}{res}       462        462        462        462        462        462        462        462 {txt}{c |}{res}     3,696 
{txt}
{com}. rename _merge sample
{res}{txt}
{com}. 
. // Generate vote shares
. 
. g perc_exp=(voix*100)/exprimes 
{txt}
{com}. g perc_ins=(voix*100)/inscrits
{txt}
{com}. format perc_* %9.2f
{txt}
{com}. 
. // Get Inverse polar for abstention (time invariant)
. 
. foreach var in neg nat aut{c -(}
{txt}  2{com}.         bysort annee: egen min=min(inv_`var'_P)
{txt}  3{com}.         replace inv_`var'_P=min if sample==1
{txt}  4{com}.         drop min
{txt}  5{com}. {c )-}
{txt}(3,696 real changes made)
(3,696 real changes made)
(3,696 real changes made)

{com}. 
. // Fixed effects
. 
. recode party (.=-999) if sample==1 // Abstention
{txt}(3696 changes made to {bf:party})

{com}. 
. egen com_year=group(com annee)
{txt}
{com}. egen com_party=group(com party)
{txt}
{com}. egen cand_year_border=group(cand_year borderfe)
{txt}(3,696 missing values generated)

{com}. egen party_year_border=group(party annee borderfe)
{txt}
{com}. 
. // Macros
. 
. global ctrl_neg_C                       "c.lpop_counter#c.neg_C c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C" 
{txt}
{com}. global ctrl_inv_neg_P           "c.lpop_counter#c.inv_neg_P c.perc_male_counter#c.inv_neg_P c.perc_disp_1946#c.inv_neg_P" 
{txt}
{com}. 
. global pop                                      "perc_b_1928_1945 perc_b_1946_1964 perc_b_1965_1980 perc_b_1981_1996 perc_male_counter"
{txt}
{com}. global demog_chara                      "lpop_counter perc_fore $pop"
{txt}
{com}. global socec_aspec                      "perc_bacplus perc_bluecollar perc_chom lrev_median lrev_sd"
{txt}
{com}. global w                                        "$demog_chara $socec_aspec"
{txt}
{com}. 
. **************************
. ***** 2. REGRESSIONS *****
. **************************
. 
. // Within election -> Reduced-Form
. 
. cap drop trend
{txt}
{com}. g trend=cand_year_border
{txt}(3,696 missing values generated)

{com}. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_e_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_e_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_e_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. ivreghdfe perc_ins g0_C g1_C g2_C ///
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C ///
>         $ctrl_neg_C ///
>         if sample==3, cluster(com_year) a(com_year trend)
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}OLS estimation
{hline 14}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com_year

Number of clusters (com_year) = {col 33}{res}  3696{txt}{col 55}Number of obs = {res}   38346
{txt}{col 55}F(  9,  3695) = {res}    6.02
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 454212.2865{txt}{col 55}Centered R2   = {res}  0.0020
{txt}Total (uncentered) SS   = {res} 454212.2865{txt}{col 55}Uncentered R2 = {res}  0.0020
{txt}Residual SS             = {res} 453323.2775{txt}{col 55}Root MSE      = {res}   3.469

{txt}{hline 28}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 29}{c |}{col 41}    Robust
{col 1}                   perc_ins{col 29}{c |} Coefficient{col 41}  std. err.{col 53}      t{col 61}   P>|t|{col 69}     [95% con{col 82}f. interval]
{hline 28}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}g0_C {c |}{col 29}{res}{space 2} .3393415{col 41}{space 2} .1723689{col 52}{space 1}    1.97{col 61}{space 3}0.049{col 69}{space 4} .0013939{col 82}{space 3}  .677289
{txt}{space 23}g1_C {c |}{col 29}{res}{space 2}  .050656{col 41}{space 2} .0552969{col 52}{space 1}    0.92{col 61}{space 3}0.360{col 69}{space 4}-.0577594{col 82}{space 3} .1590714
{txt}{space 23}g2_C {c |}{col 29}{res}{space 2} .0528883{col 41}{space 2} .0349985{col 52}{space 1}    1.51{col 61}{space 3}0.131{col 69}{space 4}-.0157299{col 82}{space 3} .1215065
{txt}{space 27} {c |}
{space 1}c.perc_b_1903_1912#c.neg_C {c |}{col 29}{res}{space 2} .0841381{col 41}{space 2} .0465456{col 52}{space 1}    1.81{col 61}{space 3}0.071{col 69}{space 4}-.0071194{col 82}{space 3} .1753957
{txt}{space 27} {c |}
{space 1}c.perc_b_1913_1922#c.neg_C {c |}{col 29}{res}{space 2} .1885891{col 41}{space 2} .1224078{col 52}{space 1}    1.54{col 61}{space 3}0.123{col 69}{space 4}-.0514045{col 82}{space 3} .4285827
{txt}{space 27} {c |}
{space 1}c.perc_b_1923_1932#c.neg_C {c |}{col 29}{res}{space 2}-.3759032{col 41}{space 2} .1442847{col 52}{space 1}   -2.61{col 61}{space 3}0.009{col 69}{space 4}-.6587887{col 82}{space 3}-.0930177
{txt}{space 27} {c |}
{space 5}c.lpop_counter#c.neg_C {c |}{col 29}{res}{space 2} .3664793{col 41}{space 2} .2500883{col 52}{space 1}    1.47{col 61}{space 3}0.143{col 69}{space 4}-.1238454{col 82}{space 3}  .856804
{txt}{space 27} {c |}
c.perc_male_counter#c.neg_C {c |}{col 29}{res}{space 2} -.024774{col 41}{space 2}  .071076{col 52}{space 1}   -0.35{col 61}{space 3}0.727{col 69}{space 4}-.1641259{col 82}{space 3}  .114578
{txt}{space 27} {c |}
{space 3}c.perc_disp_1946#c.neg_C {c |}{col 29}{res}{space 2}-.0584949{col 41}{space 2} .0280818{col 52}{space 1}   -2.08{col 61}{space 3}0.037{col 69}{space 4}-.1135522{col 82}{space 3}-.0034376
{txt}{hline 28}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Included instruments:{col 23}g0_C g1_C g2_C c.perc_b_1903_1912#c.neg_C
{col 23}c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C
{col 23}c.lpop_counter#c.neg_C c.perc_male_counter#c.neg_C
{col 23}c.perc_disp_1946#c.neg_C
{help ivreg2##partial:Partialled-out}:{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}    com_year{col 14}{c |}{space 1}     3696{col 27}{space 1}     3696{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      664{col 27}{space 1}        0{col 39}{result}{space 1}      664{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}. 
. estimates store Pneg_C_annee_RF
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}7.6996526
{txt}
{com}. 
. // Within election -> Second-Stage
. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_i_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_i_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_i_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. ivreghdfe perc_ins ///
>         (g0_C g1_C g2_C = c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C c.perc_v_e_g2#c.neg_C) ///
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C /// 
>         $ctrl_neg_C ///
>         if sample==3, cluster(com_year) a(com_year trend)
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}IV (2SLS) estimation
{hline 20}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com_year

Number of clusters (com_year) = {col 33}{res}  3696{txt}{col 55}Number of obs = {res}   38346
{txt}{col 55}F(  9,  3695) = {res}    6.28
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 454212.2865{txt}{col 55}Centered R2   = {res}  0.0054
{txt}Total (uncentered) SS   = {res} 454212.2865{txt}{col 55}Uncentered R2 = {res}  0.0054
{txt}Residual SS             = {res} 451741.5732{txt}{col 55}Root MSE      = {res}   3.463

{txt}{hline 28}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 29}{c |}{col 41}    Robust
{col 1}                   perc_ins{col 29}{c |} Coefficient{col 41}  std. err.{col 53}      t{col 61}   P>|t|{col 69}     [95% con{col 82}f. interval]
{hline 28}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 23}g0_C {c |}{col 29}{res}{space 2}  2.17394{col 41}{space 2} .9772283{col 52}{space 1}    2.22{col 61}{space 3}0.026{col 69}{space 4} .2579801{col 82}{space 3}   4.0899
{txt}{space 23}g1_C {c |}{col 29}{res}{space 2} .1285265{col 41}{space 2} .2360166{col 52}{space 1}    0.54{col 61}{space 3}0.586{col 69}{space 4}-.3342091{col 82}{space 3} .5912621
{txt}{space 23}g2_C {c |}{col 29}{res}{space 2}  .161765{col 41}{space 2} .1283323{col 52}{space 1}    1.26{col 61}{space 3}0.208{col 69}{space 4}-.0898441{col 82}{space 3} .4133742
{txt}{space 27} {c |}
{space 1}c.perc_b_1903_1912#c.neg_C {c |}{col 29}{res}{space 2} .1279439{col 41}{space 2} .0479596{col 52}{space 1}    2.67{col 61}{space 3}0.008{col 69}{space 4}  .033914{col 82}{space 3} .2219738
{txt}{space 27} {c |}
{space 1}c.perc_b_1913_1922#c.neg_C {c |}{col 29}{res}{space 2}  .268003{col 41}{space 2} .1167502{col 52}{space 1}    2.30{col 61}{space 3}0.022{col 69}{space 4} .0391019{col 82}{space 3} .4969041
{txt}{space 27} {c |}
{space 1}c.perc_b_1923_1932#c.neg_C {c |}{col 29}{res}{space 2}  -.29335{col 41}{space 2} .1484842{col 52}{space 1}   -1.98{col 61}{space 3}0.048{col 69}{space 4}-.5844691{col 82}{space 3}-.0022309
{txt}{space 27} {c |}
{space 5}c.lpop_counter#c.neg_C {c |}{col 29}{res}{space 2} .4858034{col 41}{space 2} .2558813{col 52}{space 1}    1.90{col 61}{space 3}0.058{col 69}{space 4}-.0158791{col 82}{space 3} .9874859
{txt}{space 27} {c |}
c.perc_male_counter#c.neg_C {c |}{col 29}{res}{space 2}-.0179487{col 41}{space 2} .0699124{col 52}{space 1}   -0.26{col 61}{space 3}0.797{col 69}{space 4}-.1550194{col 82}{space 3}  .119122
{txt}{space 27} {c |}
{space 3}c.perc_disp_1946#c.neg_C {c |}{col 29}{res}{space 2}-.0116434{col 41}{space 2} .0361563{col 52}{space 1}   -0.32{col 61}{space 3}0.747{col 69}{space 4}-.0825316{col 82}{space 3} .0592448
{txt}{hline 28}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71} 184.352
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}1938.434
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  82.070
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 64}<not available>
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}g0_C g1_C g2_C
Included instruments:{col 23}c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C
{col 23}c.perc_b_1923_1932#c.neg_C c.lpop_counter#c.neg_C
{col 23}c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C
Excluded instruments:{col 23}c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C
{col 23}c.perc_v_e_g2#c.neg_C
{help ivreg2##partial:Partialled-out}:{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}    com_year{col 14}{c |}{space 1}     3696{col 27}{space 1}     3696{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      664{col 27}{space 1}        0{col 39}{result}{space 1}      664{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}. 
. estimates store Pneg_C_annee_SS
{txt}
{com}. scalar f = e(rkf)
{txt}
{com}. estadd scalar F_fs=f

{txt}added scalar:
               e(F_fs) =  {res}82.070188
{txt}
{com}. scalar f_under=e(idstat)
{txt}
{com}. estadd scalar F_u=f_under

{txt}added scalar:
                e(F_u) =  {res}184.35181
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}7.6996526
{txt}
{com}. 
. // Within party -> Reduced-Form
. 
. cap drop trend
{txt}
{com}. g trend=party_year_border
{txt}
{com}. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_e_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_e_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_e_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. cap drop g0_P
{txt}
{com}. cap drop g1_P
{txt}
{com}. cap drop g2_P
{txt}
{com}. g g0_P=perc_v_e_g0*inv_neg_P
{txt}
{com}. g g1_P=perc_v_e_g1*inv_neg_P
{txt}
{com}. g g2_P=perc_v_e_g2*inv_neg_P
{txt}
{com}. 
. ivreghdfe perc_ins ///
>         g0_C g1_C g2_C g0_P g1_P g2_P ///
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C /// 
>         c.perc_b_1903_1912#c.inv_neg_P c.perc_b_1913_1922#c.inv_neg_P c.perc_b_1923_1932#c.inv_neg_P /// 
>         $w $ctrl_neg_C $ctrl_inv_neg_P ///
>         if sample==3, cluster(com) a(com_party trend) partial($w)
{res}{txt}(dropped 8316 {browse "http://scorreia.com/research/singletons.pdf":singleton observations})
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}OLS estimation
{hline 14}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com

Number of clusters (com) = {col 33}{res}   462{txt}{col 55}Number of obs = {res}   30030
{txt}{col 55}F( 18,   461) = {res}   12.62
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 293142.4014{txt}{col 55}Centered R2   = {res}  0.0081
{txt}Total (uncentered) SS   = {res} 293142.4014{txt}{col 55}Uncentered R2 = {res}  0.0081
{txt}Residual SS             = {res} 290773.6061{txt}{col 55}Root MSE      = {res}   3.141

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                       perc_ins{col 33}{c |} Coefficient{col 45}  std. err.{col 57}      t{col 65}   P>|t|{col 73}     [95% con{col 86}f. interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}g0_C {c |}{col 33}{res}{space 2} .4217171{col 45}{space 2} .0999169{col 56}{space 1}    4.22{col 65}{space 3}0.000{col 73}{space 4} .2253681{col 86}{space 3}  .618066
{txt}{space 27}g1_C {c |}{col 33}{res}{space 2} .3161634{col 45}{space 2}  .081105{col 56}{space 1}    3.90{col 65}{space 3}0.000{col 73}{space 4}  .156782{col 86}{space 3} .4755447
{txt}{space 27}g2_C {c |}{col 33}{res}{space 2} .0365623{col 45}{space 2} .0518677{col 56}{space 1}    0.70{col 65}{space 3}0.481{col 73}{space 4}-.0653641{col 86}{space 3} .1384887
{txt}{space 27}g0_P {c |}{col 33}{res}{space 2}-.0029556{col 45}{space 2} .0007949{col 56}{space 1}   -3.72{col 65}{space 3}0.000{col 73}{space 4}-.0045177{col 86}{space 3}-.0013936
{txt}{space 27}g1_P {c |}{col 33}{res}{space 2}-.0022147{col 45}{space 2} .0006635{col 56}{space 1}   -3.34{col 65}{space 3}0.001{col 73}{space 4}-.0035185{col 86}{space 3}-.0009108
{txt}{space 27}g2_P {c |}{col 33}{res}{space 2} .0048662{col 45}{space 2} .0006057{col 56}{space 1}    8.03{col 65}{space 3}0.000{col 73}{space 4} .0036758{col 86}{space 3} .0060565
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.neg_C {c |}{col 33}{res}{space 2} .0506813{col 45}{space 2} .0849489{col 56}{space 1}    0.60{col 65}{space 3}0.551{col 73}{space 4}-.1162536{col 86}{space 3} .2176163
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.neg_C {c |}{col 33}{res}{space 2}-.0356634{col 45}{space 2} .1644524{col 56}{space 1}   -0.22{col 65}{space 3}0.828{col 73}{space 4}-.3588326{col 86}{space 3} .2875057
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.neg_C {c |}{col 33}{res}{space 2}-.3239658{col 45}{space 2} .1743956{col 56}{space 1}   -1.86{col 65}{space 3}0.064{col 73}{space 4}-.6666746{col 86}{space 3} .0187431
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_neg_P {c |}{col 33}{res}{space 2} .0020129{col 45}{space 2} .0006516{col 56}{space 1}    3.09{col 65}{space 3}0.002{col 73}{space 4} .0007323{col 86}{space 3} .0032934
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0004952{col 45}{space 2} .0013449{col 56}{space 1}   -0.37{col 65}{space 3}0.713{col 73}{space 4} -.003138{col 86}{space 3} .0021477
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_neg_P {c |}{col 33}{res}{space 2}  .004843{col 45}{space 2} .0012207{col 56}{space 1}    3.97{col 65}{space 3}0.000{col 73}{space 4} .0024442{col 86}{space 3} .0072418
{txt}{space 31} {c |}
{space 9}c.lpop_counter#c.neg_C {c |}{col 33}{res}{space 2} .7365858{col 45}{space 2} .4170977{col 56}{space 1}    1.77{col 65}{space 3}0.078{col 73}{space 4}-.0830625{col 86}{space 3} 1.556234
{txt}{space 31} {c |}
{space 4}c.perc_male_counter#c.neg_C {c |}{col 33}{res}{space 2} .0012154{col 45}{space 2} .0978867{col 56}{space 1}    0.01{col 65}{space 3}0.990{col 73}{space 4}-.1911441{col 86}{space 3} .1935749
{txt}{space 31} {c |}
{space 7}c.perc_disp_1946#c.neg_C {c |}{col 33}{res}{space 2}-.0583176{col 45}{space 2}  .047502{col 56}{space 1}   -1.23{col 65}{space 3}0.220{col 73}{space 4} -.151665{col 86}{space 3} .0350298
{txt}{space 31} {c |}
{space 5}c.lpop_counter#c.inv_neg_P {c |}{col 33}{res}{space 2} .0082377{col 45}{space 2} .0032853{col 56}{space 1}    2.51{col 65}{space 3}0.013{col 73}{space 4} .0017818{col 86}{space 3} .0146937
{txt}{space 31} {c |}
c.perc_male_counter#c.inv_neg_P {c |}{col 33}{res}{space 2} .0005556{col 45}{space 2} .0004674{col 56}{space 1}    1.19{col 65}{space 3}0.235{col 73}{space 4}-.0003629{col 86}{space 3} .0014741
{txt}{space 31} {c |}
{space 3}c.perc_disp_1946#c.inv_neg_P {c |}{col 33}{res}{space 2} .0012029{col 45}{space 2} .0003502{col 56}{space 1}    3.43{col 65}{space 3}0.001{col 73}{space 4} .0005147{col 86}{space 3}  .001891
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Included instruments:{col 23}g0_C g1_C g2_C g0_P g1_P g2_P c.perc_b_1903_1912#c.neg_C
{col 23}c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C
{col 23}c.perc_b_1903_1912#c.inv_neg_P
{col 23}c.perc_b_1913_1922#c.inv_neg_P
{col 23}c.perc_b_1923_1932#c.inv_neg_P c.lpop_counter#c.neg_C
{col 23}c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C
{col 23}c.lpop_counter#c.inv_neg_P c.perc_male_counter#c.inv_neg_P
{col 23}c.perc_disp_1946#c.inv_neg_P
{help ivreg2##partial:Partialled-out}:{col 23}lpop_counter perc_fore perc_b_1928_1945 perc_b_1946_1964
{col 23}perc_b_1965_1980 perc_b_1981_1996 perc_male_counter
{col 23}perc_bacplus perc_bluecollar perc_chom lrev_median lrev_sd
{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}   com_party{col 14}{c |}{space 1}     6468{col 27}{space 1}     6468{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      520{col 27}{space 1}        0{col 39}{result}{space 1}      520{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}. 
. estimates store Pneg_C_party_RF
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}9.2892633
{txt}
{com}. 
. // Within party -> Second-Stage
. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_i_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_i_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_i_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. cap drop g0_P
{txt}
{com}. cap drop g1_P
{txt}
{com}. cap drop g2_P
{txt}
{com}. g g0_P=perc_v_i_g0*inv_neg_P
{txt}
{com}. g g1_P=perc_v_i_g1*inv_neg_P
{txt}
{com}. g g2_P=perc_v_i_g2*inv_neg_P
{txt}
{com}. 
. ivreghdfe perc_ins ///
>         (g0_C g1_C g2_C g0_P g1_P g2_P = c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C c.perc_v_e_g2#c.neg_C c.perc_v_e_g0#c.inv_neg_P c.perc_v_e_g1#c.inv_neg_P c.perc_v_e_g2#c.inv_neg_P) /// 
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C /// 
>         c.perc_b_1903_1912#c.inv_neg_P c.perc_b_1913_1922#c.inv_neg_P c.perc_b_1923_1932#c.inv_neg_P /// 
>         $w $ctrl_neg_C $ctrl_inv_neg_P ///
>         if sample==3, cluster(com) a(com_party trend) partial($w)
{res}{txt}(dropped 8316 {browse "http://scorreia.com/research/singletons.pdf":singleton observations})
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}IV (2SLS) estimation
{hline 20}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com

Number of clusters (com) = {col 33}{res}   462{txt}{col 55}Number of obs = {res}   30030
{txt}{col 55}F( 18,   461) = {res}    8.46
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 293142.4014{txt}{col 55}Centered R2   = {res} -0.0030
{txt}Total (uncentered) SS   = {res} 293142.4014{txt}{col 55}Uncentered R2 = {res} -0.0030
{txt}Residual SS             = {res} 294027.3588{txt}{col 55}Root MSE      = {res}   3.158

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                       perc_ins{col 33}{c |} Coefficient{col 45}  std. err.{col 57}      t{col 65}   P>|t|{col 73}     [95% con{col 86}f. interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}g0_C {c |}{col 33}{res}{space 2} 3.108169{col 45}{space 2} .8024931{col 56}{space 1}    3.87{col 65}{space 3}0.000{col 73}{space 4} 1.531171{col 86}{space 3} 4.685167
{txt}{space 27}g1_C {c |}{col 33}{res}{space 2}  1.41719{col 45}{space 2} .4467089{col 56}{space 1}    3.17{col 65}{space 3}0.002{col 73}{space 4} .5393518{col 86}{space 3} 2.295028
{txt}{space 27}g2_C {c |}{col 33}{res}{space 2}-.0369123{col 45}{space 2} .2069279{col 56}{space 1}   -0.18{col 65}{space 3}0.859{col 73}{space 4}-.4435511{col 86}{space 3} .3697265
{txt}{space 27}g0_P {c |}{col 33}{res}{space 2}-.0204132{col 45}{space 2} .0060445{col 56}{space 1}   -3.38{col 65}{space 3}0.001{col 73}{space 4}-.0322914{col 86}{space 3}-.0085349
{txt}{space 27}g1_P {c |}{col 33}{res}{space 2}-.0116507{col 45}{space 2} .0035409{col 56}{space 1}   -3.29{col 65}{space 3}0.001{col 73}{space 4}-.0186091{col 86}{space 3}-.0046924
{txt}{space 27}g2_P {c |}{col 33}{res}{space 2} .0184486{col 45}{space 2} .0026517{col 56}{space 1}    6.96{col 65}{space 3}0.000{col 73}{space 4} .0132376{col 86}{space 3} .0236596
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.neg_C {c |}{col 33}{res}{space 2} .0976255{col 45}{space 2} .0893859{col 56}{space 1}    1.09{col 65}{space 3}0.275{col 73}{space 4}-.0780287{col 86}{space 3} .2732797
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.neg_C {c |}{col 33}{res}{space 2} .1573466{col 45}{space 2} .1434021{col 56}{space 1}    1.10{col 65}{space 3}0.273{col 73}{space 4}-.1244562{col 86}{space 3} .4391494
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.neg_C {c |}{col 33}{res}{space 2}-.2462329{col 45}{space 2} .1819564{col 56}{space 1}   -1.35{col 65}{space 3}0.177{col 73}{space 4}-.6037997{col 86}{space 3} .1113339
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_neg_P {c |}{col 33}{res}{space 2}  .000469{col 45}{space 2} .0009234{col 56}{space 1}    0.51{col 65}{space 3}0.612{col 73}{space 4}-.0013456{col 86}{space 3} .0022836
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0029726{col 45}{space 2} .0016251{col 56}{space 1}   -1.83{col 65}{space 3}0.068{col 73}{space 4}-.0061661{col 86}{space 3} .0002209
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_neg_P {c |}{col 33}{res}{space 2} .0022322{col 45}{space 2} .0014601{col 56}{space 1}    1.53{col 65}{space 3}0.127{col 73}{space 4}-.0006371{col 86}{space 3} .0051014
{txt}{space 31} {c |}
{space 9}c.lpop_counter#c.neg_C {c |}{col 33}{res}{space 2}  .833415{col 45}{space 2}  .422869{col 56}{space 1}    1.97{col 65}{space 3}0.049{col 73}{space 4} .0024253{col 86}{space 3} 1.664405
{txt}{space 31} {c |}
{space 4}c.perc_male_counter#c.neg_C {c |}{col 33}{res}{space 2} .0035138{col 45}{space 2} .0920964{col 56}{space 1}    0.04{col 65}{space 3}0.970{col 73}{space 4} -.177467{col 86}{space 3} .1844945
{txt}{space 31} {c |}
{space 7}c.perc_disp_1946#c.neg_C {c |}{col 33}{res}{space 2} .0326415{col 45}{space 2} .0544395{col 56}{space 1}    0.60{col 65}{space 3}0.549{col 73}{space 4}-.0743389{col 86}{space 3} .1396219
{txt}{space 31} {c |}
{space 5}c.lpop_counter#c.inv_neg_P {c |}{col 33}{res}{space 2}  .004671{col 45}{space 2} .0037296{col 56}{space 1}    1.25{col 65}{space 3}0.211{col 73}{space 4}-.0026582{col 86}{space 3} .0120001
{txt}{space 31} {c |}
c.perc_male_counter#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0001121{col 45}{space 2}  .000636{col 56}{space 1}   -0.18{col 65}{space 3}0.860{col 73}{space 4}-.0013619{col 86}{space 3} .0011377
{txt}{space 31} {c |}
{space 3}c.perc_disp_1946#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0004933{col 45}{space 2} .0005875{col 56}{space 1}   -0.84{col 65}{space 3}0.401{col 73}{space 4}-.0016478{col 86}{space 3} .0006611
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  76.901
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 732.340
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  15.230
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 64}<not available>
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}g0_C g1_C g2_C g0_P g1_P g2_P
Included instruments:{col 23}c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C
{col 23}c.perc_b_1923_1932#c.neg_C c.perc_b_1903_1912#c.inv_neg_P
{col 23}c.perc_b_1913_1922#c.inv_neg_P
{col 23}c.perc_b_1923_1932#c.inv_neg_P c.lpop_counter#c.neg_C
{col 23}c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C
{col 23}c.lpop_counter#c.inv_neg_P c.perc_male_counter#c.inv_neg_P
{col 23}c.perc_disp_1946#c.inv_neg_P
Excluded instruments:{col 23}c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C
{col 23}c.perc_v_e_g2#c.neg_C c.perc_v_e_g0#c.inv_neg_P
{col 23}c.perc_v_e_g1#c.inv_neg_P c.perc_v_e_g2#c.inv_neg_P
{help ivreg2##partial:Partialled-out}:{col 23}lpop_counter perc_fore perc_b_1928_1945 perc_b_1946_1964
{col 23}perc_b_1965_1980 perc_b_1981_1996 perc_male_counter
{col 23}perc_bacplus perc_bluecollar perc_chom lrev_median lrev_sd
{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}   com_party{col 14}{c |}{space 1}     6468{col 27}{space 1}     6468{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      520{col 27}{space 1}        0{col 39}{result}{space 1}      520{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}.         
. estimates store Pneg_C_party_SS
{txt}
{com}. scalar f = e(rkf)
{txt}
{com}. estadd scalar F_fs=f

{txt}added scalar:
               e(F_fs) =  {res}15.229766
{txt}
{com}. scalar f_under=e(idstat)
{txt}
{com}. estadd scalar F_u=f_under

{txt}added scalar:
                e(F_u) =  {res}76.901236
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}9.2892633
{txt}
{com}. 
. // Other aspects -> Reduced form
. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_e_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_e_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_e_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. cap drop g0_P
{txt}
{com}. cap drop g1_P
{txt}
{com}. cap drop g2_P
{txt}
{com}. g g0_P=perc_v_e_g0*inv_neg_P
{txt}
{com}. g g1_P=perc_v_e_g1*inv_neg_P
{txt}
{com}. g g2_P=perc_v_e_g2*inv_neg_P
{txt}
{com}. 
. ivreghdfe perc_ins ///
>         g0_C g1_C g2_C g0_P g1_P g2_P ///
>         c.perc_v_e_g0#c.aut_C c.perc_v_e_g1#c.aut_C c.perc_v_e_g2#c.aut_C c.perc_v_e_g0#c.inv_aut_P c.perc_v_e_g1#c.inv_aut_P c.perc_v_e_g2#c.inv_aut_P ///
>         c.perc_v_e_g0#c.nat_C c.perc_v_e_g1#c.nat_C c.perc_v_e_g2#c.nat_C c.perc_v_e_g0#c.inv_nat_P c.perc_v_e_g1#c.inv_nat_P c.perc_v_e_g2#c.inv_nat_P ///
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C /// 
>         c.perc_b_1903_1912#c.aut_C c.perc_b_1913_1922#c.aut_C c.perc_b_1923_1932#c.aut_C /// 
>         c.perc_b_1903_1912#c.nat_C c.perc_b_1913_1922#c.nat_C c.perc_b_1923_1932#c.nat_C /// 
>         c.perc_b_1903_1912#c.inv_neg_P c.perc_b_1913_1922#c.inv_neg_P c.perc_b_1923_1932#c.inv_neg_P ///
>         c.perc_b_1903_1912#c.inv_aut_P c.perc_b_1913_1922#c.inv_aut_P c.perc_b_1923_1932#c.inv_aut_P ///
>         c.perc_b_1903_1912#c.inv_nat_P c.perc_b_1913_1922#c.inv_nat_P c.perc_b_1923_1932#c.inv_nat_P ///
>         $w $ctrl_neg_C $ctrl_inv_neg_P ///
>         if sample==3, cluster(com) a(com_party trend) partial($w)
{res}{txt}(dropped 8316 {browse "http://scorreia.com/research/singletons.pdf":singleton observations})
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}OLS estimation
{hline 14}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com

Number of clusters (com) = {col 33}{res}   462{txt}{col 55}Number of obs = {res}   30030
{txt}{col 55}F( 42,   461) = {res}    8.05
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 293142.4014{txt}{col 55}Centered R2   = {res}  0.0145
{txt}Total (uncentered) SS   = {res} 293142.4014{txt}{col 55}Uncentered R2 = {res}  0.0145
{txt}Residual SS             = {res} 288896.5604{txt}{col 55}Root MSE      = {res}   3.132

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                       perc_ins{col 33}{c |} Coefficient{col 45}  std. err.{col 57}      t{col 65}   P>|t|{col 73}     [95% con{col 86}f. interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}g0_C {c |}{col 33}{res}{space 2} .6403389{col 45}{space 2} .1752508{col 56}{space 1}    3.65{col 65}{space 3}0.000{col 73}{space 4} .2959495{col 86}{space 3} .9847282
{txt}{space 27}g1_C {c |}{col 33}{res}{space 2} .3568003{col 45}{space 2} .0996952{col 56}{space 1}    3.58{col 65}{space 3}0.000{col 73}{space 4} .1608869{col 86}{space 3} .5527136
{txt}{space 27}g2_C {c |}{col 33}{res}{space 2} .1007271{col 45}{space 2} .0719043{col 56}{space 1}    1.40{col 65}{space 3}0.162{col 73}{space 4}-.0405737{col 86}{space 3} .2420279
{txt}{space 27}g0_P {c |}{col 33}{res}{space 2}-.0011318{col 45}{space 2} .0007622{col 56}{space 1}   -1.48{col 65}{space 3}0.138{col 73}{space 4}-.0026296{col 86}{space 3}  .000366
{txt}{space 27}g1_P {c |}{col 33}{res}{space 2}-.0027697{col 45}{space 2} .0006805{col 56}{space 1}   -4.07{col 65}{space 3}0.000{col 73}{space 4}-.0041069{col 86}{space 3}-.0014325
{txt}{space 27}g2_P {c |}{col 33}{res}{space 2} .0001478{col 45}{space 2} .0008283{col 56}{space 1}    0.18{col 65}{space 3}0.858{col 73}{space 4}-.0014798{col 86}{space 3} .0017755
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g0#c.aut_C {c |}{col 33}{res}{space 2} .2472013{col 45}{space 2} .6071382{col 56}{space 1}    0.41{col 65}{space 3}0.684{col 73}{space 4}-.9459002{col 86}{space 3} 1.440303
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g1#c.aut_C {c |}{col 33}{res}{space 2} .2451491{col 45}{space 2} .1698108{col 56}{space 1}    1.44{col 65}{space 3}0.150{col 73}{space 4}-.0885499{col 86}{space 3} .5788482
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g2#c.aut_C {c |}{col 33}{res}{space 2} .9075508{col 45}{space 2} .2090617{col 56}{space 1}    4.34{col 65}{space 3}0.000{col 73}{space 4} .4967188{col 86}{space 3} 1.318383
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g0#c.inv_aut_P {c |}{col 33}{res}{space 2} .0010715{col 45}{space 2} .0019441{col 56}{space 1}    0.55{col 65}{space 3}0.582{col 73}{space 4}-.0027489{col 86}{space 3} .0048919
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g1#c.inv_aut_P {c |}{col 33}{res}{space 2} .0044952{col 45}{space 2} .0008447{col 56}{space 1}    5.32{col 65}{space 3}0.000{col 73}{space 4} .0028353{col 86}{space 3} .0061551
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g2#c.inv_aut_P {c |}{col 33}{res}{space 2}  .000216{col 45}{space 2} .0006469{col 56}{space 1}    0.33{col 65}{space 3}0.739{col 73}{space 4}-.0010553{col 86}{space 3} .0014873
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g0#c.nat_C {c |}{col 33}{res}{space 2}-.1769757{col 45}{space 2} .3032851{col 56}{space 1}   -0.58{col 65}{space 3}0.560{col 73}{space 4}-.7729683{col 86}{space 3} .4190168
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g1#c.nat_C {c |}{col 33}{res}{space 2} .1749668{col 45}{space 2} .1548086{col 56}{space 1}    1.13{col 65}{space 3}0.259{col 73}{space 4}-.1292512{col 86}{space 3} .4791848
{txt}{space 31} {c |}
{space 10}c.perc_v_e_g2#c.nat_C {c |}{col 33}{res}{space 2} .3687036{col 45}{space 2} .1661328{col 56}{space 1}    2.22{col 65}{space 3}0.027{col 73}{space 4} .0422321{col 86}{space 3}  .695175
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g0#c.inv_nat_P {c |}{col 33}{res}{space 2}-.0060482{col 45}{space 2} .0034822{col 56}{space 1}   -1.74{col 65}{space 3}0.083{col 73}{space 4}-.0128911{col 86}{space 3} .0007948
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g1#c.inv_nat_P {c |}{col 33}{res}{space 2}-.0076173{col 45}{space 2} .0014534{col 56}{space 1}   -5.24{col 65}{space 3}0.000{col 73}{space 4}-.0104733{col 86}{space 3}-.0047612
{txt}{space 31} {c |}
{space 6}c.perc_v_e_g2#c.inv_nat_P {c |}{col 33}{res}{space 2} .0002037{col 45}{space 2} .0010985{col 56}{space 1}    0.19{col 65}{space 3}0.853{col 73}{space 4} -.001955{col 86}{space 3} .0023624
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.neg_C {c |}{col 33}{res}{space 2} .1884093{col 45}{space 2} .1514953{col 56}{space 1}    1.24{col 65}{space 3}0.214{col 73}{space 4}-.1092977{col 86}{space 3} .4861163
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.neg_C {c |}{col 33}{res}{space 2}-.1265056{col 45}{space 2}  .268171{col 56}{space 1}   -0.47{col 65}{space 3}0.637{col 73}{space 4}-.6534947{col 86}{space 3} .4004835
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.neg_C {c |}{col 33}{res}{space 2}-.1237023{col 45}{space 2} .2272389{col 56}{space 1}   -0.54{col 65}{space 3}0.586{col 73}{space 4}-.5702547{col 86}{space 3} .3228501
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.aut_C {c |}{col 33}{res}{space 2} .0157301{col 45}{space 2} .2726607{col 56}{space 1}    0.06{col 65}{space 3}0.954{col 73}{space 4}-.5200818{col 86}{space 3}  .551542
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.aut_C {c |}{col 33}{res}{space 2} -.355887{col 45}{space 2}  .439993{col 56}{space 1}   -0.81{col 65}{space 3}0.419{col 73}{space 4}-1.220527{col 86}{space 3} .5087534
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.aut_C {c |}{col 33}{res}{space 2}-.5532094{col 45}{space 2} .4710687{col 56}{space 1}   -1.17{col 65}{space 3}0.241{col 73}{space 4}-1.478917{col 86}{space 3} .3724987
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.nat_C {c |}{col 33}{res}{space 2} .5598064{col 45}{space 2} .3917571{col 56}{space 1}    1.43{col 65}{space 3}0.154{col 73}{space 4}-.2100446{col 86}{space 3} 1.329657
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.nat_C {c |}{col 33}{res}{space 2}-.0074859{col 45}{space 2} .6765649{col 56}{space 1}   -0.01{col 65}{space 3}0.991{col 73}{space 4}-1.337019{col 86}{space 3} 1.322047
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.nat_C {c |}{col 33}{res}{space 2} 1.691149{col 45}{space 2} .6233562{col 56}{space 1}    2.71{col 65}{space 3}0.007{col 73}{space 4} .4661772{col 86}{space 3} 2.916121
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_neg_P {c |}{col 33}{res}{space 2} .0021101{col 45}{space 2} .0006978{col 56}{space 1}    3.02{col 65}{space 3}0.003{col 73}{space 4} .0007389{col 86}{space 3} .0034814
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0014595{col 45}{space 2}   .00164{col 56}{space 1}   -0.89{col 65}{space 3}0.374{col 73}{space 4}-.0046824{col 86}{space 3} .0017634
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_neg_P {c |}{col 33}{res}{space 2} .0037036{col 45}{space 2} .0015248{col 56}{space 1}    2.43{col 65}{space 3}0.016{col 73}{space 4} .0007072{col 86}{space 3} .0067001
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_aut_P {c |}{col 33}{res}{space 2}-.0007415{col 45}{space 2}  .001074{col 56}{space 1}   -0.69{col 65}{space 3}0.490{col 73}{space 4} -.002852{col 86}{space 3} .0013691
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_aut_P {c |}{col 33}{res}{space 2} .0008473{col 45}{space 2} .0018962{col 56}{space 1}    0.45{col 65}{space 3}0.655{col 73}{space 4}-.0028789{col 86}{space 3} .0045735
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_aut_P {c |}{col 33}{res}{space 2}-.0032289{col 45}{space 2} .0017235{col 56}{space 1}   -1.87{col 65}{space 3}0.062{col 73}{space 4}-.0066157{col 86}{space 3}  .000158
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_nat_P {c |}{col 33}{res}{space 2} .0018973{col 45}{space 2} .0014965{col 56}{space 1}    1.27{col 65}{space 3}0.206{col 73}{space 4}-.0010435{col 86}{space 3}  .004838
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_nat_P {c |}{col 33}{res}{space 2}-.0025925{col 45}{space 2} .0026298{col 56}{space 1}   -0.99{col 65}{space 3}0.325{col 73}{space 4}-.0077604{col 86}{space 3} .0025754
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_nat_P {c |}{col 33}{res}{space 2} .0070218{col 45}{space 2} .0025614{col 56}{space 1}    2.74{col 65}{space 3}0.006{col 73}{space 4} .0019884{col 86}{space 3} .0120552
{txt}{space 31} {c |}
{space 9}c.lpop_counter#c.neg_C {c |}{col 33}{res}{space 2} .9403156{col 45}{space 2} .4501754{col 56}{space 1}    2.09{col 65}{space 3}0.037{col 73}{space 4} .0556654{col 86}{space 3} 1.824966
{txt}{space 31} {c |}
{space 4}c.perc_male_counter#c.neg_C {c |}{col 33}{res}{space 2} .0030001{col 45}{space 2} .0966606{col 56}{space 1}    0.03{col 65}{space 3}0.975{col 73}{space 4}-.1869498{col 86}{space 3} .1929501
{txt}{space 31} {c |}
{space 7}c.perc_disp_1946#c.neg_C {c |}{col 33}{res}{space 2}-.0591963{col 45}{space 2} .0489059{col 56}{space 1}   -1.21{col 65}{space 3}0.227{col 73}{space 4}-.1553024{col 86}{space 3} .0369098
{txt}{space 31} {c |}
{space 5}c.lpop_counter#c.inv_neg_P {c |}{col 33}{res}{space 2} .0085695{col 45}{space 2} .0033619{col 56}{space 1}    2.55{col 65}{space 3}0.011{col 73}{space 4} .0019629{col 86}{space 3} .0151762
{txt}{space 31} {c |}
c.perc_male_counter#c.inv_neg_P {c |}{col 33}{res}{space 2}  .000789{col 45}{space 2} .0004623{col 56}{space 1}    1.71{col 65}{space 3}0.089{col 73}{space 4}-.0001195{col 86}{space 3} .0016976
{txt}{space 31} {c |}
{space 3}c.perc_disp_1946#c.inv_neg_P {c |}{col 33}{res}{space 2} .0009633{col 45}{space 2} .0003441{col 56}{space 1}    2.80{col 65}{space 3}0.005{col 73}{space 4} .0002871{col 86}{space 3} .0016395
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Included instruments:{col 23}g0_C g1_C g2_C g0_P g1_P g2_P c.perc_v_e_g0#c.aut_C
{col 23}c.perc_v_e_g1#c.aut_C c.perc_v_e_g2#c.aut_C
{col 23}c.perc_v_e_g0#c.inv_aut_P c.perc_v_e_g1#c.inv_aut_P
{col 23}c.perc_v_e_g2#c.inv_aut_P c.perc_v_e_g0#c.nat_C
{col 23}c.perc_v_e_g1#c.nat_C c.perc_v_e_g2#c.nat_C
{col 23}c.perc_v_e_g0#c.inv_nat_P c.perc_v_e_g1#c.inv_nat_P
{col 23}c.perc_v_e_g2#c.inv_nat_P c.perc_b_1903_1912#c.neg_C
{col 23}c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C
{col 23}c.perc_b_1903_1912#c.aut_C c.perc_b_1913_1922#c.aut_C
{col 23}c.perc_b_1923_1932#c.aut_C c.perc_b_1903_1912#c.nat_C
{col 23}c.perc_b_1913_1922#c.nat_C c.perc_b_1923_1932#c.nat_C
{col 23}c.perc_b_1903_1912#c.inv_neg_P
{col 23}c.perc_b_1913_1922#c.inv_neg_P
{col 23}c.perc_b_1923_1932#c.inv_neg_P
{col 23}c.perc_b_1903_1912#c.inv_aut_P
{col 23}c.perc_b_1913_1922#c.inv_aut_P
{col 23}c.perc_b_1923_1932#c.inv_aut_P
{col 23}c.perc_b_1903_1912#c.inv_nat_P
{col 23}c.perc_b_1913_1922#c.inv_nat_P
{col 23}c.perc_b_1923_1932#c.inv_nat_P c.lpop_counter#c.neg_C
{col 23}c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C
{col 23}c.lpop_counter#c.inv_neg_P c.perc_male_counter#c.inv_neg_P
{col 23}c.perc_disp_1946#c.inv_neg_P
{help ivreg2##partial:Partialled-out}:{col 23}lpop_counter perc_fore perc_b_1928_1945 perc_b_1946_1964
{col 23}perc_b_1965_1980 perc_b_1981_1996 perc_male_counter
{col 23}perc_bacplus perc_bluecollar perc_chom lrev_median lrev_sd
{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}   com_party{col 14}{c |}{space 1}     6468{col 27}{space 1}     6468{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      520{col 27}{space 1}        0{col 39}{result}{space 1}      520{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}. 
. estimates store Pneg_A_party_RF
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}9.2892633
{txt}
{com}. 
. // Other aspects -> Second-Stage
. 
. cap drop g0_C
{txt}
{com}. cap drop g1_C
{txt}
{com}. cap drop g2_C
{txt}
{com}. g g0_C=perc_v_i_g0*neg_C
{txt}(3,696 missing values generated)

{com}. g g1_C=perc_v_i_g1*neg_C
{txt}(3,696 missing values generated)

{com}. g g2_C=perc_v_i_g2*neg_C
{txt}(3,696 missing values generated)

{com}. 
. cap drop g0_P
{txt}
{com}. cap drop g1_P
{txt}
{com}. cap drop g2_P
{txt}
{com}. g g0_P=perc_v_i_g0*inv_neg_P
{txt}
{com}. g g1_P=perc_v_i_g1*inv_neg_P
{txt}
{com}. g g2_P=perc_v_i_g2*inv_neg_P
{txt}
{com}. 
. ivreghdfe perc_ins ///
>         (g0_C g1_C g2_C g0_P g1_P g2_P ///
>         c.perc_v_i_g0#c.aut_C c.perc_v_i_g1#c.aut_C c.perc_v_i_g2#c.aut_C c.perc_v_i_g0#c.inv_aut_P c.perc_v_i_g1#c.inv_aut_P c.perc_v_i_g2#c.inv_aut_P ///
>         c.perc_v_i_g0#c.nat_C c.perc_v_i_g1#c.nat_C c.perc_v_i_g2#c.nat_C c.perc_v_i_g0#c.inv_nat_P c.perc_v_i_g1#c.inv_nat_P c.perc_v_i_g2#c.inv_nat_P = ///
>         c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C c.perc_v_e_g2#c.neg_C c.perc_v_e_g0#c.inv_neg_P c.perc_v_e_g1#c.inv_neg_P c.perc_v_e_g2#c.inv_neg_P ///
>         c.perc_v_e_g0#c.aut_C c.perc_v_e_g1#c.aut_C c.perc_v_e_g2#c.aut_C c.perc_v_e_g0#c.inv_aut_P c.perc_v_e_g1#c.inv_aut_P c.perc_v_e_g2#c.inv_aut_P ///
>         c.perc_v_e_g0#c.nat_C c.perc_v_e_g1#c.nat_C c.perc_v_e_g2#c.nat_C c.perc_v_e_g0#c.inv_nat_P c.perc_v_e_g1#c.inv_nat_P c.perc_v_e_g2#c.inv_nat_P) ///
>         c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C c.perc_b_1923_1932#c.neg_C /// 
>         c.perc_b_1903_1912#c.aut_C c.perc_b_1913_1922#c.aut_C c.perc_b_1923_1932#c.aut_C /// 
>         c.perc_b_1903_1912#c.nat_C c.perc_b_1913_1922#c.nat_C c.perc_b_1923_1932#c.nat_C /// 
>         c.perc_b_1903_1912#c.inv_neg_P c.perc_b_1913_1922#c.inv_neg_P c.perc_b_1923_1932#c.inv_neg_P ///
>         c.perc_b_1903_1912#c.inv_aut_P c.perc_b_1913_1922#c.inv_aut_P c.perc_b_1923_1932#c.inv_aut_P ///
>         c.perc_b_1903_1912#c.inv_nat_P c.perc_b_1913_1922#c.inv_nat_P c.perc_b_1923_1932#c.inv_nat_P ///
>         $w $ctrl_neg_C $ctrl_inv_neg_P ///
>         if sample==3, cluster(com) a(com_party trend) partial($w) // keepsing old
{res}{txt}(dropped 8316 {browse "http://scorreia.com/research/singletons.pdf":singleton observations})
{res}{txt}({browse "http://scorreia.com/research/hdfe.pdf":MWFE estimator} converged in 2 iterations)
{res}
{txt}IV (2SLS) estimation
{hline 20}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on com

Number of clusters (com) = {col 33}{res}   462{txt}{col 55}Number of obs = {res}   30030
{txt}{col 55}F( 42,   461) = {res}    4.85
{txt}{col 55}Prob > F      = {res}  0.0000
{txt}Total (centered) SS     = {res} 293142.4014{txt}{col 55}Centered R2   = {res} -0.0155
{txt}Total (uncentered) SS   = {res} 293142.4014{txt}{col 55}Uncentered R2 = {res} -0.0155
{txt}Residual SS             = {res} 297672.2229{txt}{col 55}Root MSE      = {res}   3.179

{txt}{hline 32}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 33}{c |}{col 45}    Robust
{col 1}                       perc_ins{col 33}{c |} Coefficient{col 45}  std. err.{col 57}      t{col 65}   P>|t|{col 73}     [95% con{col 86}f. interval]
{hline 32}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}g0_C {c |}{col 33}{res}{space 2} 4.112658{col 45}{space 2} 1.349359{col 56}{space 1}    3.05{col 65}{space 3}0.002{col 73}{space 4} 1.461001{col 86}{space 3} 6.764315
{txt}{space 27}g1_C {c |}{col 33}{res}{space 2} 1.600174{col 45}{space 2} .4523349{col 56}{space 1}    3.54{col 65}{space 3}0.000{col 73}{space 4}   .71128{col 86}{space 3} 2.489067
{txt}{space 27}g2_C {c |}{col 33}{res}{space 2} .1955351{col 45}{space 2} .3088155{col 56}{space 1}    0.63{col 65}{space 3}0.527{col 73}{space 4}-.4113255{col 86}{space 3} .8023957
{txt}{space 27}g0_P {c |}{col 33}{res}{space 2} -.009412{col 45}{space 2} .0051902{col 56}{space 1}   -1.81{col 65}{space 3}0.070{col 73}{space 4}-.0196115{col 86}{space 3} .0007874
{txt}{space 27}g1_P {c |}{col 33}{res}{space 2} -.019398{col 45}{space 2} .0054078{col 56}{space 1}   -3.59{col 65}{space 3}0.000{col 73}{space 4} -.030025{col 86}{space 3} -.008771
{txt}{space 27}g2_P {c |}{col 33}{res}{space 2} .0021637{col 45}{space 2} .0035882{col 56}{space 1}    0.60{col 65}{space 3}0.547{col 73}{space 4}-.0048875{col 86}{space 3} .0092149
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g0#c.aut_C {c |}{col 33}{res}{space 2} 2.348184{col 45}{space 2}  3.81498{col 56}{space 1}    0.62{col 65}{space 3}0.539{col 73}{space 4}-5.148723{col 86}{space 3} 9.845091
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g1#c.aut_C {c |}{col 33}{res}{space 2} .5865813{col 45}{space 2} 1.061085{col 56}{space 1}    0.55{col 65}{space 3}0.581{col 73}{space 4} -1.49858{col 86}{space 3} 2.671743
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g2#c.aut_C {c |}{col 33}{res}{space 2} 2.679674{col 45}{space 2} .7700615{col 56}{space 1}    3.48{col 65}{space 3}0.001{col 73}{space 4} 1.166408{col 86}{space 3} 4.192939
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g0#c.inv_aut_P {c |}{col 33}{res}{space 2} .0109212{col 45}{space 2} .0133831{col 56}{space 1}    0.82{col 65}{space 3}0.415{col 73}{space 4}-.0153782{col 86}{space 3} .0372205
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g1#c.inv_aut_P {c |}{col 33}{res}{space 2} .0299524{col 45}{space 2} .0068404{col 56}{space 1}    4.38{col 65}{space 3}0.000{col 73}{space 4} .0165101{col 86}{space 3} .0433946
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g2#c.inv_aut_P {c |}{col 33}{res}{space 2}-.0039231{col 45}{space 2} .0030581{col 56}{space 1}   -1.28{col 65}{space 3}0.200{col 73}{space 4}-.0099327{col 86}{space 3} .0020864
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g0#c.nat_C {c |}{col 33}{res}{space 2}-1.245059{col 45}{space 2} 1.903253{col 56}{space 1}   -0.65{col 65}{space 3}0.513{col 73}{space 4}-4.985185{col 86}{space 3} 2.495067
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g1#c.nat_C {c |}{col 33}{res}{space 2} 1.167607{col 45}{space 2} .8478045{col 56}{space 1}    1.38{col 65}{space 3}0.169{col 73}{space 4}-.4984331{col 86}{space 3} 2.833647
{txt}{space 31} {c |}
{space 10}c.perc_v_i_g2#c.nat_C {c |}{col 33}{res}{space 2} 1.233065{col 45}{space 2}  .582562{col 56}{space 1}    2.12{col 65}{space 3}0.035{col 73}{space 4} .0882587{col 86}{space 3} 2.377871
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g0#c.inv_nat_P {c |}{col 33}{res}{space 2} -.045439{col 45}{space 2} .0245861{col 56}{space 1}   -1.85{col 65}{space 3}0.065{col 73}{space 4}-.0937536{col 86}{space 3} .0028757
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g1#c.inv_nat_P {c |}{col 33}{res}{space 2}-.0487395{col 45}{space 2} .0107251{col 56}{space 1}   -4.54{col 65}{space 3}0.000{col 73}{space 4}-.0698155{col 86}{space 3}-.0276634
{txt}{space 31} {c |}
{space 6}c.perc_v_i_g2#c.inv_nat_P {c |}{col 33}{res}{space 2} .0084125{col 45}{space 2} .0053992{col 56}{space 1}    1.56{col 65}{space 3}0.120{col 73}{space 4}-.0021977{col 86}{space 3} .0190227
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.neg_C {c |}{col 33}{res}{space 2} .3797007{col 45}{space 2} .1887704{col 56}{space 1}    2.01{col 65}{space 3}0.045{col 73}{space 4} .0087436{col 86}{space 3} .7506578
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.neg_C {c |}{col 33}{res}{space 2} .3504721{col 45}{space 2} .3347583{col 56}{space 1}    1.05{col 65}{space 3}0.296{col 73}{space 4}-.3073692{col 86}{space 3} 1.008313
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.neg_C {c |}{col 33}{res}{space 2} .3571417{col 45}{space 2} .3065624{col 56}{space 1}    1.16{col 65}{space 3}0.245{col 73}{space 4}-.2452911{col 86}{space 3} .9595746
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.aut_C {c |}{col 33}{res}{space 2} .3782467{col 45}{space 2} .3582817{col 56}{space 1}    1.06{col 65}{space 3}0.292{col 73}{space 4}-.3258209{col 86}{space 3} 1.082314
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.aut_C {c |}{col 33}{res}{space 2} .2012346{col 45}{space 2} .6911326{col 56}{space 1}    0.29{col 65}{space 3}0.771{col 73}{space 4}-1.156926{col 86}{space 3} 1.559395
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.aut_C {c |}{col 33}{res}{space 2} .5341506{col 45}{space 2} .8784078{col 56}{space 1}    0.61{col 65}{space 3}0.543{col 73}{space 4}-1.192029{col 86}{space 3}  2.26033
{txt}{space 31} {c |}
{space 5}c.perc_b_1903_1912#c.nat_C {c |}{col 33}{res}{space 2} .6426425{col 45}{space 2} .4022483{col 56}{space 1}    1.60{col 65}{space 3}0.111{col 73}{space 4}-.1478249{col 86}{space 3}  1.43311
{txt}{space 31} {c |}
{space 5}c.perc_b_1913_1922#c.nat_C {c |}{col 33}{res}{space 2}  .194587{col 45}{space 2} .7041695{col 56}{space 1}    0.28{col 65}{space 3}0.782{col 73}{space 4}-1.189193{col 86}{space 3} 1.578367
{txt}{space 31} {c |}
{space 5}c.perc_b_1923_1932#c.nat_C {c |}{col 33}{res}{space 2}  1.75531{col 45}{space 2} .6337596{col 56}{space 1}    2.77{col 65}{space 3}0.006{col 73}{space 4} .5098941{col 86}{space 3} 3.000725
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_neg_P {c |}{col 33}{res}{space 2} .0006108{col 45}{space 2} .0008604{col 56}{space 1}    0.71{col 65}{space 3}0.478{col 73}{space 4}  -.00108{col 86}{space 3} .0023017
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0033909{col 45}{space 2} .0016434{col 56}{space 1}   -2.06{col 65}{space 3}0.040{col 73}{space 4}-.0066204{col 86}{space 3}-.0001613
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_neg_P {c |}{col 33}{res}{space 2} .0021642{col 45}{space 2} .0014572{col 56}{space 1}    1.49{col 65}{space 3}0.138{col 73}{space 4}-.0006993{col 86}{space 3} .0050278
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_aut_P {c |}{col 33}{res}{space 2}-.0002322{col 45}{space 2} .0012276{col 56}{space 1}   -0.19{col 65}{space 3}0.850{col 73}{space 4}-.0026446{col 86}{space 3} .0021802
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_aut_P {c |}{col 33}{res}{space 2} .0032014{col 45}{space 2} .0023598{col 56}{space 1}    1.36{col 65}{space 3}0.176{col 73}{space 4} -.001436{col 86}{space 3} .0078388
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_aut_P {c |}{col 33}{res}{space 2}-.0010444{col 45}{space 2} .0023622{col 56}{space 1}   -0.44{col 65}{space 3}0.659{col 73}{space 4}-.0056865{col 86}{space 3} .0035977
{txt}{space 31} {c |}
{space 1}c.perc_b_1903_1912#c.inv_nat_P {c |}{col 33}{res}{space 2} .0008236{col 45}{space 2} .0016959{col 56}{space 1}    0.49{col 65}{space 3}0.627{col 73}{space 4}-.0025091{col 86}{space 3} .0041563
{txt}{space 31} {c |}
{space 1}c.perc_b_1913_1922#c.inv_nat_P {c |}{col 33}{res}{space 2}-.0069126{col 45}{space 2} .0032578{col 56}{space 1}   -2.12{col 65}{space 3}0.034{col 73}{space 4}-.0133147{col 86}{space 3}-.0005106
{txt}{space 31} {c |}
{space 1}c.perc_b_1923_1932#c.inv_nat_P {c |}{col 33}{res}{space 2}  .003858{col 45}{space 2} .0030878{col 56}{space 1}    1.25{col 65}{space 3}0.212{col 73}{space 4}  -.00221{col 86}{space 3}  .009926
{txt}{space 31} {c |}
{space 9}c.lpop_counter#c.neg_C {c |}{col 33}{res}{space 2} 1.080776{col 45}{space 2} .4670875{col 56}{space 1}    2.31{col 65}{space 3}0.021{col 73}{space 4} .1628918{col 86}{space 3} 1.998661
{txt}{space 31} {c |}
{space 4}c.perc_male_counter#c.neg_C {c |}{col 33}{res}{space 2}-.0090738{col 45}{space 2} .0919905{col 56}{space 1}   -0.10{col 65}{space 3}0.921{col 73}{space 4}-.1898464{col 86}{space 3} .1716988
{txt}{space 31} {c |}
{space 7}c.perc_disp_1946#c.neg_C {c |}{col 33}{res}{space 2} .0404234{col 45}{space 2} .0595058{col 56}{space 1}    0.68{col 65}{space 3}0.497{col 73}{space 4}-.0765129{col 86}{space 3} .1573597
{txt}{space 31} {c |}
{space 5}c.lpop_counter#c.inv_neg_P {c |}{col 33}{res}{space 2} .0061873{col 45}{space 2} .0042766{col 56}{space 1}    1.45{col 65}{space 3}0.149{col 73}{space 4}-.0022166{col 86}{space 3} .0145913
{txt}{space 31} {c |}
c.perc_male_counter#c.inv_neg_P {c |}{col 33}{res}{space 2} .0001188{col 45}{space 2} .0006714{col 56}{space 1}    0.18{col 65}{space 3}0.860{col 73}{space 4}-.0012006{col 86}{space 3} .0014382
{txt}{space 31} {c |}
{space 3}c.perc_disp_1946#c.inv_neg_P {c |}{col 33}{res}{space 2}-.0008845{col 45}{space 2} .0006128{col 56}{space 1}   -1.44{col 65}{space 3}0.150{col 73}{space 4}-.0020887{col 86}{space 3} .0003196
{txt}{hline 32}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  69.182
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0000
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 223.609
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}   5.161
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 64}<not available>
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}g0_C g1_C g2_C g0_P g1_P g2_P c.perc_v_i_g0#c.aut_C
{col 23}c.perc_v_i_g1#c.aut_C c.perc_v_i_g2#c.aut_C
{col 23}c.perc_v_i_g0#c.inv_aut_P c.perc_v_i_g1#c.inv_aut_P
{col 23}c.perc_v_i_g2#c.inv_aut_P c.perc_v_i_g0#c.nat_C
{col 23}c.perc_v_i_g1#c.nat_C c.perc_v_i_g2#c.nat_C
{col 23}c.perc_v_i_g0#c.inv_nat_P c.perc_v_i_g1#c.inv_nat_P
{col 23}c.perc_v_i_g2#c.inv_nat_P
Included instruments:{col 23}c.perc_b_1903_1912#c.neg_C c.perc_b_1913_1922#c.neg_C
{col 23}c.perc_b_1923_1932#c.neg_C c.perc_b_1903_1912#c.aut_C
{col 23}c.perc_b_1913_1922#c.aut_C c.perc_b_1923_1932#c.aut_C
{col 23}c.perc_b_1903_1912#c.nat_C c.perc_b_1913_1922#c.nat_C
{col 23}c.perc_b_1923_1932#c.nat_C c.perc_b_1903_1912#c.inv_neg_P
{col 23}c.perc_b_1913_1922#c.inv_neg_P
{col 23}c.perc_b_1923_1932#c.inv_neg_P
{col 23}c.perc_b_1903_1912#c.inv_aut_P
{col 23}c.perc_b_1913_1922#c.inv_aut_P
{col 23}c.perc_b_1923_1932#c.inv_aut_P
{col 23}c.perc_b_1903_1912#c.inv_nat_P
{col 23}c.perc_b_1913_1922#c.inv_nat_P
{col 23}c.perc_b_1923_1932#c.inv_nat_P c.lpop_counter#c.neg_C
{col 23}c.perc_male_counter#c.neg_C c.perc_disp_1946#c.neg_C
{col 23}c.lpop_counter#c.inv_neg_P c.perc_male_counter#c.inv_neg_P
{col 23}c.perc_disp_1946#c.inv_neg_P
Excluded instruments:{col 23}c.perc_v_e_g0#c.neg_C c.perc_v_e_g1#c.neg_C
{col 23}c.perc_v_e_g2#c.neg_C c.perc_v_e_g0#c.inv_neg_P
{col 23}c.perc_v_e_g1#c.inv_neg_P c.perc_v_e_g2#c.inv_neg_P
{col 23}c.perc_v_e_g0#c.aut_C c.perc_v_e_g1#c.aut_C
{col 23}c.perc_v_e_g2#c.aut_C c.perc_v_e_g0#c.inv_aut_P
{col 23}c.perc_v_e_g1#c.inv_aut_P c.perc_v_e_g2#c.inv_aut_P
{col 23}c.perc_v_e_g0#c.nat_C c.perc_v_e_g1#c.nat_C
{col 23}c.perc_v_e_g2#c.nat_C c.perc_v_e_g0#c.inv_nat_P
{col 23}c.perc_v_e_g1#c.inv_nat_P c.perc_v_e_g2#c.inv_nat_P
{help ivreg2##partial:Partialled-out}:{col 23}lpop_counter perc_fore perc_b_1928_1945 perc_b_1946_1964
{col 23}perc_b_1965_1980 perc_b_1981_1996 perc_male_counter
{col 23}perc_bacplus perc_bluecollar perc_chom lrev_median lrev_sd
{col 23}_cons
{col 23}nb: total SS, model F and R2s are after partialling-out;
{col 23}    any {help ivreg2##s_small:small-sample adjustments} include partialled-out
{col 23}    variables in regressor count K
{hline 78}
{res}
{txt}Absorbed degrees of freedom:
{res}{col 1}{text}{hline 13}{c TT}{hline 12}{hline 12}{hline 14}{hline 1}{c TRC}
{col 1}{text} Absorbed FE{col 14}{c |} Categories{col 27} - Redundant{col 39}  = Num. Coefs{col 54}{c |}
{res}{col 1}{text}{hline 13}{c +}{hline 12}{hline 12}{hline 14}{hline 1}{c RT}
{col 1}{text}   com_party{col 14}{c |}{space 1}     6468{col 27}{space 1}     6468{col 39}{result}{space 1}        0{col 53}{text}*{col 54}{c |}
{res}{col 1}{text}       trend{col 14}{c |}{space 1}      520{col 27}{space 1}        0{col 39}{result}{space 1}      520{col 53}{text} {col 54}{c |}
{res}{col 1}{text}{hline 13}{c BT}{hline 12}{hline 12}{hline 14}{hline 1}{c BRC}
* = FE nested within cluster; treated as redundant for DoF computation
{res}{txt}
{com}.         
. estimates store Pneg_A_party_SS
{txt}
{com}. scalar f = e(rkf)
{txt}
{com}. estadd scalar F_fs=f

{txt}added scalar:
               e(F_fs) =  {res}5.1605091
{txt}
{com}. scalar f_under=e(idstat)
{txt}
{com}. estadd scalar F_u=f_under

{txt}added scalar:
                e(F_u) =  {res}69.182361
{txt}
{com}. qui sum perc_ins if e(sample)
{txt}
{com}. scalar mean_y=r(mean)
{txt}
{com}. estadd scalar mean_y

{txt}added scalar:
             e(mean_y) =  {res}9.2892633
{txt}
{com}. 
. ******************************
. ***** 3. TABLE FOR PAPER *****
. ******************************
. 
. // Fixed effects
. 
. estfe . Pneg*, labels(com_year "Municipality $ \times $ election FE" com_party "Municipality $ \times $ party FE" trend "Candidate FE")
{res}{txt}
{com}. return list

{txt}macros:
        r(indicate_fe) : "{res} "Municipality $ \times $ election FE=0.com_year"  "Municipality $ \times $ party FE=0.com_party"  "Candidate FE=0.trend" {txt}"

{com}. 
. // Labels
. 
. la var g0_C "Self (\%) $ \times $ Radical"
{txt}
{com}. la var g1_C "[0.3em] Father (\%) $ \times $ Radical"
{txt}
{com}. la var g2_C "[0.3em] Grandfather (\%) $ \times $ Radical"
{txt}
{com}. la var g0_P "[0.3em] Self (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ "
{txt}
{com}. la var g1_P "[0.3em] Father (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ "
{txt}
{com}. la var g2_P "[0.3em] Grandfather (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ "
{txt}
{com}. 
. // Radical-Right
. 
. estout Pneg_C_annee_RF Pneg_C_annee_SS Pneg_C_party_RF Pneg_C_party_SS Pneg_A_party_RF Pneg_A_party_SS /// 
>         using "$results\\$program.tex", replace style(tex) type label ///
>         cells(b(star fmt(%9.3f)) se(par fmt(%9.3f)))  ///
>         collabels(none) ///
>         mlabels(, span none prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-})) ///
>         msign(--) starlevels(* .1 ** .05 *** .01) ///
>         keep(g0_C g1_C g2_C g0_P g1_P g2_P) ///
>         title(From abstention to radical support: Intergenerational transmission) ///
>         prehead("\begin{c -(}table{c )-}[t!]" ///
>         "\begin{c -(}center{c )-}" ///
>         "\begin{c -(}threeparttable{c )-}" ///
>         "\begin{c -(}scriptsize{c )-}" ///
>         "\caption{c -(}@title\label{c -(}$program{c )-}{c )-}" ///
>         "\begin{c -(}tabular*{c )-}{c -(}\columnwidth{c )-}{c -(}@{c -(}\extracolsep{c -(}\stretch{c -(}1{c )-}{c )-}{c )-}l*{c -(}@M{c )-}{c -(}c{c )-}@{c -(}{c )-}{c )-}" ///
>         "\hline" "\hline" ///
>         "&\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(1){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(2){c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(3){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(4){c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(5){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(6){c )-} \\" /// 
>         "\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Dep. Variable{c )-}{c )-} &\multicolumn{c -(}6{c )-}{c -(}c{c )-}{c -(}Vote share{c )-}\\" ///
>         "\cmidrule(lr){c -(}2-7{c )-}" ///
>         "\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Specification{c )-}{c )-}&\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Across candidates{c )-} &\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Across time{c )-} &\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Other positions{c )-}\\" ///
>         "\cmidrule(lr){c -(}2-3{c )-} \cmidrule(lr){c -(}4-5{c )-} \cmidrule(lr){c -(}6-7{c )-}" ///
>         "\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Estimation{c )-}{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-}          &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}    &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}     &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-} \\" ///   
>         "&\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}               &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}               &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-} \\") /// 
>         posthead("\hline" ///
>         "\\" ///
>         "Eligible (RF) | Conscription (2SLS) \\" ///
>         "\cline{c -(}1-1{c )-}" ///
>         "\\") ///
>         prefoot("") ///
>         postfoot("")
{res}
\begin{c -(}table{c )-}[t!]
\begin{c -(}center{c )-}
\begin{c -(}threeparttable{c )-}
\begin{c -(}scriptsize{c )-}
\caption{c -(}From abstention to radical support: Intergenerational transmission\label{c -(}EEREV-D-21-00004_TableC16{c )-}{c )-}
\begin{c -(}tabular*{c )-}{c -(}\columnwidth{c )-}{c -(}@{c -(}\extracolsep{c -(}\stretch{c -(}1{c )-}{c )-}{c )-}l*{c -(}6{c )-}{c -(}c{c )-}@{c -(}{c )-}{c )-}
\hline
\hline
&\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(1){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(2){c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(3){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(4){c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(5){c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}(6){c )-} \\
\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Dep. Variable{c )-}{c )-} &\multicolumn{c -(}6{c )-}{c -(}c{c )-}{c -(}Vote share{c )-}\\
\cmidrule(lr){c -(}2-7{c )-}
\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Specification{c )-}{c )-}&\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Across candidates{c )-} &\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Across time{c )-} &\multicolumn{c -(}2{c )-}{c -(}c{c )-}{c -(}Other positions{c )-}\\
\cmidrule(lr){c -(}2-3{c )-} \cmidrule(lr){c -(}4-5{c )-} \cmidrule(lr){c -(}6-7{c )-}
\multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}\textit{c -(}Estimation{c )-}{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-}          &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}    &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Reduced{c )-}     &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Two-stage{c )-} \\
&\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}               &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}form{c )-}               &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}least-squares{c )-} \\
\hline
\\
Eligible (RF) | Conscription (2SLS) \\
\cline{c -(}1-1{c )-}
\\
Self (\%) $ \times $ Radical&       0.339** &       2.174** &       0.422***&       3.108***&       0.640***&       4.113***\\
                    &     (0.172)   &     (0.977)   &     (0.100)   &     (0.802)   &     (0.175)   &     (1.349)   \\
[0.3em] Father (\%) $ \times $ Radical&       0.051   &       0.129   &       0.316***&       1.417***&       0.357***&       1.600***\\
                    &     (0.055)   &     (0.236)   &     (0.081)   &     (0.447)   &     (0.100)   &     (0.452)   \\
[0.3em] Grandfather (\%) $ \times $ Radical&       0.053   &       0.162   &       0.037   &     --0.037   &       0.101   &       0.196   \\
                    &     (0.035)   &     (0.128)   &     (0.052)   &     (0.207)   &     (0.072)   &     (0.309)   \\
[0.3em] Self (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ &               &               &     --0.003***&     --0.020***&     --0.001   &     --0.009*  \\
                    &               &               &     (0.001)   &     (0.006)   &     (0.001)   &     (0.005)   \\
[0.3em] Father (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ &               &               &     --0.002***&     --0.012***&     --0.003***&     --0.019***\\
                    &               &               &     (0.001)   &     (0.004)   &     (0.001)   &     (0.005)   \\
[0.3em] Grandfather (\%) $ \times \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ &               &               &       0.005***&       0.018***&       0.000   &       0.002   \\
                    &               &               &     (0.001)   &     (0.003)   &     (0.001)   &     (0.004)   \\


{txt}(output written to {browse  `"D:\Dropbox\SVLACHOS\Research\Malgre_nous\Replication_files\Results\EEREV-D-21-00004_TableC16.tex"'})

{com}. 
. // Closure
. 
. estout Pneg_C_annee_RF Pneg_C_annee_SS Pneg_C_party_RF Pneg_C_party_SS Pneg_A_party_RF Pneg_A_party_SS /// 
>         using "$results\\$program.tex", append style(tex) type label ///
>         cells(b(star fmt(%9.3f)) se(par fmt(%9.3f)))  ///
>         stats(F_fs F_u N N_clust, lab("First-stage F-statistic" "Underidentification $ F $-statistic" "Observations" "Clusters") fmt(2 2 %9.0fc %9.0fc)) /// N_clust "Clusters" 0
>         collabels(none) ///
>         mlabels(, span none prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-})) ///
>         msign(--) starlevels(* .1 ** .05 *** .01) ///
>         drop(*) ///
>         indicate( ///
>         "\\ Candidate-border segment FE = 0.trend" /// 
>         "Election $ \times $ Municipality FE = 0.com_year" ///
>         "Party $ \times $ Municipality FE = 0.com_party" /// 
>         "Contemporary controls = c.lpop_counter#c.inv_neg_P" ///
>         , labels(Yes )) ///
>         prehead("") ///
>         posthead("") ///
>         prefoot("\hline") ///
>         postfoot("\hline" "\hline" ///
>         "\end{c -(}tabular*{c )-}" /// 
>         "\end{c -(}scriptsize{c )-}" ///
>         "\begin{c -(}tablenotes{c )-}[normal,flushleft]" ///
>         "\begin{c -(}scriptsize{c )-}" ///
>         "\item \emph{c -(}Notes{c )-}:" /// 
>         "2SLS estimates of the effect of conscription into the Wehrmacht on support for radical candidates across space and time, by generation. " ///
>         "The unit of observation is a municipality $ \times $ election $ \times $ candidate. " ///
>         "Standard errors clustered at the municipality $ \times $ election in parentheses. " ///
>         "Columns (1) and (3): Reduced-form estimates; " ///
>         "Columns (2) and (4): 2SLS estimates. " ///
>         "Columns (1) and (2): 2SLS estimates for candidate vote shares within municipality and election (across candidates); " ///
>         "Columns (3) and (4): 2SLS estimates for candidate vote shares within municipality and party (across time). " ///
>         "First-stage F-statistic is the Kleibergen-Paap rk Wald F-statistic of the first-stage estimation with Eligible births (\%) $ \times $ Radical and " ///
>         "Eligible births (\%) $ \times $ $ \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ as the exogenous instruments. " ///
>         "* significant at 10\%; ** at 5\%; *** at 1\%. " ///    
>         "\end{c -(}scriptsize{c )-}" ///
>         "\end{c -(}tablenotes{c )-}" ///
>         "\end{c -(}threeparttable{c )-} " ///
>         "\end{c -(}center{c )-}" ///
>         "\end{c -(}table{c )-}")
{res}


\\ Candidate-border segment FE &         Yes   &         Yes   &         Yes   &         Yes   &         Yes   &         Yes   \\
Election $ \times $ Municipality FE &         Yes   &         Yes   &               &               &               &               \\
Party $ \times $ Municipality FE &               &               &         Yes   &         Yes   &         Yes   &         Yes   \\
Contemporary controls &               &               &         Yes   &         Yes   &         Yes   &         Yes   \\
\hline
First-stage F-statistic&               &       82.07   &               &       15.23   &               &        5.16   \\
Underidentification $ F $-statistic&               &      184.35   &               &       76.90   &               &       69.18   \\
Observations        &      38,346   &      38,346   &      30,030   &      30,030   &      30,030   &      30,030   \\
Clusters            &       3,696   &       3,696   &         462   &         462   &         462   &         462   \\
\hline
\hline
\end{c -(}tabular*{c )-}
\end{c -(}scriptsize{c )-}
\begin{c -(}tablenotes{c )-}[normal,flushleft]
\begin{c -(}scriptsize{c )-}
\item \emph{c -(}Notes{c )-}:
2SLS estimates of the effect of conscription into the Wehrmacht on support for radical candidates across space and time, by generation. 
The unit of observation is a municipality $ \times $ election $ \times $ candidate. 
Standard errors clustered at the municipality $ \times $ election in parentheses. 
Columns (1) and (3): Reduced-form estimates; 
Columns (2) and (4): 2SLS estimates. 
Columns (1) and (2): 2SLS estimates for candidate vote shares within municipality and election (across candidates); 
Columns (3) and (4): 2SLS estimates for candidate vote shares within municipality and party (across time). 
First-stage F-statistic is the Kleibergen-Paap rk Wald F-statistic of the first-stage estimation with Eligible births (\%) $ \times $ Radical and 
Eligible births (\%) $ \times $ $ \left( \Delta \text{c -(}Radical{c )-} \right)^{c -(}-1{c )-} $ as the exogenous instruments. 
* significant at 10\%; ** at 5\%; *** at 1\%. 
\end{c -(}scriptsize{c )-}
\end{c -(}tablenotes{c )-}
\end{c -(}threeparttable{c )-} 
\end{c -(}center{c )-}
\end{c -(}table{c )-}
{txt}(output written to {browse  `"D:\Dropbox\SVLACHOS\Research\Malgre_nous\Replication_files\Results\EEREV-D-21-00004_TableC16.tex"'})

{com}. 
. cap log close
{smcl}
{com}{sf}{ul off}