Unlocking the Power of Stata’s Macros and Loops
There are many steps to analyzing a data set.
One of the first steps is to create tables and graphs of your variables in order to understand what is behind the thousands of numbers on your screen. But the type of table and graph you create depends upon the type of variable you are looking at.
There certainly isn’t much point in running a frequency table for a continuous variable with hundreds of unique observations.
Creating a boxplot to look for outliers doesn’t make much sense if the variable is categorical. Creating a histogram for a dummy variable would be senseless as well.
How should you start this process? Should you create a spreadsheet listing all the names of the variables and list what type of variable they are? Should you paste the names into a Word document?
Covered in this webinar:
- The code to quickly determine the type of variable in a data set
- Stata’s creation of the proper table and graph for each type of variable
- Examples and practice of code
- And more!