Just found an easy way to include figures from Stata into Latex by converting Stata-figures to PDF-files first. Just use the following codes:

Continue reading

# Tag Archives: export

# From LaTeX to Word …

Some LaTeX afficiendos might think … WHY? … but there is always a reason to transform your nicely layouted LaTeX file into something that resembles it in word. Journals that do not accept LaTeX files or PDFs as a submission is one, and probably the most important (and annoying) for researchers.

Here is a solution that seems to work. Use the LaTeX generated PDF and transform it into a Word file, using the following link:

http://www.pdftoword.com/

I tried it and it works nicely, even with some (basic in my case) formulas.

# StatTransfer … who needs it?

Once more working on some standarized data to generate some standard output and graphs in * yuck * Excel. Well, we have to learn to live with the fact that some people and organizations don’t want STATA graphs and tables. So we have to export to Excel. In my case this were several tables and cross tables that were then linked to Excel Graphs. So far I did this with copy-pasting or using StatTransfer, today I found a different way …

Continue reading

# Export of regression tables to LaTeX

The ado-files `--esto--`

and —`esta`

— (has to be installed by typing `--findit esto-- `

or —`findit esta`

— into the Stata command window) provides a simple way to export regression tables from Stata to a separate LaTeX-file. At the same time, it is possible to adjust basically everything. I will just present a short example that I use for my regression tables (for adjusting the code, see `--help esta--`

). After installing the ado-packages, run (in this case) two regressions, in my case: Continue reading

# Export summary statistics to LaTeX

The ado-file `--sutex--`

(has to be installed by typing `--findit sutex--`

into the Stata command window) provides a simple way to export summary statistics from Stata to a separate LaTeX-file. It is limited in individualised adjustment, but quite OK for most applications. By default, you get mean and standard deviation for variables `VAR1, VAR2, VAR3`

, etc. A syntax could be: Continue reading