Chapter 3 Displaying and Describing Categorical Data

Similar documents
Chapter 2 - Displaying and Describing Categorical Data

Chapter 3 - Displaying and Describing Categorical Data

Acknowledgement: Author is indebted to Dr. Jennifer Kaplan, Dr. Parthanil Roy and Dr Ashoke Sinha for allowing him to use/edit many of their slides.

Descriptive Stats. Review

Chapter 2 Displaying and Describing Categorical Data

PRACTICE PROBLEMS FOR EXAM 1

Note that all proportions are between 0 and 1. at risk. How to construct a sentence describing a. proportion:

Chapter 2 - Frequency Distributions and Graphs

STAT 155 Introductory Statistics. Lecture 2: Displaying Distributions with Graphs

Offensive & Defensive Tactics. Plan Development & Analysis

Chapter 9: Hypothesis Testing for Comparing Population Parameters

PLAYERS AND SUBSTITUTES. Rule 8

What s the difference between categorical and quantitative variables? Do we ever use numbers to describe the values of a categorical variable?

Major League Baseball Offensive Production in the Designated Hitter Era (1973 Present)

Bases: 8u: 60', 9u: 65', 10u: 65, 11u: 70, 12u: 70, 13u: 80', 14u: 90', 16u & 18u 90'

IHS AP Statistics Chapter 2 Modeling Distributions of Data MP1

2015 Winter Combined League Web Draft Rule Packet (USING YEARS )

AP Stats Chapter 2 Notes

2018 Winter League N.L. Web Draft Packet

P.O. BOX 625 HOBART, IN (219)

Mathematics 43601H. Probability. In the style of General Certificate of Secondary Education Higher Tier. Past Paper Questions by Topic TOTAL

It s conventional sabermetric wisdom that players

NSW Baseball Scorers Association. How To Score - Tee Ball

OAKDALE BASEBALL ASSOCIATION Specific Rules Revised February 2014

Coaching Academy. Coaching Academy - Hitting Basics

P.O. BOX 625 HOBART, IN (219)

TEE BALL BASICS. Here is a field diagram: 45 feet

Base Running Program

Should pitchers bat 9th?

Smithville Girls Softball. Ages Proposed- 4/19/17

2018 SB MAJOR LEAGUE RULES (12U)

Bivariate Data. Frequency Table Line Plot Box and Whisker Plot

1 Hypothesis Testing for Comparing Population Parameters

When Should Bonds be Walked Intentionally?

Table 1. Average runs in each inning for home and road teams,

2018 Slow Pitch vs. Fast Pitch Rules

The catcher must remain in the box until the pitch is released. Runners may advance once the pitched ball leaves the pitchers hand.

JWPB Rules. Players may not play for or be on the roster for two teams in the same division.

Age of Fans

Gouwan Strike English Manual

Mt Pleasant Parks and Recreation Adult Coed Kickball League By-Laws Revised 5/30/2017

Chapter 3.4. Measures of position and outliers. Julian Chan. September 11, Department of Mathematics Weber State University

1. The data below gives the eye colors of 20 students in a Statistics class. Make a frequency table for the data.

Analyzing Categorical Data & Displaying Quantitative Data Section 1.1 & 1.2

Baseline Survey of New Zealanders' Attitudes and Behaviours towards Cycling in Urban Settings

Monrovia Parks and Recreation Association, Inc. Divisional Softball Rules

Wildlife Ad Awareness & Attitudes Survey 2015

Figure 1. Winning percentage when leading by indicated margin after each inning,

Recesstime Sports Leagues Mushball Rules

A Markov Model of Baseball: Applications to Two Sluggers

Quiz 1.1A AP Statistics Name:

Practice and Game Management for Coaches 6U/8U

2012 Slow Pitch vs. Fast Pitch Rules

Bragan s 1956 Pirates Unconventional Lineups

INTRAMURAL SLOW PITCH SOFTBALL RULES Spring 2018

2018 Rule Changes. Please note: These changes are NOT listed in the printed version of the 2018 rulebooks,

Scaled vs. Original Socre Mean = 77 Median = 77.1

Lesson Plan: Bats and Stats

CHAPTER 2 Modeling Distributions of Data

North Point - Advance Placement Statistics Summer Assignment

DO YOU KNOW WHO THE BEST BASEBALL HITTER OF ALL TIMES IS?...YOUR JOB IS TO FIND OUT.

EBENSBURG LITTLE LEAGUE 2017 MINOR LEAGUE RULES

Women s Softball Rules

SSSA 9U & 7U (T-Ball) Rules. 9U & 7U Rules. 2016/17 Season (V1)

Rules Forum. Level V Umpire (2005) Softball Canada SNL Umpire-In-Chief. Softball Newfoundland Labrador Annual General Meeting April 14

