{smcl}
{com}{sf}{ul off}{txt}
{com}. 
. **** REPLICATION OF TABLE B6 ****
. 
. 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. DESCRIPTIVES TABLE
> */
. 
. *********************************
. ***** 1. DESCRIPTIVES TABLE *****
. *********************************
. 
. // Import inter-regional data
. 
. use $data\EEREV-D-21-00004_Data_Interreg.dta, clear
{txt}
{com}. 
. keep if dep_inc==1
{txt}(223,410 observations deleted)

{com}. 
. // Controls
. 
. replace male=. if sex==.
{txt}(0 real changes made)

{com}. 
. // Macros for sample
. 
. global outcomes "confiance1 confiance2 confiance4 confiance5 confianceconfiance6 confiance9 confiance11 proximiteFN proximiteRPR proximitePS proximiteUDF proximiteECO proximiteCOM proximiteNA"
{txt}
{com}. global controls_i "birthyr i.nationalite_pop i.religion i.anciennete annee"
{txt}
{com}. 
. // Labels
. 
. la var annee                    "\\ Survey year"
{txt}
{com}. la var birthyr                  "[0.3em] Year-of-birth"
{txt}
{com}. la var alsace                   "[0.3em] Alsace"
{txt}
{com}. la var born_1908_1913   "\\ Born 1908-1913"
{txt}
{com}. la var born_1914_1927   "[0.3em] Born 1914-1927"
{txt}
{com}. la var male                     "[0.3em] Male"
{txt}
{com}. la var p_s_1908_1913    "[0.3em] Born 1908-1913: Husband"
{txt}
{com}. la var p_g1_1908_1913   "[0.3em] Born 1908-1913: Father"
{txt}
{com}. la var p_g2_1908_1913   "[0.3em] Born 1908-1913: Grandfather"
{txt}
{com}. 
. // Get stats
. 
. estpost tabstat ///
>         annee birthyr male alsace ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics)

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: annee birthyr male alsace

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(Mean)}{space 1}{space 1}{ralign 9:e(SD)}{space 1}{space 1}{ralign 9:e(Min)}{space 1}{space 1}{ralign 9:e(Max)}{space 1}{space 1}{ralign 9:e(p5)}{space 1}{space 1}{ralign 9:e(p50)}{space 1}{space 1}{ralign 9:e(p95)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:annee}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: 1994.722}}}{space 1}{space 1}{ralign 9:{res:{sf: 5.675492}}}{space 1}{space 1}{ralign 9:{res:{sf:     1985}}}{space 1}{space 1}{ralign 9:{res:{sf:     2004}}}{space 1}{space 1}{ralign 9:{res:{sf:     1986}}}{space 1}{space 1}{ralign 9:{res:{sf:     1995}}}{space 1}{space 1}{ralign 9:{res:{sf:     2003}}}{space 1}
{space 0}{space 0}{ralign 12:birthyr}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf:  1950.98}}}{space 1}{space 1}{ralign 9:{res:{sf: 17.88628}}}{space 1}{space 1}{ralign 9:{res:{sf:     1893}}}{space 1}{space 1}{ralign 9:{res:{sf:     1986}}}{space 1}{space 1}{ralign 9:{res:{sf:     1920}}}{space 1}{space 1}{ralign 9:{res:{sf:     1954}}}{space 1}{space 1}{ralign 9:{res:{sf:     1977}}}{space 1}
{space 0}{space 0}{ralign 12:male}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .4802635}}}{space 1}{space 1}{ralign 9:{res:{sf: .4996237}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:alsace}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .7221359}}}{space 1}{space 1}{ralign 9:{res:{sf:  .447958}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}

{com}.         
. matrix N=e(count)
{txt}
{com}. matrix m=e(Mean)
{txt}
{com}. matrix s=e(SD)
{txt}
{com}. matrix i=e(Min)
{txt}
{com}. matrix a=e(Max)
{txt}
{com}. matrix x=e(p5)
{txt}
{com}. matrix y=e(p50)
{txt}
{com}. matrix z=e(p95)
{txt}
{com}. 
. matrix obs = N'
{txt}
{com}. matrix mean=m'
{txt}
{com}. matrix sd=s'
{txt}
{com}. matrix min=i'
{txt}
{com}. matrix max=a'
{txt}
{com}. matrix p5=x'
{txt}
{com}. matrix p50=y'
{txt}
{com}. matrix p95=z'
{txt}
{com}. 
. matrix b = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b
{res}
{txt}b[4,8]
             count       Mean         SD        Min         p5        p50        p95        Max
  annee {res}     18671   1994.722  5.6754922       1985       1986       1995       2003       2004
{txt}birthyr {res}     18671  1950.9799  17.886279       1893       1920       1954       1977       1986
{txt}   male {res}     18671  .48026351   .4996237          0          0          0          1          1
{txt} alsace {res}     18671  .72213593  .44795801          0          0          1          1          1
{reset}
{com}. 
. // Export table
. 
. estout matrix(b, fmt(%9.0fc 2 2 0 0 0 0 0)) using ///
>         "$results\\$program.tex", replace style(tex) type label ///
>         unstack collabels(none) ///
>         mlabels(, none) ///
>         msign(--) ///
>         title(Interregional Survey of Political Phenomena: Data description) ///
>         prehead("\begin{c -(}table{c )-}[t!]" ///
>         "\begin{c -(}center{c )-}" ///
>         "\begin{c -(}threeparttable{c )-}" ///
>         "\begin{c -(}scriptsize{c )-}" ///
>         "\caption{c -(}@title{c )-}" ///
>         "\label{c -(}$program{c )-}"  /// 
>         "\begin{c -(}tabular*{c )-}{c -(}\columnwidth{c )-}{c -(}@{c -(}\extracolsep{c -(}\stretch{c -(}1{c )-}{c )-}{c )-}l*{c -(}8{c )-}{c -(}c{c )-}@{c -(}{c )-}{c )-}" ///
>         "\hline" "\hline" ///
>         "&\multicolumn{c -(}3{c )-}{c -(}c{c )-}{c -(}Statistics{c )-} &\multicolumn{c -(}5{c )-}{c -(}c{c )-}{c -(}Distribution{c )-}\\" ///
>         "\cmidrule(lr){c -(}2-4{c )-} \cmidrule(lr){c -(}5-9{c )-}" ///
>         "\textit{c -(}Variable{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Obs.{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Mean{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Std.Dev.{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Min{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}5th pctile{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Median{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}95th pctile{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Max{c )-}\\") ///
>         posthead("\hline" ///
>         "") ///
>         prefoot("") ///
>         postfoot("")
{res}
\begin{c -(}table{c )-}[t!]
\begin{c -(}center{c )-}
\begin{c -(}threeparttable{c )-}
\begin{c -(}scriptsize{c )-}
\caption{c -(}Interregional Survey of Political Phenomena: Data description{c )-}
\label{c -(}EEREV-D-21-00004_TableB6{c )-}
\begin{c -(}tabular*{c )-}{c -(}\columnwidth{c )-}{c -(}@{c -(}\extracolsep{c -(}\stretch{c -(}1{c )-}{c )-}{c )-}l*{c -(}8{c )-}{c -(}c{c )-}@{c -(}{c )-}{c )-}
\hline
\hline
&\multicolumn{c -(}3{c )-}{c -(}c{c )-}{c -(}Statistics{c )-} &\multicolumn{c -(}5{c )-}{c -(}c{c )-}{c -(}Distribution{c )-}\\
\cmidrule(lr){c -(}2-4{c )-} \cmidrule(lr){c -(}5-9{c )-}
\textit{c -(}Variable{c )-}      &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Obs.{c )-} &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Mean{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Std.Dev.{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Min{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}5th pctile{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Median{c )-}  &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}95th pctile{c )-}   &\multicolumn{c -(}1{c )-}{c -(}c{c )-}{c -(}Max{c )-}\\
\hline

