Inference about a population proportion.

Slides:



Advertisements
Similar presentations
Data Analysis for Two-Way Tables
Advertisements

AP Statistics Section 4.2 Relationships Between Categorical Variables.
Copyright ©2011 Brooks/Cole, Cengage Learning More about Inference for Categorical Variables Chapter 15 1.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
1 Inference for Categorical Data William P. Wattles, Ph. D. Francis Marion University.
BPS - 5TH ED.CHAPTER 6 1 An important measure of the performance of a locomotive is its "adhesion," which is the locomotive's pulling force as a multiple.
HW#8: Chapter 2.5 page Complete three questions on the last two slides.
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,
Exploring Data Section 1.1 Analyzing Categorical Data.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
Data Analysis for Two-Way Tables. The Basics Two-way table of counts Organizes data about 2 categorical variables Row variables run across the table Column.
Essential Statistics Chapter 161 Review Part III_A_Chi Z-procedure Vs t-procedure.
Warm up On slide.
Two-way tables BPS chapter 6 © 2006 W. H. Freeman and Company.
 Some variables are inherently categorical, for example:  Sex  Race  Occupation  Other categorical variables are created by grouping values of a.
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.
Two-Way Tables Categorical Data. Chapter 4 1.  In this chapter we will study the relationship between two categorical variables (variables whose values.
Aim: How do we analyze data with a two-way table?
Inference about a population proportion. 1. Paper due March 29 Last day for consultation with me March 22 2.
Chapter 6 Two-Way Tables BPS - 5th Ed.Chapter 61.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
BPS - 3rd Ed. Chapter 61 Two-Way Tables. BPS - 3rd Ed. Chapter 62 u In prior chapters we studied the relationship between two quantitative variables with.
AP Statistics Section 4.2 Relationships Between Categorical Variables
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Warm up On slide.
Second factor: education
Statistics 200 Lecture #7 Tuesday, September 13, 2016
CHAPTER 1 Exploring Data
Objectives (BPS chapter 23)
Assignment: Read Chapter 12 Exercises p : 9, 11, 17, 19, 20
The Practice of Statistics in the Life Sciences Third Edition
i) Two way ANOVA without replication
Hypothesis Testing Review
CHAPTER 11 Inference for Distributions of Categorical Data
Essential Statistics Two Categorical Variables: The Chi-Square Test
Comparing Two Proportions
Second factor: education
Looking at Data - Relationships Data analysis for two-way tables
WARM – UP As an employee of Pizza Hut, your boss has put you in charge of determining the likeability of a New kind of Pizza. Using the 6 W’s, how would.
The Practice of Statistics in the Life Sciences Fourth Edition
Data Analysis for Two-Way Tables
Chapter 11 Goodness-of-Fit and Contingency Tables
AP STATISTICS LESSON 4 – 3 ( DAY 1 )
Chapter 1 Data Analysis Section 1.1 Analyzing Categorical Data.
Inference for Categorical Data
CHAPTER 22: Inference about a Population Proportion
CHAPTER 6: Two-Way Tables
AP Statistics Chapter 3 Part 2
Chapter 11: Inference for Distributions of Categorical Data
Second factor: education
Relations in Categorical Data
Warmup Which part- time jobs employed 10 or more of the students?
CHAPTER 11 Inference for Distributions of Categorical Data
Introduction & 1.1: Analyzing categorical data
Inference on Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Basic Practice of Statistics - 3rd Edition Inference for Regression
Section 4-3 Relations in Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Section Way Tables and Marginal Distributions
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Categorical Data By Farrokh Alemi, Ph.D.
Presentation transcript:

Inference about a population proportion.

Paper due April 1 at midnight Last day for consultation with me March 29 That means I won’t answer questions after Tuesday.

Who prefers the RAZR? http://www.communitynewspapergroup.com/cedar_falls_times/news/survey-shows-v-s-students-parents-favor-spring-break/article_892b613e-e1d2-59be-b054-6e4c34feeed0.html

Prediction

Prediction

Probabilistic Reasoning “The Achilles’ heel of human cognition.”

Probabilistic Reasoning “Men are taller than women” “All men are taller than all women”

Probabilistic Reasoning A probabilistic trend means that it is more likely than not but does not always hold true. See How to think straight about Psychology by Keith Stanovich

Probabilistic Reasoning Knowledge does not have to be certain to be useful. Individual cases cannot be predicted but trends can

Proportions The proportion of a population that has some outcome (“success”) is p. The proportion of successes in a sample is measured by the sample proportion: “p-hat” BPS - 5th Ed. Chapter 19

Inference about a Proportion Simple Conditions BPS - 5th Ed. Chapter 19

Example 19.5 page 508 What proportion of Euros have cocaine traces? Sample 17 out of 20 85%

Dealing with sampling error Confidence intervals Hypothesis testing

Obtaining confidence intervals estimate + or - margin of error

Determining Critical values of Z 90% .05 1.645 95% .025 1.96 99% .005 2.576 Critical Values: values that mark off a specified area under the standard normal curve.

Problem 19.6 page 507 What proportion of SAT takers have coaching? 99% Confidence Interval 427 coaching 2733 did not 3160 total