LEAGUE PROFILE AND RULES 1.2

FOOTBALL SCHEDULE TRYOUTS MAY BEGIN ON 8/17/18

GCBA JUNIOR PLAYING CONDITIONS SUMMARY

CS 221 PROJECT FINAL

Wicomico County Recreation & Parks ADULT KICKBALL

Chapter 2: Visual Description of Data

USSSA Slow Pitch Umpire Test 2014 Answer Sheet

Additional On-base Worth 3x Additional Slugging?

Diameter in cm. Bubble Number. Bubble Number Diameter in cm

Centerville Baseball Softball League. 6U T-Ball League Rules 2015

TPLL 2017 MINORS RULES

6U All Star Rules SECTION 14 6U RULES. (for complete set of rules visit the IFA/VTD rulebook online)

RULES & REGULATIONS WARM-UP POLICY. We have two hitting tunnels located down the hallway. There will be signs that can direct you to those.

SCHOOL SPORT VICTORIA BASEBALL - SECONDARY

Same as spring numbers pitches = no rest pitches = 2 nights rest pitches = 2 nights rest pitches = 3 nights rest

T-BALL LEAGUE CAPITOL LITTLE LEAGUE PLAYING RULES FOR T-BALL

Force Play. A Play Hard Book. Jennifer Liss. High Noon Books Novato, CA

PLAYER ANDTEAM CONDUCT

NORTHERN METROPOLITAN REGION

2016 Coed Softball League Rules

How the interpretation of match statistics affects player performance

HYAA Black and Gold Baseball Rules. Ages 6-12

JEFFERSON PARISH DEPARTMENT OF PARKS AND RECREATION

Lesson 2 Pre-Visit Slugging Percentage

2018 Adult Softball League Rules

RocSports, LLC. Slow Pitch Rules and Regulations: Cobb s Hill Last Updated: 3/5/2018

NORTHERN METROPOLITAN REGION

CATHOLIC YOUTH ORGANIZATION Monroe County CYO SOFTBALL RULES/REGULATIONS

Left Fielder. Homework

Do Clutch Hitters Exist?

Horsham Township 2015 Coed Slow-Pitch Softball League

IM Softball Rules and Information

SLOWPITCH SOFTBALL RULES of the GAME

Matt Halper 12/10/14 Stats 50. The Batting Pitcher:

1 st Annual Kickball Tournament Burlington Athletic Stadium

Transcription:

Chapter 3 Displaying and Describing Categorical Data Stats: Modeling the World Chapter 3 are often used to organize categorical data. Frequency tables display the category names and the of the number of data values in each category. also display the category names, but they give the rather than the counts for each category. Color Freq. Rel. Freq. Percent Blue 13 Red 7 Orange 11 Green 9 Yellow 8 Brown 7 TOTAL 55 1.000 100% A is often used to display categorical data. The height of each bar represents the for each category. Bars are displayed next to each other for easy comparison. When constructing a bar chart, note that the bars do not one another. Categorical variables usually cannot be ordered in a meaningful way; therefore the order in which the bars are displayed is often meaningless. F requ ency 14 12 10 8 6 4 2 0 M&M Color Distribution 13 11 9 7 8 7 Blue Red Orange Green Yellow Brown A bar chart displays the proportion of counts for each category. M&M Color Distribution The sum of the relative frequencies is. F requ ency 30% 25% 15% 10% 5% 0% 24% 16% 13% 14% 13% Blue Red Orange Green Yellow Brown A is another type of display used to show categorical data. Pie charts show parts of a whole. Pie charts are often difficult to construct by hand. A shows two categorical variables together. The margins give the frequency distributions for each of the variables, also called the.

Examine the class data about gender and political view liberal, moderate, conservative. TOTAL What percent of the class are girls with liberal political views? What percent of the liberals are girls? What percent of the girls are liberals? What is the marginal distribution of gender? What is the marginal distribution of political views? A conditional distribution shows the distribution of one variable for only the individuals who satisfy some condition on another variable. The conditional distribution of political preference, conditional on being male: The conditional distribution of political preference, conditional on being female: What is the conditional relative frequency distribution of gender among conservatives? If the conditional distributions are the same, we can conclude that the variables are not associated. Therefore, they are of one another. If the conditional distributions differ, we can conclude that the variables are somehow associated. Therefore, they are of one another. Are gender and political view independent?

A segmented bar chart displays the same information as a pie chart, but in the form of bars instead of circles. Comparing segmented bar charts is a good way to tell if two variables are independent of one another or not. Gender vs. Political Preference Percent 100% 90% 80% 70% 60% 50% 40% 30% 10% 0% Explain how the graph on the left violates the area principle. Explain what is wrong with the graph below.

