Statistics for Managers Using Microsoft Excel

Similar documents
Basic Business Statistics, 10/e

Lecture 28 Chi-Square Analysis

Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance ECON 509. Dr.

Chapter 8 Student Lecture Notes 8-1. Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance

Parametric versus Nonparametric Statistics-when to use them and which is more powerful? Dr Mahmoud Alhussami

12.10 (STUDENT CD-ROM TOPIC) CHI-SQUARE GOODNESS- OF-FIT TESTS

4/22/2010. Test 3 Review ANOVA

Lecture 9. Selected material from: Ch. 12 The analysis of categorical data and goodness of fit tests

Introduction to Statistical Data Analysis Lecture 7: The Chi-Square Distribution

Topic 21 Goodness of Fit

HYPOTHESIS TESTING: THE CHI-SQUARE STATISTIC

Chapter 10. Chapter 10. Multinomial Experiments and. Multinomial Experiments and Contingency Tables. Contingency Tables.

Example. χ 2 = Continued on the next page. All cells

Statistical Analysis for QBIC Genetics Adapted by Ellen G. Dow 2017

Frequency Distribution Cross-Tabulation

The goodness-of-fit test Having discussed how to make comparisons between two proportions, we now consider comparisons of multiple proportions.

POLI 443 Applied Political Research

Chi-Square. Heibatollah Baghi, and Mastee Badii

10.2: The Chi Square Test for Goodness of Fit

MATH 240. Chapter 8 Outlines of Hypothesis Tests

STAT Chapter 13: Categorical Data. Recall we have studied binomial data, in which each trial falls into one of 2 categories (success/failure).

CHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC

LOOKING FOR RELATIONSHIPS

Relate Attributes and Counts

Nominal Data. Parametric Statistics. Nonparametric Statistics. Parametric vs Nonparametric Tests. Greg C Elvers

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Quantitative Analysis and Empirical Methods

Module 10: Analysis of Categorical Data Statistics (OA3102)

10.2 Hypothesis Testing with Two-Way Tables

Ch. 11 Inference for Distributions of Categorical Data

Hypothesis testing. Data to decisions

11-2 Multinomial Experiment

Chi-Squared Tests. Semester 1. Chi-Squared Tests

Lecture 41 Sections Mon, Apr 7, 2008

Non-parametric methods

STP 226 ELEMENTARY STATISTICS NOTES

We know from STAT.1030 that the relevant test statistic for equality of proportions is:

Chapter 10: Chi-Square and F Distributions

Contingency Tables. Safety equipment in use Fatal Non-fatal Total. None 1, , ,128 Seat belt , ,878

Chapter 8. Inferences Based on a Two Samples Confidence Intervals and Tests of Hypothesis

Statistics 3858 : Contingency Tables

Psych 230. Psychological Measurement and Statistics

CHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)

Log-linear Models for Contingency Tables

Chapter Fifteen. Frequency Distribution, Cross-Tabulation, and Hypothesis Testing

Statistics for Managers Using Microsoft Excel 7 th Edition

There are statistical tests that compare prediction of a model with reality and measures how significant the difference.

STP 226 EXAMPLE EXAM #3 INSTRUCTOR:

16.400/453J Human Factors Engineering. Design of Experiments II

Section VII. Chi-square test for comparing proportions and frequencies. F test for means

THE PEARSON CORRELATION COEFFICIENT

13.1 Categorical Data and the Multinomial Experiment

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1

ij i j m ij n ij m ij n i j Suppose we denote the row variable by X and the column variable by Y ; We can then re-write the above expression as

STAT 135 Lab 11 Tests for Categorical Data (Fisher s Exact test, χ 2 tests for Homogeneity and Independence) and Linear Regression

Contingency Tables. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels.

Discrete Multivariate Statistics

Lecture (chapter 13): Association between variables measured at the interval-ratio level

χ test statistics of 2.5? χ we see that: χ indicate agreement between the two sets of frequencies.

