Bonjour à tous!
J'utilise Stata dans le cadre de mon mémoire et grâce à une commande, Stata me donne le code Latex tout fait pour créer mon tableau de régression.
Mais quand je le compile, TeXnicCenter me dit qu'il y a des erreurs et donc le pdf qui en sort n'est pas du tout ce qui est espéré. Ne m'y connaissant pas en Latex, est-ce que quelqu'un pourrait m'aider à corriger les erreurs du code?
Voici le code:
Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 { \def\onepc{$^{\ast\ast}$} \def\fivepc{$^{\ast}$} \def\tenpc{$^{\dag}$} \def\legend{\multicolumn{4}{l}{\footnotesize{Significance levels :\hspace{1em} $\dag$ : 10\% \hspace{1em} $\ast$ : 5\% \hspace{1em} $\ast\ast$ : 1\% \normalsize}}} \begin{table}[htbp]\centering \caption{Estimation results : regress \label{tabresult regress}} \begin{tabular}{l r @{} l c }\hline\hline \multicolumn{1}{c} {\textbf{Variable}} & \multicolumn{2}{c}{\textbf{Coefficient}} & \textbf{(Std. Err.)} \\ \hline age & 265.470& & (551.678)\\ gender & 11300.319& & (13626.170)\\ Single & -6599.464& & (19485.751)\\ PolygamousCouple & 54711.621&\onepc & (19079.933)\\ Dota & 2486.035& & (16223.694)\\ Agblome & 18218.562& & (17274.156)\\ NoEducation & -5805.616& & (14423.291)\\ HigherEducation & -37582.596& & (29173.616)\\ Fon & -42006.101&\fivepc & (20986.759)\\ childrenalive & 899.739& & (2594.837)\\ normaltotalsiblings & 1716.559&\fivepc & (775.692)\\ Catholic & -13816.566& & (13474.056)\\ Evangelist & 13271.284& & (19940.763)\\ totalmonthlyinc & 0.174& & (0.114)\\ incomestability & 52832.218&\onepc & (18311.329)\\ Intercept & 16390.116& & (32335.661)\\ \hline \multicolumn{4}{c}{}\\ \hline N & \multicolumn{3}{c}{143}\\ R$^{2}$ & \multicolumn{3}{c}{0.294}\\ F $ _{(15,127)}$ & \multicolumn{3}{c}{3.528}\\ \hline \legend \end{tabular} \end{table} }
Cath
Partager