Turning Footnotes into Endnotes …

Submitting (LaTeX) written papers has some advantages: one usually does not have to change any formatting manually. LaTeX does that for us if it is instructed to do so. Journals often want the submissions to be formatted in a peculiar way. My challenge was to change footnotes to endnotes. I did remember that it was easy in LaTeX, but not how it was done, so Google had to help me …
Continue reading

A site for your unanswered TeX questions

The site http://tex.stackexchange.com is now open to the public. Anyone can register there and read, ask or answer questions related to TeX. Like on the popular site Stack Overflow, the audience votes for good answers, so the best answers are easy to find: at the top of all answers.

The status of the site is now public beta. This will last from 60 to 90 days, afterwards we’ll see if the site is successful and would stay online.

Now, after 7 days in private beta, the site has 323 users and 658 answers to 242 questions.

(Source: texblog.net )

Why I don’t need SPSS any more …

Most of you know that I don’t like to have SPSS on my computer, let alone use it. Over time I had several versions of SPSS installed nevertheless. And that is because SPSS allowed me to open a SPSS file and then save it in … STATA format. Now there is no reason to do that anymore, and that is not due to StatTransfer!
Continue reading

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:


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

Preamble in do-files

When writing a lot of do-files during a research process it is hard to keep track of what a do-file was for, what it needs in terms of input, and what it generates in terms of output. Especially, if you get your paper back from the (journal) referees with comments what you should change, and want to re-run some part of the analysis — a year after you have done it –, it is hard to remember exactly what you need to do.

I use a preamble in my do-files to document (somewhat) this information, but also to set a couple of standard pointers that make my work easier …
Continue reading


Log-files are important in the workflow for two reasons:

  1. Most importantly they keep track of any messages that are “non-fatal”, i.e. that do not stop the progress of the do-file. However, quite often you want to ignore those messages, unless you expect an error to have occurred, then you search through your log files.
  2. Convenient is to use the log-file to collect only that part of the output (results) that you will actually need for your research project.

Continue reading

Divide and conquer

Working scientifically with statistics software implies that the analysis one performs should be done using batch-files, in STATA terms using do-files. This is important so that results can be reproduced, and if errors are found, the analysis can be run anew. I have been using a set-up in which I divide the empirical research in several steps, that allow me to reproduce my steps, save time, and insure that I can easily back-up my research without too much of a hassle.
Continue reading

Putting a spell on data

For those of you working with spell-data (could be panel, but I am thinking more of event-history data), there is a great tool that you should be aware of. You can get it at SSC by typing the following command:

ssc install tsspell

What can it do for you? Well, as I said it puts a spell on your data. By giving the command
Continue reading