Comparing Multiple Proportions, Test of Independence and Goodness of Fit

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Comparing Multiple Proportions, Test of Independence and Goodness of Fit"

Transcription

1 Comparing Multiple Proportions, Test of Independence and Goodness of Fit

2 Content Testing the Equality of Population Proportions for Three or More Populations Test of Independence Goodness of Fit Test 2

3 Comparing Multiple Proportions, Test of Independence and Goodness of Fit In this chapter we introduce three additional hypothesis-testing procedures. The test statistic and the distribution used are based on the chi-square ( 2 ) distribution. In all cases, the data are categorical. 3

4 Testing the Equality of Population Proportions for Three or More Populations Using the notation p 1 = population proportion for population 1 p 2 = population proportion for population 2 and p k = population proportion for population k The hypotheses for the equality of population proportions for k 3 populations are as follows: H 0 : p 1 = p 2 =... = p k H a : Not all population proportions are equal 4

5 Testing the Equality of Population Proportions for Three or More Populations If H 0 cannot be rejected, we cannot detect a difference among the k population proportions. If H 0 can be rejected, we can conclude that not all k population proportions are equal. Further analyses can be done to conclude which population proportions are significantly different from others. 5

6 Testing the Equality of Population Proportions for Three or More Populations Example: Finger Lakes Homes Finger Lakes Homes manufactures three models of prefabricated homes, a two-story colonial, a log cabin, and an A-frame. To help in product-line planning, management would like to compare the customer satisfaction with the three home styles. p 1 = proportion likely to repurchase a Colonial for the population of Colonial owners p 2 = proportion likely to repurchase a Log Cabin for the population of Log Cabin owners p 3 = proportion likely to repurchase an A-Frame for the population of A-Frame owners 6

7 Testing the Equality of Population Proportions for Three or More Populations We begin by taking a sample of owners from each of the three populations. Each sample contains categorical data indicating whether the respondents are likely or not likely to repurchase the home. 7

8 Testing the Equality of Population Proportions for Three or More Populations Observed Frequencies (sample results) Home Owner Colonial Log A-Frame Total Likely to Yes Repurchase No Total

9 Testing the Equality of Population Proportions for Three or More Populations Next, we determine the expected frequencies under the assumption H 0 is correct. Expected Frequencies Under the Assumption H 0 is True (Row i Total)(Column j Total) eij Total Sample Size If a significant difference exists between the observed and expected frequencies, H 0 can be rejected. 9

10 Testing the Equality of Population Proportions for Three or More Populations Expected Frequencies (computed) Home Owner Colonial Log A-Frame Total Likely to Yes Repurchase No Total

11 Testing the Equality of Population Proportions for Three or More Populations Next, compute the value of the chi-square test statistic. ( f ) 2 ij eij e i j ij where: f ij = observed frequency for the cell in row i and column j e ij = expected frequency for the cell in row i and column j under the assumption H 0 is true 2 Note: The test statistic has a chi-square distribution with k 1 degrees of freedom, provided the expected frequency is 5 or more for each cell. 11

12 Testing the Equality of Population Proportions for Three or More Populations Computation of the Chi-Square Test Statistic. Obs. Exp. Sqd. Sqd. Diff. / Likely to Home Freq. Freq. Diff. Diff. Exp. Freq. Repurch. Owner f ij e ij (f ij - e ij ) (f ij - e ij ) 2 (f ij - e ij ) 2 /e ij Yes Colonial Yes Log Cab Yes A-Frame No Colonial No Log Cab No A-Frame Total =

13 Testing the Equality of Population Proportions for Three or More Populations Rejection Rule p-value approach: Reject H 0 if p-value < a Critical value approach: Reject H 0 if 2 2 where is the significance level and there are k - 1 degrees of freedom 13

14 Testing the Equality of Population Proportions for Three or More Populations Rejection Rule (using a =.05) Reject H 0 if p-value.05 or With =.05 and k - 1 = 3-1 = 2 degrees of freedom Do Not Reject H 0 Reject H

15 Testing the Equality of Population Proportions for Three or More Populations Conclusion Using the p-value Approach Area in Upper Tail Value (df = 2) Because 2 = is between and 7.378, the area in the upper tail of the distribution is between.01 and.025. The p-value. We can reject the null hypothesis. Actual p-value is

16 Testing the Equality of Population Proportions for Three or More Populations We have concluded that the population proportions for the three populations of home owners are not equal. To identify where the differences between population proportions exist, we will rely on a multiple comparisons procedure. 16

17 Multiple Comparisons Procedure We begin by computing the three sample proportions. Colonial: p Log Cabin: p A-Frame: p We will use a multiple comparison procedure known as the Marascuillo procedure. 17

18 Multiple Comparisons Procedure Marascuillo Procedure We compute the absolute value of the pairwise difference between sample proportions. Colonial and Log Cabin: Colonial and A-Frame: Log Cabin and A-Frame: p 1 p p 1 p p 2 p

19 Multiple Comparisons Procedure Critical Values for the Marascuillo Pairwise Comparison For each pairwise comparison compute a critical value as follows: CV ij 2 p (1 ) i(1 p) pj p i j ; k 1 n n i j For =.05 and k = 3: 2 =

20 Multiple Comparisons Procedure Pairwise Comparison Tests Pairwise Comparison Significant if p p CV ij p p > CV ij i j i j Colonial vs. Log Cabin Not Significant Colonial vs. A-Frame Not Significant Log Cabin vs. A-Frame Significant 20

21 Test of Independence 1. Set up the null and alternative hypotheses. H 0 : The column variable is independent of the row variable H a : The column variable is not independent of the row variable 2. Select a random sample and record the observed frequency, f ij, for each cell of the contingency table. 3. Compute the expected frequency, e ij, for each cell. (Row i Total)(Column j Total) eij Sample Size 21

22 Test of Independence 4. Compute the test statistic. ( f ) 2 ij eij e i j ij 5. Determine the rejection rule. 2 2 Reject H 0 if p -value or. where is the significance level and, with n rows and m columns, there are (n -1)(m - 1) degrees of freedom. 2 22

