In this post, I will explain the functions of the various windows in STATA. It is important to understand how each window functions in order to be able to use STATA efficiently. Figure 1 shows how a default STATA window looks like.
1. a. Command and b. Results Window:
The "Command" window in the centre bottom is where you type the commands that you want STATA to execute and the results are shown immediately on the "Results" window.
2. a. History Window and b. Search Box:
On the left side, there is a History window which displays all the commands you use in the current session. By default, it is listed in chronological order. However, you can toggle the "Command" column or "_rc" column to show a different order. You will also find a search box at the bottom of the history window. If you type a command and press enter, it will show you the history of only that command in the current session. It is useful when you have multiple lines if command history and are trying to locate one in particular.
3. a. Variables and b. Properties Window:
This is on the right side and shows two sections. The top section lists the variable names along with their labels (which will be explained in a later post). The bottom section shows the property of each variable (which you will be able to see when you click on a variable name) as well as the properties of the entire data set. For example, it tells you that the number of variables in the data as well as the number of observations.
4. Search help:
In the top right corner, there is a search box which allows you to search for help on STATA. Suppose, you need help with the command regress, you can type in "regress" on the search box and press enter. A new window will open up showing you various options. (Please see Figure 2)
The "Command" window in the centre bottom is where you type the commands that you want STATA to execute and the results are shown immediately on the "Results" window.
2. a. History Window and b. Search Box:
On the left side, there is a History window which displays all the commands you use in the current session. By default, it is listed in chronological order. However, you can toggle the "Command" column or "_rc" column to show a different order. You will also find a search box at the bottom of the history window. If you type a command and press enter, it will show you the history of only that command in the current session. It is useful when you have multiple lines if command history and are trying to locate one in particular.
3. a. Variables and b. Properties Window:
This is on the right side and shows two sections. The top section lists the variable names along with their labels (which will be explained in a later post). The bottom section shows the property of each variable (which you will be able to see when you click on a variable name) as well as the properties of the entire data set. For example, it tells you that the number of variables in the data as well as the number of observations.
4. Search help:
In the top right corner, there is a search box which allows you to search for help on STATA. Suppose, you need help with the command regress, you can type in "regress" on the search box and press enter. A new window will open up showing you various options. (Please see Figure 2)
5. STATA Menu:
STATA is one of the most user-friendly statistical softwares. The drop-down menu on the top allows you to quickly find and use STATA functions.
STATA is one of the most user-friendly statistical softwares. The drop-down menu on the top allows you to quickly find and use STATA functions.