\\ Survey year      &      18,671&     1994.72&        5.68&        1985&        1986&        1995&        2003&        2004\\
[0.3em] Year-of-birth&      18,671&     1950.98&       17.89&        1893&        1920&        1954&        1977&        1986\\
[0.3em] Male        &      18,671&        0.48&        0.50&           0&           0&           0&           1&           1\\
[0.3em] Alsace      &      18,671&        0.72&        0.45&           0&           0&           1&           1&           1\\


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

{com}. 
. estpost tabstat ///
>         born_1908_1913 born_1914_1927 p_s_1908_1913 p_g1_1908_1913 p_g2_1908_1913 ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics) //

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: born_1908_1913 born_1914_1927 p_s_1908_1913 p_g1_1908_1913 p_g2_1908_1913

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(Mean)}{space 1}{space 1}{ralign 9:e(SD)}{space 1}{space 1}{ralign 9:e(Min)}{space 1}{space 1}{ralign 9:e(Max)}{space 1}{space 1}{ralign 9:e(p5)}{space 1}{space 1}{ralign 9:e(p50)}{space 1}{space 1}{ralign 9:e(p95)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:born_1908_~3}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .0148894}}}{space 1}{space 1}{ralign 9:{res:{sf: .1211136}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:born_19~1927}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .1036367}}}{space 1}{space 1}{ralign 9:{res:{sf: .3047968}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:p_s_190~1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .0122054}}}{space 1}{space 1}{ralign 9:{res:{sf: .0660575}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: .5912437}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: .0000184}}}{space 1}{space 1}{ralign 9:{res:{sf: .0316213}}}{space 1}
{space 0}{space 0}{ralign 12:p_g1_19~1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .0926442}}}{space 1}{space 1}{ralign 9:{res:{sf:  .124043}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: .4149886}}}{space 1}{space 1}{ralign 9:{res:{sf: .0002461}}}{space 1}{space 1}{ralign 9:{res:{sf: .0227321}}}{space 1}{space 1}{ralign 9:{res:{sf: .3773069}}}{space 1}
{space 0}{space 0}{ralign 12:p_g2_19~1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18671}}}{space 1}{space 1}{ralign 9:{res:{sf: .1716807}}}{space 1}{space 1}{ralign 9:{res:{sf: .1825264}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: .4694457}}}{space 1}{space 1}{ralign 9:{res:{sf: .0002705}}}{space 1}{space 1}{ralign 9:{res:{sf: .0847386}}}{space 1}{space 1}{ralign 9:{res:{sf: .4642647}}}{space 1}

{com}.         
. matrix N=e(count)
{txt}
{com}. matrix m=e(Mean)
{txt}
{com}. matrix s=e(SD)
{txt}
{com}. matrix i=e(Min)
{txt}
{com}. matrix a=e(Max)
{txt}
{com}. matrix x=e(p5)
{txt}
{com}. matrix y=e(p50)
{txt}
{com}. matrix z=e(p95)
{txt}
{com}. 
. matrix obs = N'
{txt}
{com}. matrix mean=m'
{txt}
{com}. matrix sd=s'
{txt}
{com}. matrix min=i'
{txt}
{com}. matrix max=a'
{txt}
{com}. matrix p5=x'
{txt}
{com}. matrix p50=y'
{txt}
{com}. matrix p95=z'
{txt}
{com}. 
. matrix b = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b
{res}
{txt}b[5,8]
                  count       Mean         SD        Min         p5        p50        p95        Max
born_1908_~3 {res}     18671   .0148894  .12111355          0          0          0          0          1
{txt}born_19~1927 {res}     18671  .10363666  .30479678          0          0          0          1          1
{txt}p_s_190~1913 {res}     18671  .01220545   .0660575          0          0  .00001837  .03162135  .59124368
{txt}p_g1_19~1913 {res}     18671  .09264421  .12404304          0  .00024608   .0227321  .37730686  .41498858
{txt}p_g2_19~1913 {res}     18671  .17168074  .18252639          0  .00027048  .08473865  .46426469  .46944571
{reset}
{com}. 
. // Export table
. 
. estout matrix(b, fmt(%9.0fc 2 2 0 0 2 2 2)) using ///
>         "$results\\$program.tex", append style(tex) type label ///
>         unstack collabels(none) ///
>         mlabels(, none) ///
>         msign(--) //
{res}
\\ Born 1908-1913   &      18,671&        0.01&        0.12&           0&           0&        0.00&        0.00&        1.00\\
[0.3em] Born 1914-1927&      18,671&        0.10&        0.30&           0&           0&        0.00&        1.00&        1.00\\
[0.3em] Born 1908-1913: Husband&      18,671&        0.01&        0.07&           0&           0&        0.00&        0.03&        0.59\\
[0.3em] Born 1908-1913: Father&      18,671&        0.09&        0.12&           0&           0&        0.02&        0.38&        0.41\\
[0.3em] Born 1908-1913: Grandfather&      18,671&        0.17&        0.18&           0&           0&        0.08&        0.46&        0.47\\
{txt}(output written to {browse  `"D:\Dropbox\SVLACHOS\Research\Malgre_nous\Replication_files\Results\EEREV-D-21-00004_TableB6.tex"'})

{com}. 
. // Labels
. 
. la var confiance1       "\\ Trust in: Schooling system"
{txt}
{com}. la var confiance2       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Judicial system{c )-}"
{txt}
{com}. la var confiance4       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Police{c )-}"
{txt}
{com}. la var confiance5       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Church{c )-}"
{txt}
{com}. la var confiance6       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Army{c )-}"
{txt}
{com}. la var confiance9       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Political parties{c )-}"
{txt}
{com}. la var confiance11      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Elected politicians{c )-}"
{txt}
{com}. la var proximiteCOM "\\ Party feeling closer to: Communist"
{txt}
{com}. la var proximitePS      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Socialist{c )-}"
{txt}
{com}. la var proximiteECO     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Ecologist{c )-}"
{txt}
{com}. la var proximiteUDF     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Liberal{c )-}"
{txt}
{com}. la var proximiteRPR     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Conservative{c )-}"
{txt}
{com}. la var proximiteFN      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Radical right{c )-}"
{txt}
{com}. la var proximiteNA      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}None{c )-}"
{txt}
{com}. 
. foreach var in nationalite_pop religion anciennete{c -(}
{txt}  2{com}.         tab `var', g(`var'_)
{txt}  3{com}. {c )-}

     {txt}Father {c |}