23 Test of Independence Example: Finger Lakes Homes (B) Each home sold by Finger Lakes Homes can be classified according to price and to style. Finger Lakes manager would like to determine if the price of the home and the style of the home are independent variables. 23

24 Test of Independence Example: Finger Lakes Homes (B) The number of homes sold for each model and price for the past two years is shown below. For convenience, the price of the home is listed as either $99,000 or less or more than $99,000. Price Colonial Log Split-Level A-Frame $99, > $99,

25 Test of Independence 1. Hypotheses H 0 : Price of the home is independent of the style of the home that is purchased H a : Price of the home is not independent of the style of the home that is purchased 2. Test of Independence 2 Test 3. = Reject H 0 if 25

26 Test of Independence With =.05 and (2-1)(4-1) = 3 d.f., Reject H 0 if p-value.05 or Calculate Test Statistic Expected Frequencies Price Colonial Log Split-Level A-Frame Total < $99K > $99K Total

27 Test of Independence Test Statistic 2 ( ) (6 11) (3 6.75)

28 Test of Independence Conclusion Using the p-value Approach Area in Upper Tail Value (df = 3) Because 2 = is between and 9.348, the area in the upper tail of the distribution is between.05 and.025. The p-value. We can reject the null hypothesis. Actual p-value is

29 Test of Independence Conclusion Using the Critical Value Approach 2 = Conclusion We reject, at the.05 level of significance, the assumption that the price of the home is independent of the style of home that is purchased. 29

30 Goodness of Fit Test: Multinomial Probability Distribution 1. State the null and alternative hypotheses. H 0 : The population follows a multinomial distribution with specified probabilities for each of the k categories H a : The population does not follow a multinomial distribution with specified probabilities for each of the k categories 30

31 Goodness of Fit Test: Multinomial Probability Distribution 2. Select a random sample and record the observed frequency, f i, for each of the k categories. 3. Assuming H 0 is true, compute the expected frequency, e i, in each category by multiplying the category probability by the sample size. 31

32 Goodness of Fit Test: Multinomial Probability Distribution 4. Compute the value of the test statistic. 2 k ( fi ei) e i 1 where: f i = observed frequency for category i e i = expected frequency for category i k = number of categories Note: The test statistic has a chi-square distribution with k 1 df provided that the expected frequencies are 5 or more for all categories. i 2 32

33 Goodness of Fit Test: Multinomial Probability Distribution 5. Rejection rule: p-value approach: Reject H 0 if p-value < Critical value approach: Reject H 0 if 2 2 where is the significance level and there are k -1 degrees of freedom 33

34 Multinomial Distribution Goodness of Fit Test Example: Finger Lakes Homes (A) Finger Lakes Homes manufactures four models of prefabricated homes, a two-story colonial, a log cabin, a split-level, and an A-frame. To help in production planning, management would like to determine if previous customer purchases indicate that there is a preference in the style selected. 34

35 Multinomial Distribution Goodness of Fit Test Example: Finger Lakes Homes (A) The number of homes sold of each model for 100 sales over the past two years is shown below. Split- A- Model Colonial Log Level Frame # Sold

36 Multinomial Distribution Goodness of Fit Test 1. Hypotheses H 0 : p C = p L = p S = p A =.25 H a : The population proportions are not p where: C =.25, p L =.25, p S =.25, and p A =.25 p C = population proportion that purchase a colonial p L = population proportion that purchase a log cabin p S = population proportion that purchase a split-level p A = population proportion that purchase an A-frame 2. Goodness of Fit Test 2 Test 3. = Reject H 0 if

37 Multinomial Distribution Goodness of Fit Test Rejection Rule Reject H0 if p-value.05 or With =.05 and k - 1 = 4-1 = 3 degrees of freedom Do Not Reject H 0 Reject H

38 Multinomial Distribution Goodness of Fit Test 5. Calculate Test Statistic Expected Frequencies Test Statistic e 1 =.25(100) = 25 e 2 =.25(100) = 25 e 3 =.25(100) = 25 e 4 =.25(100) = 25 2 (30 25) (20 25) (35 25) (15 25) =

39 Multinomial Distribution Goodness of Fit Test Conclusion Using the p-value Approach Area in Upper Tail Value (df = 3) Because 2 = 10 is between and , the area in the upper tail of the distribution is between.025 and.01. The p-value. We can reject the null hypothesis. 39

40 Multinomial Distribution Goodness of Fit Test Conclusion Using the Critical Value Approach 2 = 10 > Conclusion We reject, at the.05 level of significance, the assumption that there is no home style preference. 40

41 Goodness of Fit Test: Normal Distribution 1. State the null and alternative hypotheses. H 0 : The population has a normal distribution H a : The population does not have a normal distribution 2. Select a random sample and a. Compute the mean and standard deviation. b. Define intervals of values so that the expected frequency is at least 5 for each interval. c. For each interval, record the observed frequencies 3. Compute the expected frequency, e i, for each interval. (Multiply the sample size by the probability of a normal random variable being in the interval.) 41

42 Goodness of Fit Test: Normal Distribution 4. Compute the value of the test statistic. 2 k i 1 ( f e ) i e i i Reject H0 if (where is the significance level and there are k 2 1 degrees of freedom). 42

43 Goodness of Fit Test: Normal Distribution Example: IQ Computers IQ Computers (one better than HP?) manufactures and sells a general purpose microcomputer. As part of a study to evaluate sales personnel, management wants to determine, at a.05 significance level, if the annual sales volume (number of units sold by a salesperson) follows a normal probability distribution. 43

44 Goodness of Fit Test: Normal Distribution Example: IQ Computers A simple random sample of 30 of the salespeople was taken and their numbers of units sold are listed below (mean = 71, standard deviation = 18.54) 44

45 Goodness of Fit Test: Normal Distribution 1. Hypotheses H 0 : The population of number of units sold has a normal distribution with mean 71 and standard deviation H a : The population of number of units sold does not have a normal distribution with mean 71 and standard deviation Goodness of Fit Test 2 Test 3. = Reject H 0 if

