The current installed version of Stata is version 14.2. You can start by typing stata in the command prompt, either in the terminals or remotely. If you wish to work interactively using the GUI, just type xstata. Using the GUI interface is strongly discouraged; you should run your works using batch.

Running batch jobs in Stata

You should type:

stata-se -b dofile.do &

This command will run the dofile “dofile.do” and save the output in dofile.log. The ampersand (&) indicates it should run in the background, returning control of the prompt to you. If you plan to log off from your terminal and login back later to retrieve the output you should attach the nohup command at the beginning.

If you plan to log off from your terminal and login back later to retrieve the output you should attach the nohup command at the beginning. Thus you should type something like:

nohup stata-se -b dofile.do &

Stata 14

There’s also a limited number of licences for Stata version 14 MP. You should get in touch with the Lab Consultant to find out more on how to get access to it