Stata
Stata software access, working habits, and a guide to tutorials, videos, books, and do-file practice for students in NYU Abu Dhabi methods courses.
Guides
NYUAD software downloads
- Software List — NYU login: NYUAD software for research and teaching.
- Stata Download
- Excel (Office 365) Download
- Free to students at eligible universities
- University email needed to sign up
File management
Datasets
Miscellaneous
Important lessons on Stata
- Always save your .do file
- NEVER save changes to the .dta file unless you are absolutely sure
- Comment, comment, comment
- Keep track of .log files
- When making a major change to your .do file, create a new version
- Keep a .do file template so you don’t have to rewrite the simple stuff
- Stata is case-sensitive
Math and programming operators in Stata
Make special note of the difference between = and ==.
+ "addition"
- "subtraction"
* "multiplication"
/ "division"
^ "power"
& "and"
| "or"
! "not"
> "greater than"
>= "greater than or equal to"
< "less than"
<= "less than or equal to"
= "assign the value"
== "equal to"
!= "not equal to"