{smcl}
{com}{sf}{ul off}{txt}
{com}. 
. **** REPLICATION OF TABLE B1 ****
. 
. 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. INDEX DATA - INDIVIDUAL
>         2. INDEX DATA - AGGREGATE
> */
. 
. **************************************
. ***** 1. INDEX DATA - INDIVIDUAL *****
. **************************************
. 
. // Import data
. 
. use $data\EEREV-D-21-00004_Data_Conscription.dta, clear
{txt}
{com}. 
. // Full sample
. 
. estpost tabstat ///
>         residinfo birthinfo drafted born_1908_1913 born_1914_1927 ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics)

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: residinfo birthinfo drafted born_1908_1913 born_1914_1927

{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:residinfo}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    44527}}}{space 1}{space 1}{ralign 9:{res:{sf: .9889281}}}{space 1}{space 1}{ralign 9:{res:{sf: .1046403}}}{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 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:birthinfo}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    44527}}}{space 1}{space 1}{ralign 9:{res:{sf: .9916231}}}{space 1}{space 1}{ralign 9:{res:{sf: .0911425}}}{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 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:drafted}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    44154}}}{space 1}{space 1}{ralign 9:{res:{sf: .9588939}}}{space 1}{space 1}{ralign 9:{res:{sf: .1985379}}}{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 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}
{space 0}{space 0}{ralign 12:born_19~1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    44154}}}{space 1}{space 1}{ralign 9:{res:{sf: .1564298}}}{space 1}{space 1}{ralign 9:{res:{sf: .3632664}}}{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:born_19~1927}{space 1}{c |}{space 1}{ralign 9:{res:{sf:    44154}}}{space 1}{space 1}{ralign 9:{res:{sf: .8103909}}}{space 1}{space 1}{ralign 9:{res:{sf: .3919961}}}{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 b1 = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b1
{res}
{txt}b1[5,8]
                  count       Mean         SD        Min         p5        p50        p95        Max
   residinfo {res}     44527  .98892807   .1046403          0          1          1          1          1
{txt}   birthinfo {res}     44527  .99162306  .09114249          0          1          1          1          1
{txt}     drafted {res}     44154  .95889387  .19853792          0          1          1          1          1
{txt}born_19~1913 {res}     44154  .15642977  .36326641          0          0          0          1          1
{txt}born_19~1927 {res}     44154   .8103909  .39199613          0          0          1          1          1
{reset}
{com}. 
. // Labels
. 
. la var residinfo "\\ Residence info"
{txt}
{com}. la var birthinfo "[0.3em] Birth info"
{txt}
{com}. la var residbirthinfo "Residence and birth info"
{txt}
{com}. la var drafted "[0.3em] Born year drafted"
{txt}
{com}. la var born_1908_1913 "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913{c )-}"
{txt}
{com}. la var born_1914_1927 "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927{c )-}"
{txt}
{com}. 
. // Table
. 
. estout matrix(b1, 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(Conscription proxy: 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 )-}" ///
>         "\label{c -(}$table{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 -(}Conscription proxy: Data description{c )-}\label{c -(}EEREV-D-21-00004_TableB1{c )-}
\label{c -(}{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
\\ Residence info   &      44,527&        0.99&        0.10&           0&           1&           1&           1&           1\\
[0.3em] Birth info  &      44,527&        0.99&        0.09&           0&           1&           1&           1&           1\\
[0.3em] Born year drafted&      44,154&        0.96&        0.20&           0&           1&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913{c )-}&      44,154&        0.16&        0.36&           0&           0&           0&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927{c )-}&      44,154&        0.81&        0.39&           0&           0&           1&           1&           1\\


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

{com}. 
. *************************************
. ***** 2. INDEX DATA - AGGREGATE *****
. *************************************
. 
. // Import data
. 
. use $data\EEREV-D-21-00004_Data_Municipalities.dta, clear
{txt}
{com}. 
. drop if annee!=1969
{txt}(11,053 observations deleted)

{com}. drop if dep!=57 & dep!=67 & dep!=68
{txt}(0 observations deleted)

{com}. 
. // Full sample
. 
. estpost tabstat ///
>         indexinfo indexinfo0813 indexinfo1427 ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics) //

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: indexinfo indexinfo0813 indexinfo1427

