using stata on terpconnect
Graduate students at Maryland can access stata without purchasing a copy of the software through terpconnect.
To access stata from your desktop computer use ssh (If you are using a windows machine, type this command at the command prompt. If you are using a mac, type this in a terminal window - Applications/Utilities/Terminal.app):
ssh -Y username@terpconnect.umd.edu
Where username is your UMD uid/directory id. You will be prompted for your directory password.
Once you have been connected to terpconnect, type:
tap stata
Now you are ready to run stata. To start stata interactively type:
stata
To run a stata .do file, you can use batch mode. Instead of starting stata in interactive mode, type:
stata -b “do mydofile.do”
where mydofile.do is the name of your do file.
This will produce a plain text log file that you can view with the more command by typing:
more mydofile.log
If you would like to edit or create a do file you can use the pico text editor. Type:
pico mydofile.do