๐Ÿ“š

All Subjects

ย >ย 

๐Ÿ“Šย 

AP Stats

ย >ย 

๐Ÿ‘†

Unit 1

1.4 Representing a Categorical Variable with Graphs

2 min readโ€ขjune 3, 2020

Lusine Ghazaryan


Bar Graphs

To construct a bar graph (bar chart), we mark the frequencies on a vertical axis and the categories on the horizontal axis. Each category represents one bar. The frequency of each category determines the heights of the bars. All bars have the same width and gap between adjacent bars. To keep it short, here is the bar graph of stress on the job. We can also use relative frequencies or percentages to construct the bar graph. You can be creative and color each category with a different color. It will beย  visually attractive and easier to compare them.

https://firebasestorage.googleapis.com/v0/b/fiveable-92889.appspot.com/o/images%2F-jdsIRDnpdW2j.JPG?alt=media&token=e049a57b-3b5d-4c78-a7ab-c5c22087177b

Source: Prem S. Mann: Introductory Statistics. John Wiley and Sons Inc. 2020

Pie Charts

A pie chart is more commonly used to display percentages though not limited to frequencies or relative frequencies. The whole pie is divided into different portions that represent the different categories. Now we can use the same example and the percentages from the relative frequency table to display the pie the responses on job stress.

Tips: The choice between bar graphs and pie charts will depend on how many categories that variable of your interest assumes and the size of it. Whenever you have many categories or few categories with about the same frequencies, then the bar graph should be your first choice. If the pie has many slices or slices of the same size, it will be hard to compare the groups. Next, be careful of quantity distortions and keeping the area principle.

Contingency Table (Two-Way Table)

Categorical data can also be organized in contingency tables. The table shows how the individuals are distributed in the cells contingent with other variables. Contingency tables can tell how the variables are related to each other. When the numbers in cells are the same for all categories, then we can say that the variables are independent of each other. This is all about contingency tables; you will explore more about it in the coming units.๐ŸŽฅWatch: AP Stats - Analyzing Categorical Data

Resources:

Key Vocabulary

  • Frequency Table

  • Relative Frequency Table

  • Pie Chart

  • Bar Graph

  • Two-way Table

Was this guide helpful?

Join us on Discord

Thousands of students are studying with us for the AP Statistics exam.

join now

Browse Study Guides By Unit

โœ๏ธ
Blogs

โœ๏ธ
Free Response Questions (FRQs)

๐Ÿง
Multiple Choice Questions (MCQs)

โœŒ๏ธ
Unit 2: Exploring Two-Variable Data

๐Ÿ”Ž
Unit 3: Collecting Data

๐ŸŽฒ
Unit 4: Probability, Random Variables, and Probability Distributions

๐Ÿ“Š
Unit 5: Sampling Distributions

โš–๏ธ
Unit 6: Inference for Categorical Data: Proportions

๐Ÿ˜ผ
Unit 7: Inference for Qualitative Data: Means

โœณ๏ธ
Unit 8: Inference for Categorical Data: Chi-Square

๐Ÿ“ˆ
Unit 9: Inference for Quantitative Data: Slopes

Play this on HyperTyper

Practice your typing skills while reading Representing a Categorical Variable with Graphs

Start Game