\documentclass[11pt]{article} \usepackage{stata} \begin{document} \section{Displaying Estimation Results} \subsection{Example 1: Default Output of {\tt outtex}} The default for command {\tt outtex} only displays the variable names, estimated coefficients, and the standard errors for the estimates. \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 %------- Begin LaTeX code -------% { \begin{table}[htbp]\centering \caption{Estimation results : regress \label{tabresult regress}} \begin{tabular}{l c c }\hline\hline \multicolumn{1}{c} {\textbf{Variable}} & {\textbf{Coefficient}} & \textbf{(Std. Err.)} \\ \hline math & 0.633 & (0.053)\\ female & 5.218 & (0.998)\\ Intercept & 16.614 & (2.909)\\ \hline \end{tabular} \end{table} } %------- End LaTeX code -------% \end{verbatim} \end{small} Here is the \LaTeX style output. \begin{table}[htbp]\centering \caption{Estimation results : regress \label{tabresult regress}} \begin{tabular}{l c c }\hline\hline \multicolumn{1}{c} {\textbf{Variable}} & {\textbf{Coefficient}} & \textbf{(Std. Err.)} \\ \hline math & 0.633 & (0.053)\\ female & 5.218 & (0.998)\\ Intercept & 16.614 & (2.909)\\ \hline \end{tabular} \end{table} \end{document}