{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:indexinfo}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf:  .908803}}}{space 1}{space 1}{ralign 9:{res:{sf: .2879802}}}{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:indexin~0813}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: .5528816}}}{space 1}{space 1}{ralign 9:{res:{sf: .4973532}}}{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:indexin~1427}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: .9018366}}}{space 1}{space 1}{ralign 9:{res:{sf: .2976297}}}{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 b2 = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b2
{res}
{txt}b2[3,8]
                  count       Mean         SD        Min         p5        p50        p95        Max
   indexinfo {res}      1579  .90880304   .2879802          0          0          1          1          1
{txt}indexin~0813 {res}      1579  .55288157  .49735319          0          0          1          1          1
{txt}indexin~1427 {res}      1579  .90183661  .29762971          0          0          1          1          1
{reset}
{com}. 
. // Labels
. 
. la var indexinfo "\\ Declared missing (Binary)"
{txt}
{com}. la var indexinfo0813    "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (Binary){c )-}"
{txt}
{com}. la var indexinfo1427    "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (Binary){c )-}"
{txt}
{com}. 
. // Table
. 
. estout matrix(b2, 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("")
{res}


\\ Declared missing (Binary)&       1,579&        0.91&        0.29&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (Binary){c )-}&       1,579&        0.55&        0.50&           0&           0&           1&           1&           1\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (Binary){c )-}&       1,579&        0.90&        0.30&           0&           0&           1&           1&           1\\


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

{com}. 
. // Full sample
. 
. estpost tabstat ///
>         m_all m_1908_1913 m_1914_1927 ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics) //

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: m_all m_1908_1913 m_1914_1927

{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:m_all}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: 27.88727}}}{space 1}{space 1}{ralign 9:{res:{sf: 137.8977}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:     4494}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:       11}}}{space 1}{space 1}{ralign 9:{res:{sf:       74}}}{space 1}
{space 0}{space 0}{ralign 12:m_1908_1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: 4.351488}}}{space 1}{space 1}{ralign 9:{res:{sf: 29.54378}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:     1003}}}{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:       13}}}{space 1}
{space 0}{space 0}{ralign 12:m_1914_1927}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: 22.43699}}}{space 1}{space 1}{ralign 9:{res:{sf: 102.8834}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:     3280}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        9}}}{space 1}{space 1}{ralign 9:{res:{sf:       61}}}{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 b3 = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b3
{res}
{txt}b3[3,8]
                 count       Mean         SD        Min         p5        p50        p95        Max
      m_all {res}      1579   27.88727  137.89769          0          0         11         74       4494
{txt}m_1908_1913 {res}      1579  4.3514883  29.543784          0          0          1         13       1003
{txt}m_1914_1927 {res}      1579  22.436985  102.88342          0          0          9         61       3280
{reset}
{com}. 
. // Table
.         
. la var m_all            "\\ Declared missing (\#)"
{txt}
{com}. la var m_1908_1913      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (\#){c )-}"
{txt}
{com}. la var m_1914_1927      "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (\#){c )-}"
{txt}
{com}. 
. estout matrix(b3, fmt(%9.0fc 1 1 %9.0fc %9.0fc %9.0fc %9.0fc %9.0fc)) using ///
>         "$results\\$program.tex", append style(tex) type label ///
>         unstack collabels(none) ///
>         mlabels(, none) ///
>         msign(--) ///
>         prehead("") ///
>         posthead("") ///
>         prefoot("") ///
>         postfoot("")
{res}


\\ Declared missing (\#)&       1,579&        27.9&       137.9&           0&           0&          11&          74&       4,494\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (\#){c )-}&       1,579&         4.4&        29.5&           0&           0&           1&          13&       1,003\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (\#){c )-}&       1,579&        22.4&       102.9&           0&           0&           9&          61&       3,280\\


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

{com}. 
. // Full sample
. 
. estpost tabstat ///
>         perc_m_full perc_m_1908_1913 perc_m_1914_1927 ///
>         , s(N mean sd min max p5 p50 p95) columns(statistics) //nototal // listwiseby(place) 

{txt}Summary statistics: count Mean SD Min Max p5 p50 p95
     for variables: perc_m_full perc_m_1908_1913 perc_m_1914_1927

{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:perc_m_full}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.315247}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.523292}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: 12.92776}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.312139}}}{space 1}{space 1}{ralign 9:{res:{sf: 4.918033}}}{space 1}
{space 0}{space 0}{ralign 12:perc_m_~1913}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: .3344604}}}{space 1}{space 1}{ralign 9:{res:{sf: .4341306}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.884615}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: .1567398}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.201923}}}{space 1}
{space 0}{space 0}{ralign 12:perc_m_~1927}{space 1}{c |}{space 1}{ralign 9:{res:{sf:     1579}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.912658}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.288327}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: 10.64639}}}{space 1}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.872659}}}{space 1}{space 1}{ralign 9:{res:{sf:  4.03397}}}{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 b4 = obs, mean, sd, min, p5, p50, p95, max
{txt}
{com}. matrix list b4
{res}
{txt}b4[3,8]
                  count       Mean         SD        Min         p5        p50        p95        Max
 perc_m_full {res}      1579  2.3152466  1.5232921          0          0  2.3121388  4.9180326  12.927756
{txt}perc_m_~1913 {res}      1579  .33446035  .43413064          0          0  .15673982  1.2019231  2.8846154
{txt}perc_m_~1927 {res}      1579  1.9126576  1.2883268          0          0  1.8726592  4.0339704  10.646388
{reset}
{com}. 
. // Labels
.         
. la var perc_m_full              "\\ Declared missing (\%)"
{txt}
{com}. la var perc_m_1908_1913 "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (\%){c )-}"
{txt}
{com}. la var perc_m_1914_1927 "[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (\%){c )-}"
{txt}
{com}. 
. // Table
. 
. estout matrix(b4, fmt(%9.0fc 1 1 0 0 1 1 1)) 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 )-}:" /// 
>         "Data comes from the \textit{c -(}Index of French Nationals Compelled into German Armed Forces{c )-}. " ///
>         "The upper panel presents the disaggregated (individual) data; " ///
>         "the lower panel presents the statistics after collapsing the data at the municipality level. " ///
>         "\textit{c -(}Residence info{c )-}, \textit{c -(}Birth info{c )-}, and \textit{c -(}Born year drafted{c )-} are binary variables " ///
>         "taking the value 1 when information is available. " ///
>         "\textit{c -(}Born year drafted{c )-} are men born in 1908-1927 for Alsace, and 1914-1927 for Moselle, " ///
>         "conditional on birth information being available. " ///
>         "\textit{c -(}Declared missing (Binary){c )-} and sub-groups " ///
>         "are variables that take the value 1 when there is at least one individual in the municipality belonging to this group. " ///   "\textit{c -(}Declared missing of whom not drafted (Binary){c )-} includes individuals with birth information missing. " ///
>         "\textit{c -(}Declared missing (\#){c )-} and sub-groups is the total number of individuals belonging to each category by municipality. " ///
>         "\textit{c -(}Declared missing (\%){c )-} and sub-groups is the proportion of the 1936 population that appears in the index. " ///
>         "\end{c -(}scriptsize{c )-}" ///
>         "\end{c -(}tablenotes{c )-}" ///
>         "\end{c -(}threeparttable{c )-}" ///
>         "\end{c -(}center{c )-}" ///
>         "\end{c -(}table{c )-}")
{res}