GROUPED DATA E.G. FOR SAMPLE OF RAW DATA (E.G. 4, 12, 7, 5, MEAN G x / n STANDARD DEVIATION MEDIAN AND QUARTILES STANDARD DEVIATION

Rama Nada. -Ensherah Mokheemer. 1 P a g e

Inferential statistics

Basic Business Statistics, 10/e

Retrieve and Open the Data

Regression Analysis. BUS 735: Business Decision Making and Research. Learn how to detect relationships between ordinal and categorical variables.

Formulas and Tables by Mario F. Triola

4/6/16. Non-parametric Test. Overview. Stephen Opiyo. Distinguish Parametric and Nonparametric Test Procedures

Statistics Handbook. All statistical tables were computed by the author.

What is a Hypothesis?

Statistics for Managers Using Microsoft Excel Chapter 9 Two Sample Tests With Numerical Data

Review of Statistics 101

15: CHI SQUARED TESTS

Chapter Eight: Assessment of Relationships 1/42

Testing Independence

11 CHI-SQUARED Introduction. Objectives. How random are your numbers? After studying this chapter you should

Is there a connection between gender, maths grade, hair colour and eye colour? Contents

The Chi-Square Distributions

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α

Chapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc.

Study Guide #3: OneWay ANALYSIS OF VARIANCE (ANOVA)

Final Exam - Solutions

One-Way ANOVA. Some examples of when ANOVA would be appropriate include:

Math 1040 Final Exam Form A Introduction to Statistics Fall Semester 2010

Chapters 10. Hypothesis Testing

General Certificate of Education Advanced Level Examination June 2013

Class 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Section 4.6 Simple Linear Regression

Chapter 26: Comparing Counts (Chi Square)

PS5: Two Variable Statistics LT3: Linear regression LT4: The test of independence.

Tables Table A Table B Table C Table D Table E 675

:the actual population proportion are equal to the hypothesized sample proportions 2. H a

STAT Chapter 10: Analysis of Variance

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

Chapter 4. Regression Models. Learning Objectives

Ron Heck, Fall Week 3: Notes Building a Two-Level Model

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Psych Jan. 5, 2005

Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series

Lecture Slides. Section 13-1 Overview. Elementary Statistics Tenth Edition. Chapter 13 Nonparametric Statistics. by Mario F.

Transcription:

Statistics for Managers Using Microsoft Excel 7 th Edition Chapter 1 Chi-Square Tests and Nonparametric Tests Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-1

Learning Objectives In this chapter, you learn: How and when to use the chi-square test for contingency tables How to use the Marascuilo procedure for determining pairwise differences when evaluating more than two proportions How and when to use nonparametric tests Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-

Contingency Tables Contingency Tables Useful in situations comparing multiple population proportions Used to classify sample observations according to two or more characteristics Also called a cross-classification table. Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-3

Contingency Table Example Left-Handed vs. Gender Dominant Hand: Left vs. Right Gender: Male vs. Female categories for each variable, so this is called a x table Suppose we examine a sample of 300 children Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-4

Contingency Table Example Sample results organized in a contingency table: (continued) sample size = n = 300: 10 Females, 1 were left handed 180 Males, 4 were left handed Hand Preference Gender Left Right Female 1 108 10 Male 4 156 180 36 64 300 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-5

χ Test for the Difference Between Two Proportions H 0 : π 1 = π (Proportion of females who are left handed is equal to the proportion of males who are left handed) H 1 : π 1 π (The two proportions are not the same hand preference is not independent of gender) If H 0 is true, then the proportion of left-handed females should be the same as the proportion of left-handed males The two proportions above should be the same as the proportion of left-handed people overall Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-6

The Chi-Square Test Statistic The Chi-square test statistic is: ( f f ) o e χ = STAT f all cells e where: f o = observed frequency in a particular cell f e = expected frequency in a particular cell if H 0 is true χ STAT for the x case has 1degree of freedom (Assumed: each cell in the contingency table has expected frequency of at least 5) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-7

Decision Rule The χ test statistic approximately follows a chisquared distribution with one degree of STAT freedom Decision Rule: If χ > χ STAT α, reject H 0, otherwise, do not reject H 0 0 Do not reject H 0 χ α α Reject H 0 χ Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-8

Computing the Average Proportion The average proportion is: p = X n 1 = 1 + X + n X n 10 Females, 1 were left handed 180 Males, 4 were left handed Here: 1 + 4 36 p = = = 10 + 180 300 0.1 i.e., based on all 180 children the proportion of left handers is 0.1, that is, 1% Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-9

Finding Expected Frequencies To obtain the expected frequency for left handed females, multiply the average proportion left handed (p) by the total number of females To obtain the expected frequency for left handed males, multiply the average proportion left handed (p) by the total number of males If the two proportions are equal, then P(Left Handed Female) = P(Left Handed Male) =.1 i.e., we would expect (.1)(10) = 14.4 females to be left handed (.1)(180) = 1.6 males to be left handed Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-10

Observed vs. Expected Frequencies Gender Female Hand Preference Left Right Observed = 1 Observed = 108 Expected = 14.4 Expected = 105.6 10 Male Observed = 4 Expected = 1.6 Observed = 156 Expected = 158.4 180 36 64 300 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-11

The Chi-Square Test Statistic Hand Preference Gender Left Right Female Observed = 1 Observed = 108 Expected = 14.4 Expected = 105.6 10 Male Observed = 4 Observed = 156 Expected = 1.6 Expected = 158.4 180 36 64 300 The test statistic is: χ STAT = = all cells (f o f f (1 14.4) 14.4 e e ) (108 105.6) + 105.6 + (4 1.6) 1.6 + (156 158.4) 158.4 = 0.7576 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-1

Decision Rule The test statistic is χ STAT = 0.7576 ; χ 0.05 with 1 d.f. = 3.841 Decision Rule: If χ STAT > 3.841, reject H 0, otherwise, do not reject H 0 0 Do not reject H 0 0.05 Reject H 0 χ 0.05 = 3.841 χ Here, χ = 0.7576< χ STAT 0.05 = 3.841, so we do not reject H 0 and conclude that there is not sufficient evidence that the two proportions are different at α = 0.05 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-13

χ Test for Differences Among More Than Two Proportions Extend the χ test to the case with more than two independent populations: H 0 : π 1 = π = = π c H 1 : Not all of the π j are equal (j = 1,,, c) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-14

The Chi-Square Test Statistic The Chi-square test statistic is: χ STAT = all cells Where: f o = observed frequency in a particular cell of the x c table f e = expected frequency in a particular cell if H 0 is true ( f o f e f e ) χ for the x c case has ( - 1)(c - 1) = STAT c - 1 degrees of freedom (Assumed: each cell in the contingency table has expected frequency of at least 1) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-15

The overall proportion is: Computing the Overall Proportion p = X n 1 + X + n + + X + + n 1 c = c X n Expected cell frequencies for the c categories are calculated as in the x case, and the decision rule is the same: Decision Rule: If χ > χ, reject H 0, STAT α otherwise, do not reject H 0 χ α Where is from the chisquared distribution with c 1 degrees of freedom Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-16

The Marascuilo Procedure Used when the null hypothesis of equal proportions is rejected Enables you to make comparisons between all pairs Start with the observed differences, p j p j, for all pairs (for j j ) then compare the absolute difference to a calculated critical range Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-17

The Marascuilo Procedure Critical Range for the Marascuilo Procedure: (continued) Critical range = χ α p j (1 n j p j ) + p j' (1 n j' p j' ) (Note: the critical range is different for each pairwise comparison) A particular pair of proportions is significantly different if p j p j > critical range for j and j Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-18

Marascuilo Procedure Example A University is thinking of switching to a trimester academic calendar. A random sample of 100 administrators, 50 students, and 50 faculty members were surveyed Opinion Administrators Students Faculty Favor 63 0 37 Oppose 37 30 13 Totals 100 50 50 Using a 1% level of significance, which groups have a different attitude? Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-19

Chi-Square Test Results H 0 : π 1 = π = π 3 H 1 : Not all of the π j are equal (j = 1,, 3) Expected Chi-Square Test: Administrators, Students, Faculty Admin Students Faculty Total Favor 63 0 37 10 60 30 30 Oppose 37 30 13 80 40 0 0 Total 100 50 50 00 Observed χ STAT = 0. 01 1. 79 > χ = 9.103so reject H 0 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-0

Marascuilo Procedure: Solution Excel Output: Marascuilo Procedure compare Sample Sample Absolute Std. Error Critical Group Proportion Size ComparisonDifference of Difference Range Results 1 0.63 100 1 to 0.3 0.08444549 0.563 Means are not different 0.4 50 1 to 3 0.11 0.078606615 0.386 Means are not different 3 0.74 50 to 3 0.34 0.0999464 0.8 Means are different Level of significance d.f Q Statistic Other Data 0.01 Chi-sq Critical Value 9.103 3.034854 At 1% level of significance, there is evidence of a difference in attitude between students and faculty Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-1

χ Test of Independence Similar to the χ test for equality of more than two proportions, but extends the concept to contingency tables with r rows and c columns H 0 : The two categorical variables are independent (i.e., there is no relationship between them) H 1 : The two categorical variables are dependent (i.e., there is a relationship between them) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-

χ Test of Independence The Chi-square test statistic is: χ STAT = all cells where: f o = observed frequency in a particular cell of the r x c table f e = expected frequency in a particular cell if H 0 is true ( f o f e f e ) (continued) χ STAT for the r x c case has (r -1)(c -1) degrees of freedom (Assumed: each cell in the contingency table has expected frequency of at least 1) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-3

Expected Cell Frequencies Expected cell frequencies: Where: row total f e = column total n row total = sum of all frequencies in the row column total = sum of all frequencies in the column n = overall sample size Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-4

Decision Rule The decision rule is If, reject H 0, χ > STAT χ α otherwise, do not reject H 0 χ α Where is from the chi-squared distribution with (r 1)(c 1) degrees of freedom Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-5

Example The meal plan selected by 00 students is shown below: Class Standing Number of meals per week 0/week 10/week none Total Fresh. 4 3 14 70 Soph. 6 1 60 Junior 10 14 6 30 Senior 14 16 10 40 Total 70 88 4 00 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-6

Example (continued) The hypothesis to be tested is: H 0 : Meal plan and class standing are independent (i.e., there is no relationship between them) H 1 : Meal plan and class standing are dependent (i.e., there is a relationship between them) Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-7

Class Standing Example: Expected Cell Frequencies Observed: Number of meals per week 0/wk 10/wk none Total Fresh. 4 3 14 70 Soph. 6 1 60 Junior 10 14 6 30 Senior 14 16 10 40 Total 70 88 4 00 Class Standing Expected cell frequencies if H 0 is true: Number of meals per week 0/wk 10/wk none (continued) Total Fresh. 4.5 30.8 14.7 70 Example for one cell: f e = = row total 30 70 00 column total n = 10.5 Soph. 1.0 6.4 1.6 60 Junior 10.5 13. 6.3 30 Senior 14.0 17.6 8.4 40 Total 70 88 4 00 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-8

Example: The Test Statistic (continued) The test statistic value is: χ STAT ( f f ) o e = f all cells e ( 4 4. 5 ) ( 3 30. 8 ) = + + + 4. 5 30. 8 ( 10 8. 4 ) 8. 4 = 0. 709 χ 0.05 = 1.59 from the chi-squared distribution with (4 1)(3 1) = 6 degrees of freedom Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-9

Example: Decision and Interpretation (continued) The test statistic is χ STAT = 0. 709 ; χ 0. 05 with 6 d.f. = 1.59 Decision Rule: If χ STAT > 1.59, reject H 0, otherwise, do not reject H 0 0 Do not reject H 0 0.05 Reject H 0 χ 0.05=1.59 χ Here, χ STAT = 0.709 < χ = 1.59, 0.05 so do not reject H 0 Conclusion: there is not sufficient evidence that meal plan and class standing are related at α = 0.05 Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 1-30