100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Lecture Notes 2-3

Rating
-
Sold
-
Pages
12
Uploaded on
27-06-2022
Written in
2021/2022

Lecture notes of 12 pages for the course COMM 291 at UBC (Lecture Notes 2-3)

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
June 27, 2022
Number of pages
12
Written in
2021/2022
Type
Class notes
Professor(s)
Jonathan berkowitz
Contains
3-4

Subjects

Content preview

COMMERCE 291 – Lecture Notes 2020 – © Jonathan Berkowitz
Not to be copied, used, or revised without explicit written permission from the copyright owner.

Summary of Lectures 3 and 4

Chapter 2: Displaying and Describing Categorical Data

Recall that a variable is a characteristic of an individual, and a variable can take different
values for different individuals. When we speak of the “distribution” of a variable, we
mean, “What are the values of the variable and how often does each value occur?".
Distributions are best displayed in tables, charts, and graphs. All provide compact and
visually appealing ways of summarizing variables or data. Every statistical analysis of
data should include graphical summaries. We emphasize this as follows:
Three Rules of Data Analysis:
Rule 1. Make a picture.
Rule 2. Make a picture.
Rule 3. Make a picture.

These pictures give good general impressions of the data, the distribution of the
variable, trends, possible outliers, and later on, relationships among variables. They also
suggest which numerical summaries will be useful.

Frequency Table:
A table of counts (i.e. frequencies) of each of the values of a categorical variable,
together with relative frequencies (also called proportions) or percents.
Example: 20 students’ response to a multiple-choice question with 5 possible answers
DABAADACDDAABAAAEECA
Values Frequency Relative Frequency Percentage
A 10 .50 50%
B 2 .10 10%
C 2 .10 10%
D 4 .20 20%
E 2 .10 10%
Total 20 1.00 100%
One useful type of graph of a frequency table for a categorical variable is a “bar graph”
or “bar chart”. Here is a bar chart (created in Excel) for the above frequency table.




1

, Responses to Multiple Choice Question


12


10


8
Frequency




6


4


2


0
A B C D E
Response Choice




Note that the Y-axis could have shown the Percentage or Relative Frequency instead of
the Frequency.

When the bars are reordered and presented from lowest to highest or highest to lowest,
the chart is known as a Pareto chart.

A segmented or stacked bar chart divides up a 100% bar into segments, the widths of
which are proportional to the relative frequencies.

Would a pie chart be suitable here? Yes and No
Although pie charts are the most ubiquitous of graphs, they are rarely the best choice of
graphical display. A pie chart has very low data density. The percentages in it can be
better presented in a table. There are only two things worse than a pie chart: a 3-D pie
chart or multiple pie charts! See Tufte (1983) for more criticism of pie charts.

How would you compare two groups?
Clustered bar chart – works well
Multiple segmented bar charts – works well
Multiple pie charts – this does not work well!

Note that if you have only a very small number of values, a graph may be a waste of
time and space. My personal preference is that if you have fewer than five numbers to
display, just summarize it in a sentence. For example, if there are 60 domestic students
and 40 international students in a class of 100 students, write, “The class is 60%
domestic and 40% international”. Don’t bother with a bar chart for two bars!

There are lots of other possibilities, including line graphs, dot plots, and much more.
Check out “Insert > Charts” in Microsoft Excel for illustrations.


Area Principle: area should be proportional to the magnitude of what it represents.
Beware of misleading graphs that violate this principle.




2
$7.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
rakshitrajwani

Get to know the seller

Seller avatar
rakshitrajwani University of British Columbia
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
3 year
Number of followers
2
Documents
3
Last sold
3 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions