© The McGraw-Hill Companies, Inc., 2000 12-1 Chapter 12 Chi-Square.

Slides:



Advertisements
Similar presentations
Advanced Piloting Cruise Plot.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Introductory Mathematics & Statistics for Business
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 2 Test for Independence 2 Test for Independence.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Copyright © 2010 Pearson Education, Inc. Slide
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Overview of Lecture Parametric vs Non-Parametric Statistical Tests.
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Chapter 7 Sampling and Sampling Distributions
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
You will need Your text Your calculator
Elementary Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Chapter 13: Chi-Square Test
Contingency Tables Prepared by Yu-Fen Li.
STATISTICS ELEMENTARY MARIO F. TRIOLA
Chapter 16 Goodness-of-Fit Tests and Contingency Tables
Chi-Square and Analysis of Variance (ANOVA)
VOORBLAD.
Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
McGraw-Hill, Bluman, 7th ed., Chapter 9
Please enter data on page 477 in your calculator.
25 seconds left…...
Equal or Not. Equal or Not
Putting Statistics to Work
Statistical Inferences Based on Two Samples
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
Copyright © 2014 Pearson Education, Inc. All rights reserved Chapter 10 Associations Between Categorical Variables.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chi-Square Tests Chapter 12.
Chapter Thirteen The One-Way Analysis of Variance.
ABOUT TWO INDEPENDENT POPULATIONS
Intracellular Compartments and Transport
PSSA Preparation.
Experimental Design and Analysis of Variance
Essential Cell Biology
1 Chapter 20: Statistical Tests for Ordinal Data.
Testing Hypotheses About Proportions
Simple Linear Regression Analysis
Multiple Regression and Model Building
January Structure of the book Section 1 (Ch 1 – 10) Basic concepts and techniques Section 2 (Ch 11 – 15): Inference for quantitative outcomes Section.
Chapter 26 Comparing Counts
Chi-Square and Analysis of Variance (ANOVA)
GOODNESS OF FIT TEST & CONTINGENCY TABLE
Other Chi-Square Tests
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
Other Chi-Square Tests
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
© The McGraw-Hill Companies, Inc., Chapter 13 Analysis of Variance (ANOVA)
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
Calculator steps: The calculator steps for this section can be found on YouTube or by clicking: HereHere Bluman, Chapter 111.
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
Other Chi-Square Tests
Presentation transcript:

© The McGraw-Hill Companies, Inc., Chapter 12 Chi-Square

© The McGraw-Hill Companies, Inc., Outline 12-1 Introduction 12-2 Test for Goodness of Fit 12-3 Tests Using Contingency Tables

© The McGraw-Hill Companies, Inc., Objectives Test a distribution for goodness of fit using chi-square. Test two variables for independence using chi-square.

© The McGraw-Hill Companies, Inc., Test for Goodness of Fit chi-square goodness-of-fit test When one is testing to see whether a frequency distribution fits a specific pattern, the chi-square goodness-of-fit test is used.

© The McGraw-Hill Companies, Inc., Suppose a market analyst wished to see whether consumers have any preference among five flavors of a new fruit soda. A sample of 100 people provided the following data: 12-2 Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., If there were no preference, one would expect that each flavor would be selected with equal frequency. In this case, the equal frequency is 100/5 = 20. That is, approximately 20 people would select each flavor Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., observed frequencies The frequencies obtained from the sample are called observed frequencies. expected frequencies The frequencies obtained from calculations are called expected frequencies. Table for the test is shown next Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., The observed frequencies will almost always differ from the expected frequencies due to sampling error. Question: Are these differences significant, or are they due to chance? The chi-square goodness-of-fit test will enable one to answer this question Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., The appropriate hypotheses for this example are: H 0 : Consumers show no preference for flavors of the fruit soda. H 1 : Consumers show a preference. The d. f. for this test is equal to the number of categories minus Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Test for Goodness of Fit Test for Goodness of Fit - Formula          OE E dfnumberofcategories Oobservedfrequency E.. expected

© The McGraw-Hill Companies, Inc., Is there enough evidence to reject the claim that there is no preference in the selection of fruit soda flavours? Let  = Step 1: Step 1: State the hypotheses and identify the claim Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., H 0 : Consumers show no preference for flavours (claim). H 1 : Consumers show a preference. Step 2: Step 2: Find the critical value. The d. f. are 5 – 1 = 4 and  = Hence, the critical value = Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Step 3: Step 3: Compute the test value.   = (32 – 20) 2 /20 + (28 is – 20) 2 /20 + … + (10 – 20) 2 /20 = Step 4: Step 4:  Make the decision. The decision is to reject the null hypothesis, since 18.0 > Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Step 5: Step 5: Summarize the results. There is enough evidence to reject the claim that consumers show no preference for the flavours Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Test for Goodness of Fit Test for Goodness of Fit - Example 

© The McGraw-Hill Companies, Inc., The advisor of an ecology club at a large college believes that the group consists of 10% freshmen, 20% sophomores, 40% juniors and 30% seniors. The membership for the club this year consisted of 14 freshmen, 19 sophomores, 51 juniors and 16 seniors. At  = 0.10, test the advisor’s conjecture Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Step 1: Step 1: State the hypotheses and identify the claim. H 0 : The club consists of 10% freshmen, 20% sophomores, 40% juniors, and 30% seniors (claim) H 1 : The distribution is not the same as stated in the null hypothesis Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Step 2: Step 2: Find the critical value. The d. f. are 4 – 1 = 3 and  = Hence, the critical value = Step 3: Step 3: Compute the test value.    = (14 – 10) 2 /10 + (19 – 20) 2 /20 + … + (16 – 30) 2 /30 = Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., Step 4: Step 4:  Make the decision. The decision is to reject the null hypothesis, since > Step 5: Step 5: Summarize the results. There is enough evidence to reject the advisor’s claim Test for Goodness of Fit Test for Goodness of Fit - Example

© The McGraw-Hill Companies, Inc., When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested using the chi-square test. independence of variableshomogeneity of proportions Two such tests are the independence of variables test and the homogeneity of proportions test Tests Using Contingency Tables

© The McGraw-Hill Companies, Inc., test of independence of variables The test of independence of variables is used to determine whether two variables are independent when a single sample is selected Tests Using Contingency Tables

© The McGraw-Hill Companies, Inc., Suppose a new postoperative procedure is administered to a number of patients in a large hospital. Question: Question: Do the doctors feel differently about this procedure from the nurses, or do they feel basically the same way? Data is on the next slide Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., The null and the alternative hypotheses are as follows: independent H 0 : The opinion about the procedure is independent of the profession. dependent H 1 : The opinion about the procedure is dependent on the profession Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., If the null hypothesis is not rejected, the test means that both professions feel basically the same way about the procedure, and the differences are due to chance. If the null hypothesis is rejected, the test means that one group feels differently about the procedure from the other Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., Note: The rejection of the null hypothesis does not mean that one group favors the procedure and the other does not. The test value is the   2 value (same as the goodness-of-fit test value). The expected values are computed from: (row sum)  (column sum)/(grand total) Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., Test for Independence Test for Independence - Example

© The McGraw-Hill Companies, Inc., From the MINITAB output, the P-value = Hence, the null hypothesis will be rejected (P<0.0005). If the critical value approach is used, the degrees of freedom for the chi-square critical value will be (number of columns –1)  (number of rows – 1). d.f. = (3 –1)(2 – 1) = Test for Independence Test for Independence - Example