changes the working directory one level up. If the directory contains spaces, we need to include quotes.Ĭd.
#USE STATA 12 COMMAND MAC#
If the working directory is not specified, in Mac simply typing cd sets the home directory as the current working directory. We will set the current working directory to where we work with the project before we get started. Usually for each project we will want to set up a different working directory.
![use stata 12 command use stata 12 command](https://slideplayer.com/slide/17882566/106/images/6/Interface+Stata+12+Do+file+Data+edit+Jan-20+H.S..jpg)
To that end below are the very first steps.Ī working directory is the default directory where Stata reads and writes files. However, for any reproducible work we will want to keep track of the codes and methods we use. Type search keyword to 1) search a topic in Stata’s local keyword databases and the net materials 2) if we do not know the exact command name or 3) if we want to search for a user-written package to download.īack to top The Very First Steps to Reproducible Workįor simple tasks and for exploratory purposes one can use Stata interactively by selecting and clicking the commands from the menu bar, or typing commands line-by-line in the Command window. Type help command to look for the syntax and usage of a command.
#USE STATA 12 COMMAND DOWNLOAD#
One of the common uses is a help system and a place to find and download the user-written packages. We wil explain the usage of a log in the next chapter.
![use stata 12 command use stata 12 command](https://www.stata.com/stata12/interface/i/stata12_svynbreg_menu_mac.png)
This will be talked about more later on in this FAQ. Note: I included the “version(#)” option at the end of the “saveold” command. To save to an older version you must open data in Stata11 and use saveold again to go to an earlier version. Important: Stata15 can only save back to version 11. Using the “saveold” command.Įxample: My data is of version 15, but I want to save the data so I can use it in Stata11.
![use stata 12 command use stata 12 command](https://cdn.cupdf.com/img/1200x630/reader019/reader/2020041117/5b4fc6a97f8b9a396e8d06df/r-1.jpg)
![use stata 12 command use stata 12 command](https://www.surveycto.com/wp-content/uploads/2019/03/Stata-sensor-data-commands.jpg)
Stata’s backwards compatibility works for 1 version away. Newer versions of Stata can read older versions but that is not the case for older Stata dealing with newer versions.