Comparitive Graphs.

Slides:



Advertisements
Similar presentations
AP Statistics Section 4.2 Relationships Between Categorical Variables.
Advertisements

CHAPTER 1 Exploring Data 1.1 Analyzing Categorical Data.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.1 Analyzing Categorical.
AP STATISTICS Section 4.2 Relationships between Categorical Variables.
Chapter 1: Exploring Data
+ The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE Chapter 1: Exploring Data Introduction Data Analysis: Making Sense of Data.
Warm-Up List all of the different types of graphs you can remember from previous years:
Relations and Categorical Data Target Goal: I can describe relationships among categorical data using two way tables. 1.1 cont. Hw: pg 24: 20, 21, 23,
Chapter 1: Exploring Data Sec. 1.1 Analyzing Categorical Data.
CHAPTER 6: Two-Way Tables. Chapter 6 Concepts 2  Two-Way Tables  Row and Column Variables  Marginal Distributions  Conditional Distributions  Simpson’s.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.0 Introduction Data Analysis:
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE Statistics.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE Introduction:
BPS - 3rd Ed. Chapter 61 Two-Way Tables. BPS - 3rd Ed. Chapter 62 u In this chapter we will study the relationship between two categorical variables (variables.
Stat1510: Statistical Thinking and Concepts Two Way Tables.
Two-Way Tables Categorical Data. Chapter 4 1.  In this chapter we will study the relationship between two categorical variables (variables whose values.
Warm-up An investigator wants to study the effectiveness of two surgical procedures to correct near-sightedness: Procedure A uses cuts from a scalpel and.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
DO NOW: Oatmeal and cholesterol Does eating oatmeal reduce cholesterol
The TITANIC In 1912 the luxury liner Titanic, on its first voyage across the Atlantic, struck an iceberg and sank. Some passengers got off the ship in.
Chapter 1: Exploring Data
AP Statistics Section 4.2 Relationships Between Categorical Variables
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
+ Warm Up Which of these variables are categorical? Which are quantitative?
Chapter 1.1 – Analyzing Categorical Data A categorical variable places individuals into one of several groups of categories. A quantitative variable takes.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE Introduction:
CHAPTER 6: Two-Way Tables*
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
+ Analyzing Categorical Data Categorical Variables place individuals into one of several groups or categories The values of a categorical variable are.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
+ Chapter 1: Exploring Data Section 1.1 Analyzing Categorical Data The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
1.1 ANALYZING CATEGORICAL DATA. FREQUENCY TABLE VS. RELATIVE FREQUENCY TABLE.
Topic 5 Exploring Categorical Data: Frequency Tables.
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 6: Two-Way Tables
Warmup Which part- time jobs employed 10 or more of the students?
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
1.1 Analyzing Categorical Data.
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Section 4-3 Relations in Categorical Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Presentation transcript:

Comparitive Graphs

Two Way Table Describes two categorical variables. One variable is shown in the rows and the other is in the columns.

Example of Two Way Table Young adults by gender & chance of getting rich   Gender Opinion Female Male Total Almost no chance 96 98 194 Some chance but probably not 426 286 712 A 50-50 chance 696 720 1416 A godd chance 663 758 1421 Almost certain 486 597 1083 2367 2459 4826

Reading a Two-Way Table Look at the distribution of each variable separately. The totals on the right are strictly the values for the distribution of opinions about becoming rich for all. The totals at the bottom are for gender

Marginal Distribution The marginal distribution of one of the categorical variables in a two-way table of counts is the distribution of values of that variable among all individuals described by the table. It’s the distribution of each category alone.

Percentages Often are more informative Used when comparing groups of different sizes.

Young adults by gender & chance of getting rich Find the percent of young adults who they there is a good chance they will be rich. Young adults by gender & chance of getting rich   Gender Opinion Female Male Total Almost no chance 96 98 194 Some chance but probably not 426 286 712 A 50-50 chance 696 720 1416 A godd chance 663 758 1421 Almost certain 486 597 1083 2367 2459 4826

Young adults by gender & chance of getting rich Find the marginal distribution (in %) of opinions. Make a graph to display the marginal distribution. Young adults by gender & chance of getting rich   Gender Opinion Female Male Total Almost no chance 96 98 194 Some chance but probably not 426 286 712 A 50-50 chance 696 720 1416 A godd chance 663 758 1421 Almost certain 486 597 1083 2367 2459 4826

Response Percent Almost no chance 4.0% Some chance but probably not 14.8% A 50-50 chance 29.3% A good chance 29.4% Almost certain 22.4%

Young adults by gender & chance of getting rich Find the marginal distribution (in %) of gender. Make a graph to display the marginal distribution. Young adults by gender & chance of getting rich   Gender Opinion Female Male Total Almost no chance 96 98 194 Some chance but probably not 426 286 712 A 50-50 chance 696 720 1416 A godd chance 663 758 1421 Almost certain 486 597 1083 2367 2459 4826

Response Percent Male 51% Female 49%

Conditional Distribution It describes the values of that variable among individuals who have a specific value of another variable. To describe the relationship between the two categorical variables

Conditional Distribution of young women and men and their opinion. Young adults by gender & chance of getting rich   Gender Opinion Female Male Almost no chance 96 98 Some chance but probably not 426 286 A 50-50 chance 696 720 A godd chance 663 758 Almost certain 486 597 Total 2367 2459

Segmented Bar Graph Response Women Men Almost no chance 4.1% 4% Some chance but probably not 18.0% 11.6% A 50-50 chance 29.4% 29.3% A good chance 28% 30.8% Almost certain 20.5% 24.3%

Did we look at the right conditional distribution? Our goal was to analyze the relationship between gender and opinion about chances of becoming rich for these young adults.

Four-Step Process State: What’s the question that you’re trying to answer? Plan: How will you go about answering the question? What statistical techniques does this problem call for? Do: Make graphs and carry out needed calculations. Conclude: Give your practical conclusion in the setting of the real-world problem.

State What is the relationship between gender and responses to the question “What do you think are the chances you will have much more than a middle-class income at age 30?”

Plan We suspect that gender might influence a young adult’s opinion about the chance of getting rich. So we’ll compare the conditional distributions of response for men alone and for women alone. Response Women Men Almost no chance 4.1% 4% Some chance but probably not 18.0% 11.6% A 50-50 chance 29.4% 29.3% A good chance 28% 30.8% Almost certain 20.5% 24.3%

Do We’ll make a side-by side bar graph to compare the opinions of males and females. I could have used a segmented as well!

Side-by Side Comparative Bar Graph Response Women Men Almost no chance 4.1% 4% Some chance but probably not 18.0% 11.6% A 50-50 chance 29.4% 29.3% A good chance 28% 30.8% Almost certain 20.5% 24.3%

Conclude Based on the sample data, men seem somewhat more optimistic about their future income than women. Men were less likely to say that they have “some chance but probably no” than women (11.6% vs 18.0%). Men were more likely to say that they have a “good chance” (30.8% vs 28.0%) aor alre “almost certain” (24.3% vs 20.5%) to have much more than a middle-class income by age 30 than women were.

Association We say there is an association between two variables if specific values of one variable tend to occur in common with specific values of the other. Be careful though….even a strong association between two categorical variables can be influenced by other variables lurking in the background.

Simpson’s Paradox An association between two variables that holds for each individual value of a thrid variable can be changed or even reversed when the data for all values of the third variable are combined. This reversal is called Simpson’s paradox.

Accident victims are sometimes taken by helicopter from the accident scene to a hospital. Helicopters save taim. Do they also save lives?   Helicopter Road Victim Died 64 260 Victim survived 136 840 Total 200 1100 32% of helicopter patients died, but only 24% of the others did. This seems discouraging!

Helicopter is sent mostly to serious accidents.   Helicopter Road Died 48 60 Survived 52 40 Total 100 Less Serious Accident   Helicopter Road Died 16 200 Survived 84 800 Total 100 1000

Titanic Disaster

Homework Page 24 (19, 21, 23, 24, 25, 27-32, 33, 35, 36)