\\ Declared missing (\%)&       1,579&         2.3&         1.5&           0&           0&         2.3&         4.9&        12.9\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1908-1913 (\%){c )-}&       1,579&         0.3&         0.4&           0&           0&         0.2&         1.2&         2.9\\
[0.3em] \multicolumn{c -(}1{c )-}{c -(}l{c )-}{c -(}Born 1914-1927 (\%){c )-}&       1,579&         1.9&         1.3&           0&           0&         1.9&         4.0&        10.6\\
\\
\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 )-}:
Data comes from the \textit{c -(}Index of French Nationals Compelled into German Armed Forces{c )-}. 
The upper panel presents the disaggregated (individual) data; 
the lower panel presents the statistics after collapsing the data at the municipality level. 
\textit{c -(}Residence info{c )-}, \textit{c -(}Birth info{c )-}, and \textit{c -(}Born year drafted{c )-} are binary variables 
taking the value 1 when information is available. 
\textit{c -(}Born year drafted{c )-} are men born in 1908-1927 for Alsace, and 1914-1927 for Moselle, 
conditional on birth information being available. 
\textit{c -(}Declared missing (Binary){c )-} and sub-groups 
are variables that take the value 1 when there is at least one individual in the municipality belonging to this group. 
\textit{c -(}Declared missing (\#){c )-} and sub-groups is the total number of individuals belonging to each category by municipality. 
\textit{c -(}Declared missing (\%){c )-} and sub-groups is the proportion of the 1936 population that appears in the index. 
\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_TableB1.tex"'})

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