nationality {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
        Non {c |}{res}        632        3.39        3.39
{txt}        Oui {c |}{res}      5,168       27.69       31.08
{txt}        999 {c |}{res}     12,861       68.92      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}     18,661      100.00

      {txt}Religion {c |}      Freq.     Percent        Cum.
{hline 15}{c +}{hline 35}
Autre religion {c |}{res}        236        1.27        1.27
{txt}    Catholique {c |}{res}     11,066       59.77       61.05
{txt}          Juif {c |}{res}         69        0.37       61.42
{txt}      Musulman {c |}{res}        404        2.18       63.60
{txt}    Protestant {c |}{res}      1,752        9.46       73.07
{txt} Sans religion {c |}{res}        937        5.06       78.13
{txt}           999 {c |}{res}      4,049       21.87      100.00
{txt}{hline 15}{c +}{hline 35}
         Total {c |}{res}     18,513      100.00

                   {txt}Family in region {c |}      Freq.     Percent        Cum.
{hline 36}{c +}{hline 35}
C'est vous qui vous y etes installe {c |}{res}      1,422        7.62        7.62
{txt}                 Depuis mes parents {c |}{res}      1,197        6.42       14.04
{txt}                    Depuis toujours {c |}{res}      4,217       22.60       36.64
{txt}                                999 {c |}{res}     11,820       63.36      100.00
{txt}{hline 36}{c +}{hline 35}
                              Total {c |}{res}     18,656      100.00
{txt}
{com}. 
. la var nationalite_pop_2        "\\ Father nationality: French"
{txt}
{com}. la var nationalite_pop_1        "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Foreign{c )-}"
{txt}
{com}. la var nationalite_pop_3        "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}"
{txt}
{com}. la var religion_2                       "[0.3em] Religion: Roman Catholic" 
{txt}
{com}. la var religion_5                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Protestant{c )-}" 
{txt}
{com}. la var religion_4                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Muslim{c )-}" 
{txt}
{com}. la var religion_3                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Jewish{c )-}" 
{txt}
{com}. la var religion_1                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Other{c )-}" 
{txt}
{com}. la var religion_6                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}No religion{c )-}" 
{txt}
{com}. la var religion_7                       "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}" 
{txt}
{com}. la var anciennete_3                     "[0.3em] Family in region: Since always"
{txt}
{com}. la var anciennete_2                     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Since parents{c )-}" 
{txt}
{com}. la var anciennete_1                     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}I moved{c )-}" 
{txt}
{com}. la var anciennete_4                     "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}" 
{txt}
{com}. 
. // Macros
. 
. global outcomes "confiance1 confiance2 confiance4 confiance5 confiance6 confiance9 confiance11 proximiteCOM proximitePS proximiteECO proximiteUDF proximiteRPR proximiteFN proximiteNA"
{txt}
{com}. global controls_i "nationalite_pop_2 nationalite_pop_1 nationalite_pop_3 religion_2 religion_5 religion_4 religion_3 religion_1 religion_6 religion_7 anciennete_3 anciennete_2 anciennete_1 anciennete_4"
{txt}
{com}. 
. // Get stats
. 
. estpost tabstat ///
>         $outcomes $controls_i ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics) 

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: confiance1 confiance2 confiance4 confiance5 confiance6 confiance9 confiance11 proximiteCOM proximitePS proximiteECO proximiteUDF proximiteRPR proximiteFN proximiteNA nationalite_pop_2 nationalite_pop_1 nationalite_pop_3 religion_2 religion_5 religion_4 religion_3 religion_1 religion_6 religion_7 anciennete_3 anciennete_2 anciennete_1 anciennete_4

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(Mean)}{space 1}{space 1}{ralign 9:e(SD)}{space 1}{space 1}{ralign 9:e(Min)}{space 1}{space 1}{ralign 9:e(Max)}{space 1}{space 1}{ralign 9:e(p5)}{space 1}{space 1}{ralign 9:e(p50)}{space 1}{space 1}{ralign 9:e(p95)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:confiance1}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     2117}}}{space 1}{space 1}{ralign 9:{res:{sf: .8308928}}}{space 1}{space 1}{ralign 9:{res:{sf: .3749352}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     2116}}}{space 1}{space 1}{ralign 9:{res:{sf: .5241021}}}{space 1}{space 1}{ralign 9:{res:{sf: .4995368}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance4}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     2112}}}{space 1}{space 1}{ralign 9:{res:{sf: .7107008}}}{space 1}{space 1}{ralign 9:{res:{sf: .4535445}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance5}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     2003}}}{space 1}{space 1}{ralign 9:{res:{sf: .6390414}}}{space 1}{space 1}{ralign 9:{res:{sf: .4803985}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance6}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     2033}}}{space 1}{space 1}{ralign 9:{res:{sf: .6940482}}}{space 1}{space 1}{ralign 9:{res:{sf: .4609228}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance9}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1995}}}{space 1}{space 1}{ralign 9:{res:{sf: .1899749}}}{space 1}{space 1}{ralign 9:{res:{sf: .3923795}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:confiance11}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1980}}}{space 1}{space 1}{ralign 9:{res:{sf: .5388889}}}{space 1}{space 1}{ralign 9:{res:{sf: .4986113}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteCOM}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .0395971}}}{space 1}{space 1}{ralign 9:{res:{sf: .1950158}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:proximitePS}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .2335102}}}{space 1}{space 1}{ralign 9:{res:{sf: .4230754}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteECO}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf:  .128168}}}{space 1}{space 1}{ralign 9:{res:{sf: .3342858}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteUDF}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .1064138}}}{space 1}{space 1}{ralign 9:{res:{sf: .3083747}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteRPR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .1654075}}}{space 1}{space 1}{ralign 9:{res:{sf: .3715579}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteFN}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .0587258}}}{space 1}{space 1}{ralign 9:{res:{sf: .2351171}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:proximiteNA}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18663}}}{space 1}{space 1}{ralign 9:{res:{sf: .2527461}}}{space 1}{space 1}{ralign 9:{res:{sf: .4345982}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:nationalit~2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18661}}}{space 1}{space 1}{ralign 9:{res:{sf: .2769412}}}{space 1}{space 1}{ralign 9:{res:{sf: .4474992}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:nationalit~1}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18661}}}{space 1}{space 1}{ralign 9:{res:{sf: .0338674}}}{space 1}{space 1}{ralign 9:{res:{sf: .1808927}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:nationalit~3}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18661}}}{space 1}{space 1}{ralign 9:{res:{sf: .6891914}}}{space 1}{space 1}{ralign 9:{res:{sf:  .462837}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:religion_2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .5977421}}}{space 1}{space 1}{ralign 9:{res:{sf: .4903667}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:religion_5}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .0946362}}}{space 1}{space 1}{ralign 9:{res:{sf: .2927197}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:religion_4}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .0218225}}}{space 1}{space 1}{ralign 9:{res:{sf: .1461076}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:religion_3}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .0037271}}}{space 1}{space 1}{ralign 9:{res:{sf: .0609378}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:religion_1}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .0127478}}}{space 1}{space 1}{ralign 9:{res:{sf: .1121872}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}
{space 0}{space 0}{ralign 12:religion_6}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .0506131}}}{space 1}{space 1}{ralign 9:{res:{sf: .2192122}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:religion_7}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18513}}}{space 1}{space 1}{ralign 9:{res:{sf: .2187112}}}{space 1}{space 1}{ralign 9:{res:{sf: .4133834}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:anciennete_3}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18656}}}{space 1}{space 1}{ralign 9:{res:{sf: .2260399}}}{space 1}{space 1}{ralign 9:{res:{sf: .4182765}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:anciennete_2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18656}}}{space 1}{space 1}{ralign 9:{res:{sf: .0641617}}}{space 1}{space 1}{ralign 9:{res:{sf: .2450473}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:anciennete_1}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18656}}}{space 1}{space 1}{ralign 9:{res:{sf: .0762221}}}{space 1}{space 1}{ralign 9:{res:{sf: .2653603}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:anciennete_4}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    18656}}}{space 1}{space 1}{ralign 9:{res:{sf: .6335763}}}{space 1}{space 1}{ralign 9:{res:{sf:   .48184}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}

{com}.         
. matrix N=e(count)
{txt}
{com}. matrix m=e(Mean)
{txt}
{com}. matrix s=e(SD)
{txt}
{com}. matrix i=e(Min)
{txt}
{com}. matrix a=e(Max)
{txt}
{com}. matrix x=e(p5)
{txt}
{com}. matrix y=e(p50)
{txt}
{com}. matrix z=e(p95)
{txt}
{com}. 
. matrix obs = N'
{txt}
{com}. matrix mean=m'
{txt}
{com}. matrix sd=s'
{txt}
{com}. matrix min=i'
{txt}
{com}. matrix max=a'
{txt}
{com}. matrix p5=x'
{txt}
{com}. matrix p50=y'
{txt}
{com}. matrix p95=z'
{txt}
{com}. 
. matrix b = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b
{res}
{txt}b[28,8]
                  count       Mean         SD        Min         p5        p50        p95        Max
  confiance1 {res}      2117  .83089277  .37493516          0          0          1          1          1
{txt}  confiance2 {res}      2116  .52410208   .4995368          0          0          1          1          1
{txt}  confiance4 {res}      2112  .71070076  .45354447          0          0          1          1          1
{txt}  confiance5 {res}      2003  .63904144  .48039848          0          0          1          1          1
{txt}  confiance6 {res}      2033   .6940482  .46092276          0          0          1          1          1
{txt}  confiance9 {res}      1995  .18997494  .39237945          0          0          0          1          1
{txt} confiance11 {res}      1980  .53888889  .49861129          0          0          1          1          1
{txt}proximiteCOM {res}     18663  .03959706  .19501583          0          0          0          0          1
{txt} proximitePS {res}     18663  .23351015  .42307535          0          0          0          1          1
{txt}proximiteECO {res}     18663  .12816803  .33428577          0          0          0          1          1
{txt}proximiteUDF {res}     18663  .10641376  .30837472          0          0          0          1          1
{txt}proximiteRPR {res}     18663  .16540749  .37155787          0          0          0          1          1
{txt} proximiteFN {res}     18663  .05872582  .23511712          0          0          0          1          1
{txt} proximiteNA {res}     18663  .25274608  .43459822          0          0          0          1          1
{txt}nationalit~2 {res}     18661  .27694121  .44749917          0          0          0          1          1
{txt}nationalit~1 {res}     18661  .03386742  .18089272          0          0          0          0          1
{txt}nationalit~3 {res}     18661  .68919136  .46283702          0          0          1          1          1
{txt}  religion_2 {res}     18513  .59774213  .49036666          0          0          1          1          1
{txt}  religion_5 {res}     18513   .0946362  .29271969          0          0          0          1          1
{txt}  religion_4 {res}     18513   .0218225  .14610761          0          0          0          0          1
{txt}  religion_3 {res}     18513  .00372711  .06093784          0          0          0          0          1
{txt}  religion_1 {res}     18513   .0127478  .11218722          0          0          0          0          1
{txt}  religion_6 {res}     18513  .05061308  .21921221          0          0          0          1          1
{txt}  religion_7 {res}     18513  .21871118  .41338339          0          0          0          1          1
{txt}anciennete_3 {res}     18656  .22603988   .4182765          0          0          0          1          1
{txt}anciennete_2 {res}     18656  .06416166  .24504727          0          0          0          1          1
{txt}anciennete_1 {res}     18656  .07622213   .2653603          0          0          0          1          1
{txt}anciennete_4 {res}     18656  .63357633  .48184002          0          0          1          1          1
{reset}
{com}. 
. // Export table
. 
. estout matrix(b, fmt(%9.0fc 2 2 0 0 0 0 0)) using ///
>         "$results\\$program.tex", append style(tex) type label ///
>         unstack collabels(none) ///
>         mlabels(, none) ///
>         msign(--) ///
>         prehead("") ///
>         posthead("") ///
>         prefoot("\\") ///
>         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 )-}:" ///       
>         "Covariates used in Section \ref{c -(}CONCEPTUAL{c )-}. " ///
>         "The unit of observation is an individual. " ///
>         "See Online Appendix \ref{c -(}OA_BIRTH_D{c )-} for the construction of the probabilities. " ///
>         "See Online Appendix \ref{c -(}OA_SURVEY_DATA{c )-} for the construction of the other variables. " ///
>         "\end{c -(}scriptsize{c )-}" ///
>         "\end{c -(}tablenotes{c )-}" ///
>         "\end{c -(}threeparttable{c )-}" ///
>         "\end{c -(}center{c )-}" ///
>         "\end{c -(}table{c )-}")
{res}


