Skip to main content

Stata: Frequency Distribution

A brief introduction to Stata

What is a Frequency Distribution?

A frequency distribution is a table that identifies how many respondents fell under each response option. 

 

 

 

 

 

 

 

Note: For this example, General Social Survey 2016 data (located on "About Stata" tab) is used to produce the frequency distribution on respondent sex.

Steps to Frequency Distributions: Point and Click

1. Go to Statistics > Summaries, tables, and tests > Frequency tables > One-way table

2. Under Categorical variable: either (a) type in the variable name or (b) select the variable name from the drop down menu. Select "OK"

 

 

Steps to Frequency Distributions: Code

1. In the Command box type in the following code

tab variablename

Example: tab sex

2. Hit Enter key