Chapter 11 Chi-Square Distribution. Review So far, we have used several probability distributions for hypothesis testing and confidence intervals with.

Slides:



Advertisements
Similar presentations
Chi-square test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
Advertisements

1 1 Slide © 2003 South-Western /Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Inference about the Difference Between the
1 1 Slide © 2009 Econ-2030-Applied Statistics-Dr. Tadesse. Chapter 11: Comparisons Involving Proportions and a Test of Independence n Inferences About.
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
Chi-Square and F Distributions Chapter 11 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Chapter 9 Hypothesis Testing.
Chapter 11a: Comparisons Involving Proportions and a Test of Independence Inference about the Difference between the Proportions of Two Populations Hypothesis.
Goodness of Fit Test for Proportions of Multinomial Population Chi-square distribution Hypotheses test/Goodness of fit test.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Chi-Square and Analysis of Variance (ANOVA)
GOODNESS OF FIT TEST & CONTINGENCY TABLE
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
Chi – Square. The graph below shows a few samples of chi – square graphs. Notice when the d.f. increase, the graph will flatten out and the high point.
A company listed five categories and asked each employee to mark the one most important to him or her. The company wants to determine if the current distribution.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 1 Slide © 2005 Thomson/South-Western Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial Population Goodness of.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Other Chi-Square Tests
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
1 1 Slide © 2006 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
1 1 Slide Chapter 11 Comparisons Involving Proportions n Inference about the Difference Between the Proportions of Two Populations Proportions of Two Populations.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Warm up On slide.
Other Chi-Square Tests
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1/71 Statistics Tests of Goodness of Fit and Independence.
Section A Confidence Interval for the Difference of Two Proportions Objectives: 1.To find the mean and standard error of the sampling distribution.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
AP Statistics Section 11.1 B More on Significance Tests.
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
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.
© Copyright McGraw-Hill 2004
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Chapter 11: Additional Topics Using Inferences 11.1 – Chi-Square: Tests of Independence 11.2 – Chi-Square: Goodness of Fit 11.3 – Testing a Single Variance.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
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.
Calculator steps: The calculator steps for this section can be found on YouTube or by clicking: HereHere Bluman, Chapter 111.
11.1 Notes Chi Square Test of Independence. Chi Square Test of Independence is used to determine if there is a relationship between two variables or are.
Statistics 300: Elementary Statistics Section 11-3.
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 &
AP Statistics Chapter 13 Section 1. 2 kinds of Chi – Squared tests 1.Chi-square goodness of fit – extends inference on proportions to more than 2 proportions.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Other Chi-Square Tests
Chapter 4. Inference about Process Quality
Copyright © Cengage Learning. All rights reserved.
Chapter Outline Goodness of Fit test Test of Independence.
Statistical Inference for the Mean: t-test
Presentation transcript:

Chapter 11 Chi-Square Distribution

Review So far, we have used several probability distributions for hypothesis testing and confidence intervals with normal distribution and Student’s t distribution. In this section, we will be using chi-squre.

What is Chi-Square?

Example:

Mode (high point)

Degrees of Freedom

Example: (The situation) Innovative Machines Incorporated has developed two new letter arrangements for computer keyboards. The company wishes to see if there is any relationship between the arrangement of letters on the keyboard and the number of hours it takes a new typing student to learn to type at 20 words per minute. Or, from another point of view, is the time it takes a student to learn to type independent of the arrangement of the letters on a keyboard? Use 5% level of significance

Example: (step 1)

Example: (chart) Step 2: Determine E

Answer for E (will show in class) Keyboard21-40 h41-60 h61-80 hRow Total AO:25 E:24 O:30 E:40 O:25 E:16 80 BO:30 E:36 O:71 E:60 O:19 E: StandardO:35 E:30 O:49 E:50 O:16 E: Column Total (sample size)

Cell

Example: (Degrees of freedom for test of independence)

Conclusion Look in the book with chi-square table. Since we have Chi-square as with d.f. 4 The corresponding P-value falls between and Since (.005< P-Value < 0.010) <.05, we reject null and accept alternate. Based on 5% level of significance, we are taking a chance to conclude that keyboard arrangement and learning time are not independent.

Group Work (the situation) Vending Machine is to install soda machines in elementary school and high school. The market analyst wish to know if flavor preference and school level are independent. A random sample of 200 students was taken. Their school level and soda preferences are given. Is independence indicated at the 1% level of significance?

Group Work (table) SodaHigh SchoolElementaryRow Total CokeO:33 E: O:57 E: 90 PepsiO:30 E: O:20 E: 50 Mountain DewO:5 E: O:35 E: 40 FantaO:12 E: O:8 E: 20 Column Total (sample size)

How to Test for independence of two statistical variables Look at Pg 582. Copy it and follow it!

Test of homogeneity The test claim that different populations share the sample proportions of specified characteristics.

Test of Homogeneity

Example: If you could own one pet, what kind would you choose? The possible responses were of the following. Does the same proportion of males same as females prefer each type of pet? Use 1 % level of significance GenderDogCatOther petNo Pet Female Male

Fill this out GenderDogCatOther petNo PetRow Total FemaleO:120 E: O:132 E: O:18 E: O:30 E: MaleO:135 E: O:70 E: O:20 E: O:25 E: Column Total

Answer GenderDogCatOther petNo PetRow Total FemaleO:120 E: O:132 E: O:18 E:20.73 O:30 E: MaleO:135 E: O:70 E:91.82 O:20 E:17.27 O:25 E: Column Total (sample size)

Fill this out Cell

Answer Cell

Final Answer Chi-square= d.f.=3 P-value=.001 Based on 1% level of significance, we are taking a chance to say that males and female students have different preferences when it comes to selecting a pet because we rejected the null saying preference is the same and accept the alternate saying the preference is different.

Homework Practice Pg 588 #1-15 even

CHI-SQUARE: GOODNESS OF FIT

Reason Behind Goodness of Fit Set up a test to investigate how well a sample distribution fits a given distribution Use observed and expected frequencies to compute the sample chi-square statistics Find or estimate the P-value and complete the test

Hypothesis Testing

Sample statistic

Question Does present distribution of favorable responses the same or different than last year? To test this hypothesis, a random sample of 500 employees was taken. The chart is on the next slide. Use 1% level of significance

Example CategoryPercentage of Favorable Responses Vacation time4% Salary65% Safety regulations13% Health and retirement benefits12% Overtime policy and pay6% CategoryObserved Vacation time30 Salary290 Safety regulations70 Health and retirement benefits 70 Overtime40

Answer CategoryOE Vacation time Salary Safety regulations Health and retirement benefits Overtime Total

Answer

Group Work The age distribution of the Canadian population and the age distribution of a random sample of 455 residents in the Indian community (Red Lake village) Use 5% level of significance to test the claim that the age distribution fits the age distribution of red lake village Age% populationObserved in Red Lake Village Under 57.2% % % %45

Answer

Homework Practice Pg 597 #1-18 even