46 Goodness of Fit Test: Normal Distribution 5. Interval Definition To satisfy the requirement of an expected frequency of at least 5 in each interval we will divide the normal distribution into 30/5 = 6 equal probability intervals. 46

47 Goodness of Fit Test: Normal Distribution Interval Definition Areas = 1.00/6 = (18.54) = = (18.54) 47

48 Goodness of Fit Test: Normal Distribution Observed and Expected Frequencies i f i e i f i - e i Less than to to to to More than Total

49 Goodness of Fit Test: Normal Distribution Rejection Rule With =.05 and k - p - 1 = = 3 d.f. (where k = number of categories and p = number 2 of population parameters estimated), Test Statistic Reject H 0 if p-value.05 or (1) ( 2) (1) (0) ( 1) (1)

50 Goodness of Fit Test: Normal Distribution Conclusion Using the p-value Approach Area in Upper Tail Value (df = 3) Because 2 = is between.584 and in the Chi-Square Distribution Table, the area in the upper tail of the distribution is between.90 and.10. The p-value >. We cannot reject the null hypothesis. There is little evidence to support rejecting the assumption the population is normally distributed with = 71 and = Actual p-value is

51 Goodness of Fit Test: Normal Distribution Conclusion Using the Critical Value Approach 2 = 1.6 < Conclusion We cannot reject, at the.05 level of significance, the assumption that the population is normally distributed with = 71 and =

52 Goodness of Fit Test: Poisson Distribution 1. Set up the null and alternative hypotheses. 2. Select a random sample and a. Record the observed frequency, f i, for each of the k values of the Poisson random variable. b. Compute the mean number of occurrences,. 3. Compute the expected frequency of occurrences, e i, for each value of the Poisson random variable. 52

53 Goodness of Fit Test: Poisson Distribution 4. Compute the value of the test statistic. 5. Reject H 0 if 2 k i f e 2 i e i i (where is the significance level and there are k 1 1 degrees of freedom). 53

54 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test In studying the need for an additional entrance to a city parking garage, a consultant has recommended an approach that is applicable only in situations where the number of cars entering during a specified time period follows a Poisson distribution. 54

55 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test A random sample of 100 one-minute time intervals resulted in the customer arrivals listed below. A statistical test must be conducted to see if the assumption of a Poisson distribution is reasonable. # Arrivals Frequency

56 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test 1. Hypotheses H 0 : Number of cars entering the garage during a oneminute interval is Poisson distributed. H a : Number of cars entering the garage during a oneminute interval is not Poisson distributed 2. Goodness of Fit Test 2 Test 3. = Reject H 0 if

57 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test 5. Calculation Estimate of Poisson Probability Function otal Arrivals = 0(0) + 1(1) + 2(4) (1) = 600 Total Time Periods = 100 Estimate of = 600/100 = 6 Hence, f( x) 6 x 6 e x! 57

58 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test Expected Frequencies x f (x ) nf (x ) x f (x ) nf (x ) Total

59 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test Observed and Expected Frequencies i f i e i f i - e i 0 or 1 or or more

60 Example: Troy Parking Garage Poisson Distribution Goodness of Fit Test Test Statistic ( 1.20) (1.08) (2.01) Rejection Rule With =.05 and k - p - 1 = = 7 d.f. (where k = number of categories and p = number of population parameters estimated), Reject H 0 if 2 > Conclusion We cannot reject H 0. There s no reason to doubt the assumption of a Poisson distribution. 60

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

12.5: CHI-SQUARE GOODNESS OF FIT TESTS 125: Chi-Square Goodness of Fit Tests CD12-1 125: CHI-SQUARE GOODNESS OF FIT TESTS In this section, the χ 2 distribution is used for testing the goodness of fit of a set of data to a specific probability

More information

Is it statistically significant? The chi-square test

Is it statistically significant? The chi-square test UAS Conference Series 2013/14 Is it statistically significant? The chi-square test Dr Gosia Turner Student Data Management and Analysis 14 September 2010 Page 1 Why chi-square? Tests whether two categorical

More information

Chi-Square Test. Contingency Tables. Contingency Tables. Chi-Square Test for Independence. Chi-Square Tests for Goodnessof-Fit

Chi-Square Test. Contingency Tables. Contingency Tables. Chi-Square Test for Independence. Chi-Square Tests for Goodnessof-Fit Chi-Square Tests 15 Chapter Chi-Square Test for Independence Chi-Square Tests for Goodness Uniform Goodness- Poisson Goodness- Goodness Test ECDF Tests (Optional) McGraw-Hill/Irwin Copyright 2009 by The

More information

13.2 The Chi Square Test for Homogeneity of Populations The setting: Used to compare distribution of proportions in two or more populations.

13.2 The Chi Square Test for Homogeneity of Populations The setting: Used to compare distribution of proportions in two or more populations. 13.2 The Chi Square Test for Homogeneity of Populations The setting: Used to compare distribution of proportions in two or more populations. Data is organized in a two way table Explanatory variable (Treatments)

More information

MATH 10: Elementary Statistics and Probability Chapter 11: The Chi-Square Distribution

MATH 10: Elementary Statistics and Probability Chapter 11: The Chi-Square Distribution MATH 10: Elementary Statistics and Probability Chapter 11: The Chi-Square Distribution Tony Pourmohamad Department of Mathematics De Anza College Spring 2015 Objectives By the end of this set of slides,

More information

PASS Sample Size Software

PASS Sample Size Software Chapter 250 Introduction The Chi-square test is often used to test whether sets of frequencies or proportions follow certain patterns. The two most common instances are tests of goodness of fit using multinomial

More information

11-2 Goodness of Fit Test

11-2 Goodness of Fit Test 11-2 Goodness of Fit Test In This section we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way frequency table). We will use a hypothesis

More information

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1) Spring 204 Class 9: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.) Big Picture: More than Two Samples In Chapter 7: We looked at quantitative variables and compared the

More information

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96 1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

More information

4) The goodness of fit test is always a one tail test with the rejection region in the upper tail. Answer: TRUE

