PlanCollectProcessDiscuss Start screen What sort of neighbourhood do you live in?

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

CHI-SQUARE(X2) DISTRIBUTION
AP Statistics Tuesday, 15 April 2014 OBJECTIVE TSW (1) identify the conditions to use a chi-square test; (2) examine the chi-square test for independence;
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Inference about the Difference Between the
Statistical Inference for Frequency Data Chapter 16.
Chapter 13: The Chi-Square Test
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Crosstabs and Chi Squares Computer Applications in Psychology.
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.
PlanCollectProcessDiscuss Start screen How safe is the area you live in?
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Presentation 12 Chi-Square test.
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
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.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
PlanCollectProcessDiscuss Start screen What sort of place do you live in?
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Two Way Tables and the Chi-Square Test ● Here we study relationships between two categorical variables. – The data can be displayed in a two way table.
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.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
+ Chi Square Test Homogeneity or Independence( Association)
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.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics: A First Course Fifth Edition.
Copyright © 2010 Pearson Education, Inc. Slide
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
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.
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 12. The Chi-Square Test.
Where will you view the Torch Relay? Getting to the Point in 2012 © Royal Statistical Society Centre for Statistical Education 2011.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
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.
PlanCollectProcessDiscuss Start screen What sort of place do you live in?
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 &
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Chapter 12 Lesson 12.2b Comparing Two Populations or Treatments 12.2: Test for Homogeneity and Independence in a Two-way Table.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
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 independence: Contingency Table
Chi-square test or c2 test
Chapter 11 Chi-Square Tests.
Lecture #27 Tuesday, November 29, 2016 Textbook: 15.1
Data Analysis for Two-Way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables: Independence and Homogeneity
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Inference for Relationships
Chapter 11 Chi-Square Tests.
CHI SQUARE TEST OF INDEPENDENCE
Analyzing the Association Between Categorical Variables
Inference for Two Way Tables
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Presentation transcript:

PlanCollectProcessDiscuss Start screen What sort of neighbourhood do you live in?

PlanCollectProcessDiscuss Start screen PlanCollectProcessDiscuss Start screen How safe is the area you live in?

What sort of area do you live in? CollectPlanProcessDiscuss Start screen How safe do you think it is?

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach You can build on the first try by continuing here... First we decide what problem to solve and what data we need Then we collect suitable data. Then we examine our data and make it easier to understand.

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach

How safe is your neighbourhood? TV, radio and newspapers regularly report crimes and crime statistics. CollectProcessDiscuss Crime in the Media Plan

CollectProcessDiscuss Set the problem How safe is your neighbourhood? Are the crime figures as bad as some of the newspapers suggest? What are the crime figures like in your neighbourhood? Are crime figures increasing each year? Should people be more/less concerned about certain crimes? Where in the UK is the ‘safest’ place to live? Where is the ‘crime capital’ of the UK? In which areas of the UK is crime increasing? Which places are improving?

PlanCollectProcessDiscuss Start screen How can you find out? Who should you ask? What proportion of students worried about safety? Do most freshers live in safe neighbourhoods? What should you ask them? Plan

CollectProcessDiscuss Crime in the Media Plan Is there any association between university town and attitude to safety? Do freshers choose ‘safe’ neighbourhoods to live in? A r e s t u d e n t s a t a l l u n i v e r s i t i e s w o r r i e d ? Use a questionnaire? What crimes worry students most?

CollectProcessDiscuss Eight categories Plan  Develop a model of the population.  One variable may depend on another.  Turn the model into precise statistical hypotheses (null and alternative). H0:H0: H1:H1: There is no association between university town and concern about being mugged There is an association

Collect ProcessDiscuss Plan The questionnaire

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach You are now here.

Collect ProcessDiscuss Which data Plan You did this in your first seminars Students at three other UK universities have completed the questionnaire

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach You are now here.

Process PlanCollectDiscuss Which processes If University and scale of worry are INDEPENDENT P(B and fairly worried) = P(B) х P(2)

Process PlanCollectDiscuss Which processes How does this compare with P(B and 2) P(B and 2) = How close are they??

Expected frequencies How many would we have expected to be B and 2? P(B and 2) If B and 2 are independent Expected frequency = row total х column total overall total х (total number) Process PlanCollectDiscuss

Process PlanCollectDiscuss Which processes H0:H0: H1:H1: There is no association between university and worry about being mugged There is an association We also need to choose the level α Recall that α = P(reject H 0 when H 0 true) What is the test statistic?

The test statistic Expected frequency = row total х column total overall total i is row number j is column number e ij is expected frequency for cell (i, j) o ij is the observed (sample) frequency for cell (i, j) TEST STATISTIC X 2 has a distribution that is approximately The approximation is good when all of e ij ≥5 or when 80% of e ij ≥ 5 and all e ij ≥ 1 (Chi squared) Process PlanCollectDiscuss

The distribution has a chi-squared distribution with (r-1)(c-1) degrees of freedom (r-1)(c-1) = rc – r – c + 1 number of o ij frequencies number of row totals number of column totals (r-1)(c-1) df Remove double counting Process PlanCollectDiscuss

Different  2 distributions 2 d.f. 5 d.f. 50 d.f. 100 d.f. Process PlanCollectDiscuss

The decision rule If o ij close to e ij (r-1)(c-1) df will be close to zero and X 2 will be small If o ij very different from e ij, and X 2 will be large DECISION RULE Reject H 0 if X 2 is too big Process PlanCollectDiscuss

Process PlanCollectDiscuss Which processes Example H0:H0: H1:H1: α = 0.05 There is no association between university and worry about being mugged There is an association DECISION RULE Reject H 0 if d.f. = (3-1)Χ(5-1) = 8

Process PlanCollectDiscuss Which processes

Process PlanCollectDiscuss Which processes Example H 0 : H 1 : α = 0.05 There is no association between university and worry about being mugged There is an association DECISION RULE Reject H 0 if d.f. = (3-1)Χ(5-1) = 8 From sample data …

Process PlanCollectDiscuss Which processes From Minitab Expected frequencies Contribution to test statistic Test statistic

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach You are now here.

H 0 : there is no association between university attended and fear of being mugged H 1 : there is an association α = 0.05 DECISION rule Reject H 0 if DISCUSS d.f. = (r-1)Χ(c-1) = 8 REJECT Do not reject From sample data 8 df Discuss PlanCollectProcess

Discuss PlanCollectProcess Discussion Other questions? about what is this due to about other questions/associations What can we conclude?

Discuss Process PlanCollectProcessDiscuss Plan Collect DHCycle The Problem Solving Approach You are now here. You can build on the first try by continuing here... Have you got all the evidence you want?