\documentclass[11pt]{article} \usepackage{stata} \begin{document} \section{Displaying Estimation Results} \subsection{Example 2: Displaying the significance level using the {\tt level} option } \begin{small} \begin{verbatim} . use http://www.ats.ucla.edu/stat/stata/notes/hsb2 . regress write math female Source | SS df MS Number of obs = 200 -------------+------------------------------ F( 2, 197) = 82.81 Model | 8165.58839 2 4082.79419 Prob > F = 0.0000 Residual | 9713.28661 197 49.3060234 R-squared = 0.4567 -------------+------------------------------ Adj R-squared = 0.4512 Total | 17878.875 199 89.843593 Root MSE = 7.0218 ------------------------------------------------------------------------------ write | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- math | .6328663 .0531548 11.91 0.000 .5280407 .7376918 female | 5.218377 .9975118 5.23 0.000 3.251205 7.185549 _cons | 16.61374 2.908957 5.71 0.000 10.87705 22.35043 ------------------------------------------------------------------------------ . outtex, level %------- Begin LaTeX code -------% { \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 math & 0.633&\onepc & (0.053)\\ female & 5.218&\onepc & (0.998)\\ Intercept & 16.614&\onepc & (2.909)\\ \hline \end{tabular} \end{table} } %------- End LaTeX code -------% \end{verbatim} \end{small} Here is the \LaTeX style output. Remember that the significance level is set in the {\tt regress} command using its level option. In {\tt outtex} the option {\tt level} is for adding number of *'s according to the coefficient's significance level. \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 math & 0.633&\onepc & (0.053)\\ female & 5.218&\onepc & (0.998)\\ Intercept & 16.614&\onepc & (2.909)\\ \hline \end{tabular} \end{table} \end{document}