4) The goodness of fit test is always a one tail test with the rejection region in the upper tail. Answer: TRUE Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 13 Goodness of Fit Tests and Contingency Analysis 1) A goodness of fit test can be used to determine whether a set of sample data comes from a specific

More information

Chi-Square Tests. In This Chapter BONUS CHAPTER

Chi-Square Tests. In This Chapter BONUS CHAPTER BONUS CHAPTER Chi-Square Tests In the previous chapters, we explored the wonderful world of hypothesis testing as we compared means and proportions of one, two, three, and more populations, making an educated

More information

Unit 29 Chi-Square Goodness-of-Fit Test

Unit 29 Chi-Square Goodness-of-Fit Test Unit 29 Chi-Square Goodness-of-Fit Test Objectives: To perform the chi-square hypothesis test concerning proportions corresponding to more than two categories of a qualitative variable To perform the Bonferroni

More information

Introduction to Hypothesis Testing. Copyright 2014 Pearson Education, Inc. 9-1

Introduction to Hypothesis Testing. Copyright 2014 Pearson Education, Inc. 9-1 Introduction to Hypothesis Testing 9-1 Learning Outcomes Outcome 1. Formulate null and alternative hypotheses for applications involving a single population mean or proportion. Outcome 2. Know what Type

More information

CHAPTER 11. GOODNESS OF FIT AND CONTINGENCY TABLES

CHAPTER 11. GOODNESS OF FIT AND CONTINGENCY TABLES CHAPTER 11. GOODNESS OF FIT AND CONTINGENCY TABLES The chi-square distribution was discussed in Chapter 4. We now turn to some applications of this distribution. As previously discussed, chi-square is

More information

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Odds ratio, Odds ratio test for independence, chi-squared statistic. Odds ratio, Odds ratio test for independence, chi-squared statistic. Announcements: Assignment 5 is live on webpage. Due Wed Aug 1 at 4:30pm. (9 days, 1 hour, 58.5 minutes ) Final exam is Aug 9. Review

More information

Hypothesis Testing COMP 245 STATISTICS. Dr N A Heard. 1 Hypothesis Testing 2 1.1 Introduction... 2 1.2 Error Rates and Power of a Test...

Hypothesis Testing COMP 245 STATISTICS. Dr N A Heard. 1 Hypothesis Testing 2 1.1 Introduction... 2 1.2 Error Rates and Power of a Test... Hypothesis Testing COMP 45 STATISTICS Dr N A Heard Contents 1 Hypothesis Testing 1.1 Introduction........................................ 1. Error Rates and Power of a Test.............................

More information

9-3.4 Likelihood ratio test. Neyman-Pearson lemma

9-3.4 Likelihood ratio test. Neyman-Pearson lemma 9-3.4 Likelihood ratio test Neyman-Pearson lemma 9-1 Hypothesis Testing 9-1.1 Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental

More information

Chi-square test Testing for independeny The r x c contingency tables square test

Chi-square test Testing for independeny The r x c contingency tables square test Chi-square test Testing for independeny The r x c contingency tables square test 1 The chi-square distribution HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided

More information

Chapter 9, Part A Hypothesis Tests. Learning objectives

Chapter 9, Part A Hypothesis Tests. Learning objectives Chapter 9, Part A Hypothesis Tests Slide 1 Learning objectives 1. Understand how to develop Null and Alternative Hypotheses 2. Understand Type I and Type II Errors 3. Able to do hypothesis test about population

More information

Section 12 Part 2. Chi-square test

Section 12 Part 2. Chi-square test Section 12 Part 2 Chi-square test McNemar s Test Section 12 Part 2 Overview Section 12, Part 1 covered two inference methods for categorical data from 2 groups Confidence Intervals for the difference of

More information

One-Way Analysis of Variance (ANOVA) Example Problem

One-Way Analysis of Variance (ANOVA) Example Problem One-Way Analysis of Variance (ANOVA) Example Problem Introduction Analysis of Variance (ANOVA) is a hypothesis-testing technique used to test the equality of two or more population (or treatment) means

More information

Chi-square test Fisher s Exact test

Chi-square test Fisher s Exact test Lesson 1 Chi-square test Fisher s Exact test McNemar s Test Lesson 1 Overview Lesson 11 covered two inference methods for categorical data from groups Confidence Intervals for the difference of two proportions

More information

Chi Square for Contingency Tables

Chi Square for Contingency Tables 2 x 2 Case Chi Square for Contingency Tables A test for p 1 = p 2 We have learned a confidence interval for p 1 p 2, the difference in the population proportions. We want a hypothesis testing procedure

More information

Math 108 Exam 3 Solutions Spring 00

Math 108 Exam 3 Solutions Spring 00 Math 108 Exam 3 Solutions Spring 00 1. An ecologist studying acid rain takes measurements of the ph in 12 randomly selected Adirondack lakes. The results are as follows: 3.0 6.5 5.0 4.2 5.5 4.7 3.4 6.8

More information

CHAPTER 11 CHI-SQUARE: NON-PARAMETRIC COMPARISONS OF FREQUENCY

CHAPTER 11 CHI-SQUARE: NON-PARAMETRIC COMPARISONS OF FREQUENCY CHAPTER 11 CHI-SQUARE: NON-PARAMETRIC COMPARISONS OF FREQUENCY The hypothesis testing statistics detailed thus far in this text have all been designed to allow comparison of the means of two or more samples

More information

NPTEL STRUCTURAL RELIABILITY

NPTEL STRUCTURAL RELIABILITY NPTEL Course On STRUCTURAL RELIABILITY Module # 02 Lecture 6 Course Format: Web Instructor: Dr. Arunasis Chakraborty Department of Civil Engineering Indian Institute of Technology Guwahati 6. Lecture 06:

More information

CATEGORICAL DATA Chi-Square Tests for Univariate Data

CATEGORICAL DATA Chi-Square Tests for Univariate Data CATEGORICAL DATA Chi-Square Tests For Univariate Data 1 CATEGORICAL DATA Chi-Square Tests for Univariate Data Recall that a categorical variable is one in which the possible values are categories or groupings.

More information