Problem 19.6 page 507 What proportion of SAT takers have coaching? 99% Confidence Interval 427 coaching 2733 did not 3160 total

19.25 page 517 Do smokers know it is bad for them? 95% confidence interval Yes 848 Total 1010

19.25 page 517 Do smokers know it is bad for them? 95% confidence interval Yes 848 Total 1010

Problem 19.5 page 307 What percent of Canadians support gun registration? Total 1505 Number who answered yes 1288 Give a 95% confidence interval

Problem 19.5 page 307 What percent of Canadians support gun registration? Total 1505 Number who answered yes 1288 Give a 95% confidence interval

William P. Wattles, Ph.D. Chapter 20 Two-way tables William P. Wattles, Ph.D. Chapter 20

Categorical Data Examples, gender, race, occupation, type of cellphone, type of trash are categorical

Categorical Data Sometimes measurement data is grouped into categorical.

Categorical Data Expressed in counts or percents Less than 219.2      219.2 to 247.9      248.0 to 282.0      More than 282.0

p = population proportion Population Parameter p = population proportion Sample phat=sample proportion

Two-way table Organizes data about two categorical variables

Categorical Variables Now we will study the relationship between two categorical variables (variables whose values fall in groups or categories). To analyze categorical data, use the counts or percents of individuals that fall into various categories. BPS - 5th Ed. Chapter 6

Two-Way Table When there are two categorical variables, the data are summarized in a two-way table each row in the table represents a value of the row variable each column of the table represents a value of the column variable The number of observations falling into each combination of categories is entered into each cell of the table BPS - 5th Ed. Chapter 6

Two-way table

Marginal Distributions A distribution for a categorical variable tells how often each outcome occurred totaling the values in each row of the table gives the marginal distribution of the row variable (totals are written in the right margin) totaling the values in each column of the table gives the marginal distribution of the column variable (totals are written in the bottom margin) BPS - 5th Ed. Chapter 6

175,230

Marginal Distributions It is usually more informative to display each marginal distribution in terms of percents rather than counts each marginal total is divided by the table total to give the percents A bar graph could be used to graphically display marginal distributions for categorical variables BPS - 5th Ed. Chapter 6

175,230

(Statistical Abstract of the United States, 2001) Case Study Age and Education (Statistical Abstract of the United States, 2001) Data from the U.S. Census Bureau for the year 2000 on the level of education reached by Americans of different ages. BPS - 5th Ed. Chapter 6

Marginal distributions Case Study Age and Education Variables Marginal distributions BPS - 5th Ed. Chapter 6

Marginal distributions Case Study Age and Education Variables Marginal distributions 21.6% 46.5% 32.0% 15.9% 33.1% 25.4% 25.6% BPS - 5th Ed. Chapter 6

Marginal Distribution for Education Level Case Study Age and Education Marginal Distribution for Education Level Not HS grad 15.9% HS grad 33.1% College 1-3 yrs 25.4% College ≥4 yrs 25.6% BPS - 5th Ed. Chapter 6

Conditional Distributions Relationships between categorical variables are described by calculating appropriate percents from the counts given in the table prevents misleading comparisons due to unequal sample sizes for different groups BPS - 5th Ed. Chapter 6

Case Study Age and Education Compare the 25-34 age group to the 35-54 age group in terms of success in completing at least 4 years of college: Data are in thousands, so we have that 11,071,000 persons in the 25-34 age group have completed at least 4 years of college, compared to 23,160,000 persons in the 35-54 age group. The groups appear greatly different, but look at the group totals. BPS - 5th Ed. Chapter 6

Case Study Age and Education Compare the 25-34 age group to the 35-54 age group in terms of success in completing at least 4 years of college: Change the counts to percents: Now, with a fairer comparison using percents, the groups appear very similar. BPS - 5th Ed. Chapter 6

Case Study Age and Education If we compute the percent completing at least four years of college for all of the age groups, this would give us the conditional distribution of age, given that the education level is “completed at least 4 years of college”: Age: 25-34 35-54 55 and over Percent with ≥ 4 yrs college: 29.3% 28.4% 18.9% BPS - 5th Ed. Chapter 6

Conditional Distributions The conditional distribution of one variable can be calculated for each category of the other variable. These can be displayed using bar graphs. If the conditional distributions of the second variable are nearly the same for each category of the first variable, then we say that there is not an association between the two variables. If there are significant differences in the conditional distributions for each category, then we say that there is an association between the two variables. BPS - 5th Ed. Chapter 6

Case Study Age and Education Conditional Distributions of Age for each level of Education: BPS - 5th Ed. Chapter 6

Cell phone preference

Marginal Distribution Row and column totals Provides counts or percents of one variable

Conditional Variable Each value as a Percent of the marginal distribution

Two-way Tables Do you think the Bush administration has a clear and well-thought-out policy on Iraq, or not?  

Relationships between categorical variables

Relationships between categorical variables

Relationships between categorical variables Calculate percent of players who had arthritis

Relationships between categorical variables Calculate percent of players who had arthritis

Categorical data Smoking Data

Categorical data Smoking Data

Categorical data Smoking Data

Evaluating Treatment

Evaluating Treatment

The End