How-to: Using STATA

FOR WINDOWS USERS

You will follow the directions here for VcXsrv and then PuTTY, but when you get to number 4 in the PuTTY instructions you will want to use another address (not head.arcc.albany.edu):

lmm.its.albany.edu

and then save the session as “lmm” instead of “head”. Everything else is the same.

Once you are down to step 7 in that article enter the following on the command line to load STATA:

module load stata

Then you can use one of the following.

The code below will launch the GUI:

xstata-mp 

To run batch jobs directly from the command line use:

stata-mp -b do my_analysis.do

FOR MAC USERS

You will follow the directions here for XQuartz and then Terminal here, but when you get to number 3 in the Terminal instructions you will want to use another address (not head.arcc.albany.edu):

ssh -Y [netid]@lmm.rit.albany.edu

Everything else is the same.

Once you are down to step 7 in that article enter the following on the command line to load STATA:

module load stata

Then you can use one of the following.

The code below will launch the GUI:

xstata-mp 

To run batch jobs directly from the command line use:

stata-mp -b do my_analysis.do