Hypothesis Testing. Bluman Chapter 8

Hypothesis Testing. Bluman Chapter 8 CHAPTER 8 Learning Objectives C H A P T E R E I G H T Hypothesis Testing 1 Outline 8-1 Steps in Traditional Method 8-2 z Test for a Mean 8-3 t Test for a Mean 8-4 z Test for a Proportion 8-5 2 Test for

More information

Chapter 8 Introduction to Hypothesis Testing

Chapter 8 Introduction to Hypothesis Testing Chapter 8 Student Lecture Notes 8-1 Chapter 8 Introduction to Hypothesis Testing Fall 26 Fundamentals of Business Statistics 1 Chapter Goals After completing this chapter, you should be able to: Formulate

More information

Hypothesis Testing for a Proportion

Hypothesis Testing for a Proportion Math 122 Intro to Stats Chapter 6 Semester II, 2015-16 Inference for Categorical Data Hypothesis Testing for a Proportion In a survey, 1864 out of 2246 randomly selected adults said texting while driving

More information

Chapter 23. Two Categorical Variables: The Chi-Square Test

Chapter 23. Two Categorical Variables: The Chi-Square Test Chapter 23. Two Categorical Variables: The Chi-Square Test 1 Chapter 23. Two Categorical Variables: The Chi-Square Test Two-Way Tables Note. We quickly review two-way tables with an example. Example. Exercise

More information

Recommend Continued CPS Monitoring. 63 (a) 17 (b) 10 (c) 90. 35 (d) 20 (e) 25 (f) 80. Totals/Marginal 98 37 35 170

Recommend Continued CPS Monitoring. 63 (a) 17 (b) 10 (c) 90. 35 (d) 20 (e) 25 (f) 80. Totals/Marginal 98 37 35 170 Work Sheet 2: Calculating a Chi Square Table 1: Substance Abuse Level by ation Total/Marginal 63 (a) 17 (b) 10 (c) 90 35 (d) 20 (e) 25 (f) 80 Totals/Marginal 98 37 35 170 Step 1: Label Your Table. Label

More information

Hypothesis Testing --- One Mean

Hypothesis Testing --- One Mean Hypothesis Testing --- One Mean A hypothesis is simply a statement that something is true. Typically, there are two hypotheses in a hypothesis test: the null, and the alternative. Null Hypothesis The hypothesis

More information

Chi Square (χ 2 ) Statistical Instructions EXP 3082L Jay Gould s Elaboration on Christensen and Evans (1980)

Chi Square (χ 2 ) Statistical Instructions EXP 3082L Jay Gould s Elaboration on Christensen and Evans (1980) Chi Square (χ 2 ) Statistical Instructions EXP 3082L Jay Gould s Elaboration on Christensen and Evans (1980) For the Driver Behavior Study, the Chi Square Analysis II is the appropriate analysis below.

More information

Chi-Square Test for Qualitative Data

Chi-Square Test for Qualitative Data Chi-Square Test for Qualitative Data For qualitative data (measured on a nominal scale) * Observations MUST be independent - No more than one measurement per subject * Sample size must be large enough

More information

The Chi-Square Test. STAT E-50 Introduction to Statistics

The Chi-Square Test. STAT E-50 Introduction to Statistics STAT -50 Introduction to Statistics The Chi-Square Test The Chi-square test is a nonparametric test that is used to compare experimental results with theoretical models. That is, we will be comparing observed

More information

2 Tests for Goodness of Fit:

2 Tests for Goodness of Fit: Tests for Goodness of Fit: General Notion: We often wish to know whether a particular distribution fits a general definition Example: To use t tests, we must suppose that the population is normally distributed

More information

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS

CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS CHAPTER IV FINDINGS AND CONCURRENT DISCUSSIONS Hypothesis 1: People are resistant to the technological change in the security system of the organization. Hypothesis 2: information hacked and misused. Lack

More information

Lecture 7: Binomial Test, Chisquare

Lecture 7: Binomial Test, Chisquare Lecture 7: Binomial Test, Chisquare Test, and ANOVA May, 01 GENOME 560, Spring 01 Goals ANOVA Binomial test Chi square test Fisher s exact test Su In Lee, CSE & GS suinlee@uw.edu 1 Whirlwind Tour of One/Two

More information

Chapter 2 Probability Topics SPSS T tests

Chapter 2 Probability Topics SPSS T tests Chapter 2 Probability Topics SPSS T tests Data file used: gss.sav In the lecture about chapter 2, only the One-Sample T test has been explained. In this handout, we also give the SPSS methods to perform

More information

Simulating Chi-Square Test Using Excel

Simulating Chi-Square Test Using Excel Simulating Chi-Square Test Using Excel Leslie Chandrakantha John Jay College of Criminal Justice of CUNY Mathematics and Computer Science Department 524 West 59 th Street, New York, NY 10019 lchandra@jjay.cuny.edu

More information

Stat 104: Quantitative Methods for Economists Class 26: Chi-Square Tests

Stat 104: Quantitative Methods for Economists Class 26: Chi-Square Tests Stat 104: Quantitative Methods for Economists Class 26: Chi-Square Tests 1 Two Techniques The first is a goodness-of-fit test applied to data produced by a multinomial experiment, a generalization of a

More information

Using Stata for Categorical Data Analysis

Using Stata for Categorical Data Analysis Using Stata for Categorical Data Analysis NOTE: These problems make extensive use of Nick Cox s tab_chi, which is actually a collection of routines, and Adrian Mander s ipf command. From within Stata,

More information

Regression Analysis: A Complete Example

Regression Analysis: A Complete Example Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

More information

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test Bivariate Statistics Session 2: Measuring Associations Chi-Square Test Features Of The Chi-Square Statistic The chi-square test is non-parametric. That is, it makes no assumptions about the distribution

More information

Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table

Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table ANALYSIS OF DISCRT VARIABLS / 5 CHAPTR FIV ANALYSIS OF DISCRT VARIABLS Discrete variables are those which can only assume certain fixed values. xamples include outcome variables with results such as live

More information

