Questions tagged [stata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Fitting Regression Table into LaTeX

I'm trying to fit tables to page-width that I include in the .tex document. I'm doing this because I'm exporting tables from Stata to Latex with the estout methods, and include these tables into my ...
1
vote
0answers
32 views

Append separate T-test results using esttab [closed]

Please, I would like to append the results from several t-tests in one table using esttab which is from the Stata Journal. I have done the following: sysuse auto first, test that price=turn quietly{ ...
3
votes
1answer
93 views

How to load additional packages with R::rticles?

I mostly code in R, and have been using knitr Rnw for a while, mostly following the best practices outline in 14mech14's YouTube videos, with a parent rnw document, child rnw document, and a document ...
4
votes
2answers
70 views

Reduce space between columns in a STATA exported table

I am new to LaTeX and I have been trying to reduce the space between the columns in a table that was exported directly from STATA. The code is the following: \begin{table}[H] \centering \def\sym#1{\...
3
votes
1answer
56 views

How to make the space between coefficient and standard errors smaller from Stata on LaTeX?

I used outreg command to get the following tex code, yet I cannot find how to make the coefficients and their standard errors as close as possible. The code goes as follows: The preamble: \...
1
vote
0answers
73 views

Table subtitle in Stata estout to LaTex-table

I am trying to write table "subtitle" text that sits on top of the table, below the caption. I am using esttab in Stata to get the output below, but I am unable to make the aforementioned ...
1
vote
3answers
105 views

Threepart Table with several panels

I have an issue with my threeparttables receiving input from Stata. I used to work earlier and it worked perfectly. But I twisted my tables a little and it throws error. I want to have a table with ...
1
vote
1answer
28 views

Match width of minipage footnote to table environment in which it sits

I have placed table notes inside a \minipage environment, inside a \table environment. I want to hand the \minipage a width argument such that it will match any arbitrary width of the \table in which ...
1
vote
2answers
68 views

Table spills out of the page margin

I am just learning LaTex. I used stata and got the following { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{3}{ccc}l} \hline \multicolumn{11}{l}{\textit{Panel A: }} \\ ...
3
votes
2answers
148 views

Statistics Table too large [duplicate]

I would like to display some statistics and difference in means by treatment arm on a single table. The data is exported from stata. I would like to allocate more space to the first column with the ...
2
votes
1answer
276 views

Stata exported tables too wide

I have been trying to upload six-column tables to Latex/Overleaf from Stata. Data exported well but I have been struggling to adjust to Latex format, and some columns don't appear as tables are too ...
0
votes
0answers
91 views

using tabout to produce multi-page latex tables

I want to produce a LaTeX frequency table with many variables using the user written tabout command in Stata. Because there are so many variables, the table needs to span multiple pages. I believe ...
0
votes
0answers
60 views

“Missing \endgroup inserted” with tabular - possible mismatch with adjustbox?

I am writing a document for which I need to insert tables produced by the statistical progam Stata. More specifically I am using Stata package outreg2. Here is an example of the type of a table that I ...
2
votes
1answer
115 views

Table does not flush right with siunitx (table format), esttab, asterisks and integers

I use Stata's esttab command to create various tables with t-test results. In Latex, I use siunitx for a proper layout of the table. However, I am unable to code the table as such does it flush right....
3
votes
1answer
3k views

Stata to Latex: Formatting a table - width, wrapping notes and caption position

I'm a newbie to stata and latex when it comes to direct export of tables. After reading some documentation, I used the following code (after labeling the variables): eststo: quietly regress defgh ...
0
votes
0answers
110 views

topf- and botf-equivalent (in tabout-stata) for outreg2

I am wondering if there is a topf- and botf-equivalent (used in tabout-stata) for outreg2? What I wanna do is tell stata to insert some TeX code into the top and bottom of file when it outputs the ...
1
vote
1answer
416 views

error in tex file generated by stata tabout command

\documentclass[]{scrartcl} \usepackage{booktabs} \usepackage{tabularx} \usepackage{rotating} \begin{document} \begin{sidewaystable}[h!] \footnotesize \newcolumntype{Y}{>{\raggedleft\...
1
vote
1answer
106 views

Unresolved references label within caption for STATA tables

I am using stata to generate a table. This STATA generated tex table has label defined within \caption{} command. This labeling should work. But it gives me unresolved references (Table ??). When I ...
0
votes
1answer
930 views

Cannot find package stata.sty [duplicate]

I am using the command texdoc on stata to generate LaTex code. However, whenever I try running the code using pdfLaTex on TexWorks, I get an error saying that the package stata.sty could not be found ...