Testing Distributions Section 13.1.2. Starter 13.1.2 Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Lesson Test for Goodness of Fit One-Way Tables.
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Chapter 13: The Chi-Square Test
Chapter 26: Comparing Counts
Statistics Are Fun! Analysis of Variance
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Chapter 13 Chi-Square Tests. The chi-square test for Goodness of Fit allows us to determine whether a specified population distribution seems valid. The.
AP STATISTICS LESSON 13 – 1 (DAY 1) CHI-SQUARE PROCEDURES TEST FOR GOODNESS OF FIT.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
7.2 Confidence Intervals When SD is unknown. The value of , when it is not known, must be estimated by using s, the standard deviation of the sample.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
13.1 Goodness of Fit Test AP Statistics. Chi-Square Distributions The chi-square distributions are a family of distributions that take on only positive.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chapter 26 Chi-Square Testing
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
Inference for Regression Section Starter The Goodwill second-hand stores did a survey of their customers in Walnut Creek and Oakland. Among.
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
The z test statistic & two-sided tests Section
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
Chapter 14: Chi-Square Procedures – Test for Goodness of Fit.
Chapter 11 Chi- Square Test for Homogeneity Target Goal: I can use a chi-square test to compare 3 or more proportions. I can use a chi-square test for.
The Practice of Statistics Third Edition Chapter (13.1) 14.1: Chi-square Test for Goodness of Fit Copyright © 2008 by W. H. Freeman & Company Daniel S.
Warm up On slide.
AP Statistics Section 14.. The main objective of Chapter 14 is to test claims about qualitative data consisting of frequency counts for different categories.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
The Great M&M’s Mystery! Section Starter Sickle-cell trait is a hereditary condition that is common among blacks and can cause medical.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
The table below gives the pretest and posttest scores on the MLA listening test in Spanish for 20 high school Spanish teachers who attended an intensive.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Inference for Proportions Section Starter Do dogs who are house pets have higher cholesterol than dogs who live in a research clinic? A.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Course Review. Distributions What are the important aspects needed to describe a distribution of one variable? List three types of graphs that could be.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
Chapter 14 Inference for Distribution of Categorical Variables: Chi-Squared Procedures.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
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 &
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8… Where we are going… Significance Tests!! –Ch 9 Tests about a population proportion –Ch 9Tests.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Warm up On slide.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Test for Goodness of Fit
Chapter 12 Tests with Qualitative Data
Section 6-4 – Confidence Intervals for the Population Variance and Standard Deviation Estimating Population Parameters.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chi Square Two-way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 11: Inference for Distributions of Categorical Data
Quantitative Methods in HPELS HPELS 6210
Chapter 10 Analyzing the Association Between Categorical Variables
Inference for Relationships
Inference on Categorical Data
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Analyzing the Association Between Categorical Variables
Comparing Two Populations
Comparing Proportions for Multiple Populations
Chapter 14.1 Goodness of Fit Test.
Presentation transcript:

Testing Distributions Section

Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures body fat, can show this. A random sample of 20 runners had a mean skinfold of 7.1 mm with a standard deviation of 1.0 mm. A random sample of 95 non-runners had a mean of 20.6 w/ sd of 9.0. Form a 95% confidence interval for the mean difference in body fat between runners and non- runners.

Today’s Objectives Students will graph the chi-square distributions with various degrees of freedom Students will calculate the chi-square statistic for a distribution sample Students will form hypotheses and determine whether a distribution is the same as or differs from a given distribution California Standard 19.0 Students are familiar with the chi- square distributions and chi- square test and understand their uses.

The Big Picture (so far) Chapter 11: Estimating means –One population: μ = some constant –Two populations: μ 1 = μ 2 Chapter 12: Estimating proportions –One population: p = some percent –Two populations: p 1 = p 2 Chapter 13: Comparing distributions –Distributions are categorical variables with more than 2 outcomes –Is a sample significantly different from population?

The chi-square distributions A family of distributions that take on only positive values Curves are skewed right A specific curve is determined by its degrees of freedom

Shapes of the Distribution Turn off all StatPlots, clear all Y= equations Set window to [0, 14] 1 x [-.05,.3].1 Find the X 2 pdf distribution on the TI Enter Y 1 = X 2 pdf(x, 3) and draw the graph Sketch the graph on a set of axes. –Label it X 2 3 Graph Y 2 = X 2 pdf(x, 4) and add to your sketch. Graph Y 3 = X 2 pdf(x, 8) and add to your sketch.

Properties of the chi-square distribution The area under the curve is 1 Each curve begins at x = 0, increases to a peak, then approaches the x axis asymptotically Each curve is skewed to the right. As degrees of freedom increases, the curve becomes more symmetric and less skewed –Note that it can never become approximately normal: the graph is not symmetric

The chi-square statistic We will test the hypotheses by forming the chi-square statistic The formula is: –Where “O” is the observed count and “E” is the expected count We will ask the probability that X 2 is as great as or greater than the value we found assuming the null hypothesis is true

Assumptions needed for X 2 test Data are from a valid SRS from the population. All individual expected counts are at least 1 No more than 20% of the expected counts are less than 5

Assumptions So Far… Procedure One population t for means Two population t for means One population z for proportions Two population z for proportions X 2 test for distributions Assumptions SRS, Normal Dist SRS, Normal, Independent SRS, large pop, 10 succ/fail SRS, large pop, 5 s/f each SRS, expect each count at least 1 –No more than 20% less than 5

Example Here is the age distribution of Americans in Put the percents in L 1 (as decimals) AgePopulation (thousands) Percent 0 to 2493, % 25 to 4462, % 45 to 6444, % , % Total226,546

Example Continued Here is a sample of 500 randomly selected individuals. Put the counts in L 2 AgeCount 0 to to to Total500

Example Continued Now let’s find the X 2 statistic: 1.For each age group, calculate the count you would expect if the 1980 distribution is true –Enter 500 x L 1 into L 3 (500 was the sample size) 2.For each age group, subtract the expected value from the actual count (observed) –Enter L 2 – L 3 into L 4 3.For each age group, square the (O-E) values and divide by E –Enter (L 4 )² / L 3 into L 5 4.Add all the terms to get X 2 –Sum(L 5 ) 5.You should have gotten X² = 8.214

The “Goodness of Fit” Test Here are the hypotheses for distributions: –H o : The distributions are the same –H a : The distributions are different To test the hypotheses, look at X 2 1.If the distributions are the same, then (O-E)=0, so X 2 will be zero (or very low) 2.If the distributions differ, then (O-E)²>0, so X 2 will be greater than the low number in case 1 3.The more the distributions differ, the greater will be X 2, the less will be the area under chi-square distribution to the right of X 2

Example Continued Form hypotheses for the age distributions –H o : The age distributions are the same –H a : The age distributions differ Find the X 2 statistic –We already found X 2 = Find the area to the right of X 2 using n-1 d.f. –In this context, n is the number of categories –Enter Table E (p 842) at row p>.025 –Use the calculator X 2 cdf(8.214, 999, 3) =.0418 Conclusion: There is good evidence (p<.05) to support the claim that the age distributions are different

Today’s Objectives Students will graph the chi-square distributions with various degrees of freedom Students will calculate the chi-square statistic for a distribution sample Students will form hypotheses and determine whether a distribution is the same as or differs from a given distribution California Standard 19.0 Students are familiar with the chi- square distributions and chi- square test and understand their uses.

Homework Read pages 702 – 709 Do problems 1 - 4