MATH 10: Elementary Statistics and Probability Chapter 9: Hypothesis Testing with One Sample

MATH 10: Elementary Statistics and Probability Chapter 9: Hypothesis Testing with One Sample MATH 10: Elementary Statistics and Probability Chapter 9: Hypothesis Testing with One Sample Tony Pourmohamad Department of Mathematics De Anza College Spring 2015 Objectives By the end of this set of

More information

Part 3. Comparing Groups. Chapter 7 Comparing Paired Groups 189. Chapter 8 Comparing Two Independent Groups 217

Part 3. Comparing Groups. Chapter 7 Comparing Paired Groups 189. Chapter 8 Comparing Two Independent Groups 217 Part 3 Comparing Groups Chapter 7 Comparing Paired Groups 189 Chapter 8 Comparing Two Independent Groups 217 Chapter 9 Comparing More Than Two Groups 257 188 Elementary Statistics Using SAS Chapter 7 Comparing

More information

tests whether there is an association between the outcome variable and a predictor variable. In the Assistant, you can perform a Chi-Square Test for

tests whether there is an association between the outcome variable and a predictor variable. In the Assistant, you can perform a Chi-Square Test for This paper explains the research conducted by Minitab statisticians to develop the methods and data checks used in the Assistant in Minitab 17 Statistical Software. In practice, quality professionals sometimes

More information

How to Conduct a Hypothesis Test

How to Conduct a Hypothesis Test How to Conduct a Hypothesis Test The idea of hypothesis testing is relatively straightforward. In various studies we observe certain events. We must ask, is the event due to chance alone, or is there some

More information

Module 9: Nonparametric Tests. The Applied Research Center

Module 9: Nonparametric Tests. The Applied Research Center Module 9: Nonparametric Tests The Applied Research Center Module 9 Overview } Nonparametric Tests } Parametric vs. Nonparametric Tests } Restrictions of Nonparametric Tests } One-Sample Chi-Square Test

More information

The Basics of a Hypothesis Test

The Basics of a Hypothesis Test Overview The Basics of a Test Dr Tom Ilvento Department of Food and Resource Economics Alternative way to make inferences from a sample to the Population is via a Test A hypothesis test is based upon A

More information

Module 5 Hypotheses Tests: Comparing Two Groups

Module 5 Hypotheses Tests: Comparing Two Groups Module 5 Hypotheses Tests: Comparing Two Groups Objective: In medical research, we often compare the outcomes between two groups of patients, namely exposed and unexposed groups. At the completion of this

More information

DEPARTMENT OF POLITICAL SCIENCE AND INTERNATIONAL RELATIONS. Posc/Uapp 816 CONTINGENCY TABLES

DEPARTMENT OF POLITICAL SCIENCE AND INTERNATIONAL RELATIONS. Posc/Uapp 816 CONTINGENCY TABLES DEPARTMENT OF POLITICAL SCIENCE AND INTERNATIONAL RELATIONS Posc/Uapp 816 CONTINGENCY TABLES I. AGENDA: A. Cross-classifications 1. Two-by-two and R by C tables 2. Statistical independence 3. The interpretation

More information

Wording of Final Conclusion. Slide 1

Wording of Final Conclusion. Slide 1 Wording of Final Conclusion Slide 1 8.3: Assumptions for Testing Slide 2 Claims About Population Means 1) The sample is a simple random sample. 2) The value of the population standard deviation σ is known

More information

Chapter 11. Chapter 11 Overview. Chapter 11 Objectives 11/24/2015. Other Chi-Square Tests

Chapter 11. Chapter 11 Overview. Chapter 11 Objectives 11/24/2015. Other Chi-Square Tests 11/4/015 Chapter 11 Overview Chapter 11 Introduction 11-1 Test for Goodness of Fit 11- Tests Using Contingency Tables Other Chi-Square Tests McGraw-Hill, Bluman, 7th ed., Chapter 11 1 Bluman, Chapter 11

More information

Pearson s 2x2 Chi-Square Test of Independence -- Analysis of the Relationship between two Qualitative

Pearson s 2x2 Chi-Square Test of Independence -- Analysis of the Relationship between two Qualitative Pearson s 2x2 Chi-Square Test of Independence -- Analysis of the Relationship between two Qualitative or (Binary) Variables Analysis of 2-Between-Group Data with a Qualitative (Binary) Response Variable

More information

The calculations lead to the following values: d 2 = 46, n = 8, s d 2 = 4, s d = 2, SEof d = s d n s d n

The calculations lead to the following values: d 2 = 46, n = 8, s d 2 = 4, s d = 2, SEof d = s d n s d n EXAMPLE 1: Paired t-test and t-interval DBP Readings by Two Devices The diastolic blood pressures (DBP) of 8 patients were determined using two techniques: the standard method used by medical personnel

More information

χ 2 = (O i E i ) 2 E i

χ 2 = (O i E i ) 2 E i Chapter 24 Two-Way Tables and the Chi-Square Test We look at two-way tables to determine association of paired qualitative data. We look at marginal distributions, conditional distributions and bar graphs.

More information

LAB 4 ASSIGNMENT CONFIDENCE INTERVALS AND HYPOTHESIS TESTING. Using Data to Make Decisions

LAB 4 ASSIGNMENT CONFIDENCE INTERVALS AND HYPOTHESIS TESTING. Using Data to Make Decisions LAB 4 ASSIGNMENT CONFIDENCE INTERVALS AND HYPOTHESIS TESTING This lab assignment will give you the opportunity to explore the concept of a confidence interval and hypothesis testing in the context of a

More information

Data Science and Statistics in Research: unlocking the power of your data

Data Science and Statistics in Research: unlocking the power of your data Data Science and Statistics in Research: unlocking the power of your data Session 2.4: Hypothesis testing II 1/ 25 OUTLINE Independent t-test Paired t-test Chi-squared test 2/ 25 Independent t-test 3/

More information

3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples 3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

More information

Hypothesis testing: Examples. AMS7, Spring 2012

