From the course: Introduction to Stata

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Tabulating and tables

Tabulating and tables - Stata Tutorial

From the course: Introduction to Stata

Tabulating and tables

- [Instructor] Calculating variables is an important part of initial data exploration. We'll often use tabulate to explore categorical variables. Whilst we'll use summarize for continuous variables. In this session, we'll explore how to use tabulate, and create one, two, and even three way tables. We'll also examine how we can create custom tables in Stata. The commands I will introduce in this session are tab, which tabulates variables, and table and tabstat, which create customized tables. So let's head over to Stata and explore this using the auto data. Here we are in Stata with the auto data already preloaded. Let's say that we suspect that some of our variables might be categorical. Let's do a quick summary. And there are two variables in particular in the auto data set that we think might be categorical variables. The first one is the repo record of 1978, which appears to have a minimum of one and a maximum of…

Contents