This preview shows page 1. Sign up to view the full content.
Unformatted text preview: tab var1 or tab var1 var2 For a single categorical variable, it presents the frequency distribution; for two categorical variables, it gives the joint frequency distribution. correlate corr var1 var2 Displays the coefficient of correlation between two variables. graph pie graph pie cat1 cat2 cat3 cat4 Creates a pie graph with the shares of people belonging to each category. The list of categories must be mutually exclusive, and contain the entire set of possibilities. graph hbox graph hbox var1 or graph hbox var1, over(var2) Creates a box-and-whiskers graph of the variable. With the over option, it does a graph for each category within the second variable. scatter scatter yvar xvar Creates a scatterplot, with the first variable on the y axis and the second on the x axis. ....
View Full Document
This note was uploaded on 03/19/2010 for the course ECON 400 taught by Professor Turchi during the Spring '08 term at UNC.
- Spring '08