Hypothesis testing: Examples. AMS7, Spring 2012 Hypothesis testing: Examples AMS7, Spring 2012 Example 1: Testing a Claim about a Proportion Sect. 7.3, # 2: Survey of Drinking: In a Gallup survey, 1087 randomly selected adults were asked whether they

More information

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation Parkland College A with Honors Projects Honors Program 2014 Calculating P-Values Isela Guerra Parkland College Recommended Citation Guerra, Isela, "Calculating P-Values" (2014). A with Honors Projects.

More information

ANOVA - Analysis of Variance

ANOVA - Analysis of Variance ANOVA - Analysis of Variance ANOVA - Analysis of Variance Extends independent-samples t test Compares the means of groups of independent observations Don t be fooled by the name. ANOVA does not compare

More information

Topic 8. Chi Square Tests

Topic 8. Chi Square Tests BE540W Chi Square Tests Page 1 of 5 Topic 8 Chi Square Tests Topics 1. Introduction to Contingency Tables. Introduction to the Contingency Table Hypothesis Test of No Association.. 3. The Chi Square Test

More information

Case l: Watchdog, Inc: Keeping hospitals honest

Case l: Watchdog, Inc: Keeping hospitals honest Case l: Watchdog, Inc: Keeping hospitals honest Insurance companies hire independent firms like Watchdog, Inc to review their hospital bills. They pay Watchdog a percentage of the overcharges it finds.

More information

Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory

Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory LA-UR-12-24572 Approved for public release; distribution is unlimited Statistical Impact of Slip Simulator Training at Los Alamos National Laboratory Alicia Garcia-Lopez Steven R. Booth September 2012

More information

MATH Chapter 23 April 15 and 17, 2013 page 1 of 8 CHAPTER 23: COMPARING TWO CATEGORICAL VARIABLES THE CHI-SQUARE TEST

MATH Chapter 23 April 15 and 17, 2013 page 1 of 8 CHAPTER 23: COMPARING TWO CATEGORICAL VARIABLES THE CHI-SQUARE TEST MATH 1342. Chapter 23 April 15 and 17, 2013 page 1 of 8 CHAPTER 23: COMPARING TWO CATEGORICAL VARIABLES THE CHI-SQUARE TEST Relationships: Categorical Variables Chapter 21: compare proportions of successes

More information

6. Statistical Inference: Significance Tests

6. Statistical Inference: Significance Tests 6. Statistical Inference: Significance Tests Goal: Use statistical methods to check hypotheses such as Women's participation rates in elections in France is higher than in Germany. (an effect) Ethnic divisions

More information

Sydney Roberts Predicting Age Group Swimmers 50 Freestyle Time 1. 1. Introduction p. 2. 2. Statistical Methods Used p. 5. 3. 10 and under Males p.

Sydney Roberts Predicting Age Group Swimmers 50 Freestyle Time 1. 1. Introduction p. 2. 2. Statistical Methods Used p. 5. 3. 10 and under Males p. Sydney Roberts Predicting Age Group Swimmers 50 Freestyle Time 1 Table of Contents 1. Introduction p. 2 2. Statistical Methods Used p. 5 3. 10 and under Males p. 8 4. 11 and up Males p. 10 5. 10 and under

More information

The alternative hypothesis,, is the statement that the parameter value somehow differs from that claimed by the null hypothesis. : 0.5 :>0.5 :<0.

The alternative hypothesis,, is the statement that the parameter value somehow differs from that claimed by the null hypothesis. : 0.5 :>0.5 :<0. Section 8.2-8.5 Null and Alternative Hypotheses... The null hypothesis,, is a statement that the value of a population parameter is equal to some claimed value. :=0.5 The alternative hypothesis,, is the

More information