Averaging one variable across different levels of a second variable can lead to. Consider the following example: Stats: Modeling the World Chapter 3 It s the last inning of an important game. Your team is a run down with the bases loaded and two outs. The pitcher is due up, so you ll be sending in a pinch-hitter. There are 2 batters available on the bench. Whom should you send in to bat? Player Overall A 33 for 103 B 45 for 151 Compare A s batting average to B s batting average. Which player appears to be the better choice? Does it matter whether the pitcher throws right- or left-handed? Player Overall vs LHP vs RHP A 33 for 103 28 for 81 5 for 22 B 45 for 151 12 for 32 33 for 119 Compare A s batting average vs. a left-handed pitcher to B s. Compare A s batting average against a right-handed pitcher. Which player appears to be the better choice? Pooling the data together loses important information and sometimes leads to the wrong conclusion. We always should take into account any factor that might matter.

Notes: Displaying and Describing Categorical Data Frequency tables are often used to organize categorical data. Frequency tables display the category names and the counts of the number of data values in each category. Relative frequency tables also display the category names, but they give the percentages rather than the counts for each category. Color Freq. Rel. Freq. Percent Blue 13 0.236 24% Red 7 0.127 13% Orange 11 0.200 Green 9 0.164 16% Yellow 8 0.145 14% Brown 7 0.127 13% TOTAL 55 1.000 100% A bar chart is often used to display categorical data. The height of each bar represents the count for each category. Bars are displayed next to each other for easy comparison. When constructing a bar chart, note that the bars do not touch one another. Categorical variables usually cannot be ordered in a meaningful way; therefore the order in which the bars are displayed is often meaningless. F requ ency 14 12 10 8 6 4 2 0 M&M Color Distribution 13 11 9 7 8 7 Blue Red Orange Green Yellow Brown A relative frequency bar chart displays the proportion of counts for each category. M&M Color Distribution The sum of the relative frequencies is 100%. F requ ency 30% 25% 15% 10% 5% 0% 24% 16% 13% 14% 13% Blue Red Orange Green Yellow Brown A pie chart is another type of display used to show categorical data. Pie charts show parts of a whole. Pie charts are often difficult to construct by hand. A contingency table shows two categorical variables together. The margins give the frequency distributions for each of the variables, also called the marginal distribution.

Examine the class data about gender and political view liberal, moderate, conservative. Stats: Modeling the World Chapter 3 TOTAL What percent of the class are girls with liberal political views? What percent of the liberals are girls? What percent of the girls are liberals? What is the marginal distribution of gender? What is the marginal distribution of political views? A conditional distribution shows the distribution of one variable for only the individuals who satisfy some condition on another variable. The conditional distribution of political preference, conditional on being male: The conditional distribution of political preference, conditional on being female: What is the conditional relative frequency distribution of gender among conservatives? If the conditional distributions are the same, we can conclude that the variables are not associated. Therefore, they are independent of one another. If the conditional distributions differ, we can conclude that the variables are somehow associated. Therefore, they are not independent of one another. Are gender and political view independent?

A segmented bar chart displays the same information as a pie chart, but in the form of bars instead of circles. Comparing segmented bar charts is a good way to tell if two variables are independent of one another or not. Gender vs. Political Preference Percent 100% 90% 80% 70% 60% 50% 40% 30% 10% 0% Explain how the graph on the left violates the area principle. Explain what is wrong with the graph below.

Averaging one variable across different levels of a second variable can lead to Simpson s Paradox. Consider the following example: It s the last inning of an important game. Your team is a run down with the bases loaded and two outs. The pitcher is due up, so you ll be sending in a pinch-hitter. There are 2 batters available on the bench. Whom should you send in to bat? Player Overall A 33 for 103 B 45 for 151 Compare A s batting average to B s batting average. Which player appears to be the better choice? Player A has a higher batting average (0.320 vs. 0.298), so he looks like the better choice. Does it matter whether the pitcher throws right- or left-handed? Player Overall vs LHP vs RHP A 33 for 103 28 for 81 5 for 22 B 45 for 151 12 for 32 33 for 119 Compare A s batting average vs. a left-handed pitcher to B s. Compare A s batting average against a right-handed pitcher. Which player appears to be the better choice? Player B has a higher batting average against both right- and left-handed pitching, even though his overall average is lower. Player B hits better against both right- and left-handed pitchers. So no matter the pitcher, B is a better choice. So why is his batting average lower? Because B sees a lot more right-handed pitchers than A, and (at least for these guys) right-handed pitchers are harder to hit. For some reason, A is used mostly against left-handed pitchers, so A has a higher average. Pooling the data together loses important information and leads to the wrong conclusion. We always should take into account any factor that might matter.