\\ Trust in: Schooling system&       2,117&        0.83&        0.37&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Judicial system{c )-}&       2,116&        0.52&        0.50&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Police{c )-}&       2,112&        0.71&        0.45&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Church{c )-}&       2,003&        0.64&        0.48&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Army{c )-}&       2,033&        0.69&        0.46&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Political parties{c )-}&       1,995&        0.19&        0.39&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Elected politicians{c )-}&       1,980&        0.54&        0.50&           0&           0&           1&           1&           1\\
\\ Party feeling closer to: Communist&      18,663&        0.04&        0.20&           0&           0&           0&           0&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Socialist{c )-}&      18,663&        0.23&        0.42&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Ecologist{c )-}&      18,663&        0.13&        0.33&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Liberal{c )-}&      18,663&        0.11&        0.31&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Conservative{c )-}&      18,663&        0.17&        0.37&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Radical right{c )-}&      18,663&        0.06&        0.24&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}None{c )-}&      18,663&        0.25&        0.43&           0&           0&           0&           1&           1\\
\\ Father nationality: French&      18,661&        0.28&        0.45&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Foreign{c )-}&      18,661&        0.03&        0.18&           0&           0&           0&           0&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}&      18,661&        0.69&        0.46&           0&           0&           1&           1&           1\\
[0.3em] Religion: Roman Catholic&      18,513&        0.60&        0.49&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Protestant{c )-}&      18,513&        0.09&        0.29&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Muslim{c )-}&      18,513&        0.02&        0.15&           0&           0&           0&           0&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Jewish{c )-}&      18,513&        0.00&        0.06&           0&           0&           0&           0&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Other{c )-}&      18,513&        0.01&        0.11&           0&           0&           0&           0&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}No religion{c )-}&      18,513&        0.05&        0.22&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}&      18,513&        0.22&        0.41&           0&           0&           0&           1&           1\\
[0.3em] Family in region: Since always&      18,656&        0.23&        0.42&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Since parents{c )-}&      18,656&        0.06&        0.25&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}I moved{c )-}&      18,656&        0.08&        0.27&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Question not asked{c )-}&      18,656&        0.63&        0.48&           0&           0&           1&           1&           1\\
\\
\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 )-}:
Covariates used in Section \ref{c -(}CONCEPTUAL{c )-}. 
The unit of observation is an individual. 
See Online Appendix \ref{c -(}OA_BIRTH_D{c )-} for the construction of the probabilities. 
See Online Appendix \ref{c -(}OA_SURVEY_DATA{c )-} for the construction of the other variables. 
\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_TableB6.tex"'})

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