The Chi Square Test. Diana Mindrila, Ph.D. Phoebe Balentyne, M.Ed. Based on Chapter 23 of The Basic Practice of Statistics (6 th ed.

The Chi Square Test. Diana Mindrila, Ph.D. Phoebe Balentyne, M.Ed. Based on Chapter 23 of The Basic Practice of Statistics (6 th ed. The Chi Square Test Diana Mindrila, Ph.D. Phoebe Balentyne, M.Ed. Based on Chapter 23 of The Basic Practice of Statistics (6 th ed.) Concepts: Two-Way Tables The Problem of Multiple Comparisons Expected

More information

: P(winter) = P(spring) = P(summer)= P(fall) H A. : Homicides are independent of seasons. : Homicides are evenly distributed across seasons

: P(winter) = P(spring) = P(summer)= P(fall) H A. : Homicides are independent of seasons. : Homicides are evenly distributed across seasons Chi-Square worked examples: 1. Criminologists have long debated whether there is a relationship between weather conditions and the incidence of violent crime. The article Is There a Season for Homocide?

More information

Final Exam Practice Problem Answers

Final Exam Practice Problem Answers Final Exam Practice Problem Answers The following data set consists of data gathered from 77 popular breakfast cereals. The variables in the data set are as follows: Brand: The brand name of the cereal

More information

Chapter 11 Chi square Tests

Chapter 11 Chi square Tests 11.1 Introduction 259 Chapter 11 Chi square Tests 11.1 Introduction In this chapter we will consider the use of chi square tests (χ 2 tests) to determine whether hypothesized models are consistent with

More information

Basic Statistics Self Assessment Test

Basic Statistics Self Assessment Test Basic Statistics Self Assessment Test Professor Douglas H. Jones PAGE 1 A soda-dispensing machine fills 12-ounce cans of soda using a normal distribution with a mean of 12.1 ounces and a standard deviation

More information

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 130) Spring Semester 011 Chapter 10- TWO-SAMPLE TESTS Practice

More information

Chi-Square Tests and the F-Distribution. Goodness of Fit Multinomial Experiments. Chapter 10

Chi-Square Tests and the F-Distribution. Goodness of Fit Multinomial Experiments. Chapter 10 Chapter 0 Chi-Square Tests and the F-Distribution 0 Goodness of Fit Multinomial xperiments A multinomial experiment is a probability experiment consisting of a fixed number of trials in which there are

More information

2. DATA AND EXERCISES (Geos2911 students please read page 8)

2. DATA AND EXERCISES (Geos2911 students please read page 8) 2. DATA AND EXERCISES (Geos2911 students please read page 8) 2.1 Data set The data set available to you is an Excel spreadsheet file called cyclones.xls. The file consists of 3 sheets. Only the third is

More information

Using CrunchIt (http://bcs.whfreeman.com/crunchit/bps4e) or StatCrunch (www.calvin.edu/go/statcrunch)

Using CrunchIt (http://bcs.whfreeman.com/crunchit/bps4e) or StatCrunch (www.calvin.edu/go/statcrunch) Using CrunchIt (http://bcs.whfreeman.com/crunchit/bps4e) or StatCrunch (www.calvin.edu/go/statcrunch) 1. In general, this package is far easier to use than many statistical packages. Every so often, however,

More information

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8 Hypothesis Testing 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim About a Proportion 8-5 Testing a Claim About a Mean: s Not Known 8-6 Testing

More information

CHAPTER 12. Chi-Square Tests and Nonparametric Tests LEARNING OBJECTIVES. USING STATISTICS @ T.C. Resort Properties

CHAPTER 12. Chi-Square Tests and Nonparametric Tests LEARNING OBJECTIVES. USING STATISTICS @ T.C. Resort Properties CHAPTER 1 Chi-Square Tests and Nonparametric Tests USING STATISTICS @ T.C. Resort Properties 1.1 CHI-SQUARE TEST FOR THE DIFFERENCE BETWEEN TWO PROPORTIONS (INDEPENDENT SAMPLES) 1. CHI-SQUARE TEST FOR

More information

Chapter 9: Hypothesis Testing GBS221, Class April 15, 2013 Notes Compiled by Nicolas C. Rouse, Instructor, Phoenix College

Chapter 9: Hypothesis Testing GBS221, Class April 15, 2013 Notes Compiled by Nicolas C. Rouse, Instructor, Phoenix College Chapter Objectives 1. Learn how to formulate and test hypotheses about a population mean and a population proportion. 2. Be able to use an Excel worksheet to conduct hypothesis tests about population means

More information

Business Statistics. Lecture 8: More Hypothesis Testing

Business Statistics. Lecture 8: More Hypothesis Testing Business Statistics Lecture 8: More Hypothesis Testing 1 Goals for this Lecture Review of t-tests Additional hypothesis tests Two-sample tests Paired tests 2 The Basic Idea of Hypothesis Testing Start

More information

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test Introduction to Analysis of Variance (ANOVA) The Structural Model, The Summary Table, and the One- Way ANOVA Limitations of the t-test Although the t-test is commonly used, it has limitations Can only

More information

The Goodness-of-Fit Test

The Goodness-of-Fit Test on the Lecture 49 Section 14.3 Hampden-Sydney College Tue, Apr 21, 2009 Outline 1 on the 2 3 on the 4 5 Hypotheses on the (Steps 1 and 2) (1) H 0 : H 1 : H 0 is false. (2) α = 0.05. p 1 = 0.24 p 2 = 0.20

More information

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails. Chi-square Goodness of Fit Test The chi-square test is designed to test differences whether one frequency is different from another frequency. The chi-square test is designed for use with data on a nominal

More information

Null Hypothesis H 0. The null hypothesis (denoted by H 0

Null Hypothesis H 0. The null hypothesis (denoted by H 0 Hypothesis test In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing a claim about a property

More information

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals Summary sheet from last time: Confidence intervals Confidence intervals take on the usual form: parameter = statistic ± t crit SE(statistic) parameter SE a s e sqrt(1/n + m x 2 /ss xx ) b s e /sqrt(ss

More information

August 2012 EXAMINATIONS Solution Part I

August 2012 EXAMINATIONS Solution Part I August 01 EXAMINATIONS Solution Part I (1) In a random sample of 600 eligible voters, the probability that less than 38% will be in favour of this policy is closest to (B) () In a large random sample,

More information

Chi-square (χ 2 ) Tests

Chi-square (χ 2 ) Tests Math 442 - Mathematical Statistics II May 5, 2008 Common Uses of the χ 2 test. 1. Testing Goodness-of-fit. Chi-square (χ 2 ) Tests 2. Testing Equality of Several Proportions. 3. Homogeneity Test. 4. Testing

More information

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses Introduction to Hypothesis Testing 1 Hypothesis Testing A hypothesis test is a statistical procedure that uses sample data to evaluate a hypothesis about a population Hypothesis is stated in terms of the

More information

Goodness of Fit. Proportional Model. Probability Models & Frequency Data

Goodness of Fit. Proportional Model. Probability Models & Frequency Data Probability Models & Frequency Data Goodness of Fit Proportional Model Chi-square Statistic Example R Distribution Assumptions Example R 1 Goodness of Fit Goodness of fit tests are used to compare any

More information

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

More information

Chi Square Tests. Chapter 10. 10.1 Introduction

Chi Square Tests. Chapter 10. 10.1 Introduction Contents 10 Chi Square Tests 703 10.1 Introduction............................ 703 10.2 The Chi Square Distribution.................. 704 10.3 Goodness of Fit Test....................... 709 10.4 Chi Square

More information

Chapter 8. Hypothesis Testing

Chapter 8. Hypothesis Testing Chapter 8 Hypothesis Testing Hypothesis In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing

More information

Chapter 19 The Chi-Square Test

Chapter 19 The Chi-Square Test Tutorial for the integration of the software R with introductory statistics Copyright c Grethe Hystad Chapter 19 The Chi-Square Test In this chapter, we will discuss the following topics: We will plot

More information

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

We know from STAT.1030 that the relevant test statistic for equality of proportions is: 2. Chi 2 -tests for equality of proportions Introduction: Two Samples Consider comparing the sample proportions p 1 and p 2 in independent random samples of size n 1 and n 2 out of two populations which

More information

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013 Statistics I for QBIC Text Book: Biostatistics, 10 th edition, by Daniel & Cross Contents and Objectives Chapters 1 7 Revised: August 2013 Chapter 1: Nature of Statistics (sections 1.1-1.6) Objectives

More information