10 Chapter Chi-Square Tests and the F-Distribution Chapter 10

Slides:



Advertisements
Similar presentations
Testing the Difference Between Means (Large Independent Samples)
Advertisements

Testing the Difference Between Means (Dependent Samples)
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Hypothesis Testing for Variance and Standard Deviation
Testing the Difference Between Means (Small Independent Samples)
Chi-Square Tests and the F-Distribution
Chi-Square and Analysis of Variance (ANOVA)
Hypothesis Testing with Two Samples
Correlation and Regression
Chapter 11 Nonparametric Tests Larson/Farber 4th ed.
11 Chapter Nonparametric Tests © 2012 Pearson Education, Inc.
Hypothesis Testing with Two Samples
Hypothesis Testing for the Mean (Small Samples)
Hypothesis Testing for Proportions 1 Section 7.4.
Section 7.2 Hypothesis Testing for the Mean (Large Samples) Larson/Farber 4th ed.
Section 10.3 Comparing Two Variances Larson/Farber 4th ed1.
Chapter 11 Nonparametric Tests.
Hypothesis Testing with One Sample Chapter 7. § 7.3 Hypothesis Testing for the Mean (Small Samples)
Hypothesis Testing with Two Samples
Chapter 10 Chi-Square Tests and the F-Distribution
Section 7.4 Hypothesis Testing for Proportions Larson/Farber 4th ed.
Chapter Chi-Square Tests and the F-Distribution 1 of © 2012 Pearson Education, Inc. All rights reserved.
Comparing Two Variances
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Chapter 10 Chi-Square Tests and the F-Distribution
Section 8.3 Testing the Difference Between Means (Dependent Samples)
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
SECTION 7.2 Hypothesis Testing for the Mean (Large Samples) 1 Larson/Farber 4th ed.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
© The McGraw-Hill Companies, Inc., Chapter 13 Analysis of Variance (ANOVA)
McGraw-Hill, Bluman, 7th ed., Chapter 12
McGraw-Hill, Bluman, 7th ed., Chapter 12
CHAPTER 10 ANOVA - One way ANOVa.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Hypothesis Testing with Two Samples 8.
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.
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 7.3 Hypothesis Testing for the Mean (Small Samples) © 2012 Pearson Education, Inc. All rights reserved. 1 of 101.
Chapter 10 Chi-Square Tests and the F-Distribution
Correlation and Regression
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Testing the Difference between Means, Variances, and Proportions
Hypothesis Testing with Two Samples
Chapter 9 Hypothesis Testing.
Unit 8 Section 7.5.
Testing the Difference between Means and Variances
Chapter 7 Hypothesis Testing with One Sample.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 7 Hypothesis Testing with One Sample.
Statistics: A Tool For Social Research
Chapter 7 Hypothesis Testing with One Sample.
Testing the Difference Between Means (Large Independent Samples)
i) Two way ANOVA without replication
Chapter 7 Hypothesis Testing with One Sample.
Chapter 8 Hypothesis Testing with Two Samples.
CHAPTER 12 ANALYSIS OF VARIANCE
Chapter 10 Chi-Square Tests and the F-Distribution
Elementary Statistics: Picturing The World
Elementary Statistics: Picturing The World
Chapter 7 Hypothesis Testing with One Sample.
Section 10-4 – Analysis of Variance
Elementary Statistics: Picturing The World
Chapter 7 Hypothesis Testing with One Sample.
Elementary Statistics: Picturing The World
Two-Way Analysis of Variance
Elementary Statistics: Picturing The World
Elementary Statistics: Picturing The World
Elementary Statistics: Picturing The World
Hypothesis Testing for Proportions
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Presentation transcript:

10 Chapter Chi-Square Tests and the F-Distribution Chapter 10 Larson/Farber 4th ed

Chapter Outline 10.1 Goodness of Fit 10.2 Independence 10.3 Comparing Two Variances 10.4 Analysis of Variance .

Section 10.4 Analysis of Variance .

Section 10.4 Objectives How to use one-way analysis of variance to test claims involving three or more means An introduction to two-way analysis of variance .

One-Way ANOVA One-way analysis of variance Chapter 10 One-Way ANOVA One-way analysis of variance A hypothesis-testing technique that is used to compare means from three or more populations. Analysis of variance is usually abbreviated ANOVA. Hypotheses: H0: μ1 = μ2 = μ3 =…= μk (all population means are equal) Ha: At least one of the means is different from the others. . Larson/Farber 4th ed

One-Way ANOVA In a one-way ANOVA test, the following must be true. Each sample must be randomly selected from a normal, or approximately normal, population. The samples must be independent of each other. Each population must have the same variance. .

One-Way ANOVA The variance between samples MSB measures the differences related to the treatment given to each sample and is sometimes called the mean square between. The variance within samples MSW measures the differences related to entries within the same sample. This variance, sometimes called the mean square within, is usually due to sampling error. .

One-Way Analysis of Variance Test If the conditions for a one-way analysis of variance are satisfied, then the sampling distribution for the test is approximated by the F-distribution. The test statistic is The degrees of freedom for the F-test are d.f.N = k – 1 and d.f.D = N – k where k is the number of samples and N is the sum of the sample sizes. .

Test Statistic for a One-Way ANOVA Chapter 10 Test Statistic for a One-Way ANOVA In Words In Symbols Find the mean and variance of each sample. Find the mean of all entries in all samples (the grand mean). Find the sum of squares between the samples. Find the sum of squares within the samples. . Larson/Farber 4th ed

Test Statistic for a One-Way ANOVA Chapter 10 Test Statistic for a One-Way ANOVA In Words In Symbols Find the variance between the samples. Find the variance within the samples Find the test statistic. . Larson/Farber 4th ed

Performing a One-Way ANOVA Test Chapter 10 Performing a One-Way ANOVA Test In Words In Symbols Verify that the samples are random and independent, the populations have normal distributions, and the population variances are equal. Identify the claim. State the null and alternative hypotheses. Specify the level of significance. State H0 and Ha. Identify α. . Larson/Farber 4th ed

Performing a One-Way ANOVA Test Chapter 10 Performing a One-Way ANOVA Test In Words In Symbols Determine the degrees of freedom for the numerator and the denominator. Determine the critical value. Determine the rejection region. d.f.N = k – 1 d.f.D = N – k Use Table 7 in Appendix B. . Larson/Farber 4th ed

Performing a One-Way ANOVA Test Chapter 10 Performing a One-Way ANOVA Test In Words In Symbols Calculate the test statistic and sketch the sampling distribution. Make a decision to reject or fail to reject the null hypothesis. Interpret the decision in the context of the original claim. If F is in the rejection region, reject H0. Otherwise, fail to reject H0. . Larson/Farber 4th ed

Chapter 10 ANOVA Summary Table A table is a convenient way to summarize the results in a one-way ANOVA test. d.f.D SSW Within d.f.N SSB Between F Mean squares Degrees of freedom Sum of squares Variation . Larson/Farber 4th ed

Example: Performing a One-Way ANOVA A medical researcher wants to determine whether there is a difference in the mean length of time it takes three types of pain relievers to provide relief from headache pain. Several headache sufferers are randomly selected and given one of the three medications. Each headache sufferer records the time (in minutes) it takes the medication to begin working. The results are shown on the next slide. At α = 0.01, can you conclude that the mean times are different? Assume that each population of relief times is normally distributed and that the population variances are equal. .

Example: Performing a One-Way ANOVA Medication 1 Medication 2 Medication 3 12 16 14 15 17 21 20 19 Solution: k = 3 (3 samples) N = n1 + n2 + n3 = 4 + 5 + 4 = 13 (sum of sample sizes) .

Solution: Performing a One-Way ANOVA H0: Ha: α = d.f.N= d.f.D= Rejection Region: μ1 = μ2 = μ3 At least one mean is different. (Claim) Test Statistic: Decision: 0. 01 3 – 1 = 2 13 – 3 = 10 .

Solution: Performing a One-Way ANOVA To find the test statistic, the following must be calculated. .

Solution: Performing a One-Way ANOVA To find the test statistic, the following must be calculated. .

Solution: Performing a One-Way ANOVA H0: Ha: α = d.f.N= d.f.D= Rejection Region: μ1 = μ2 = μ3 At least one mean is different. (Claim) Test Statistic: Decision: 0.01 3 – 1 = 2 13 – 3 = 10 Fail to Reject H0 There is not enough evidence at the 1% level of significance to conclude that there is a difference in the mean length of time it takes the three pain relievers to provide relief from headache pain. 1.50 7.56 .

Example: Using the TI-83/84 to Perform a One-Way ANOVA A researcher believes that the mean earnings of top-paid actors, athletes, and musicians are the same. The earnings (in millions of dollars) for several randomly selected from each category are shown in the table in next slide. Assume that the populations are normally distributed, the samples are independent, and the population variances are equal. At α = 0.10, can you conclude that the mean earnings are the same for the three categories? Use a technology tool. (Source: Forbes.com LLC) .

Example: Using the TI-83/84 to Perform a One-Way ANOVA .

Solution: Using the TI-83/84 to Perform a One-Way ANOVA Ha: Store data into lists L1, L2, and L3 μ1 = μ2 = μ3 (Claim) At least one mean is different. Decision: P ≈ 0.06 so P < α Reject H0 There is enough evidence at the 10% level of significance to reject the claim that the mean earnings are the same. .

Two-Way ANOVA Two-way analysis of variance A hypothesis-testing technique that is used to test the effect of two independent variables, or factors, on one dependent variable. .

Two-Way ANOVA Example: Suppose a medical researcher wants to test the effect of gender and type of medication on the mean length of time it takes pain relievers to provide relief. Gender Male Female Type of medication I Males taking type I Females taking type I Males taking type II Females taking type II Males taking type III Females taking type III II III .

Two-Way ANOVA Hypotheses Main effect The effect of one independent variable on the dependent variable. Interaction effect The effect of both independent variables on the dependent variable. .

Two-Way ANOVA Hypotheses Hypotheses for main effects: H0: Gender has no effect on the mean length of time it takes a pain reliever to provide relief. Ha: Gender has an effect on the mean length of time it takes a pain reliever to provide relief. H0: Type of medication has no effect on the mean length of time it takes a pain reliever to provide relief. Ha: Type of medication has an effect on the mean length of time it takes a pain reliever to provide relief. .

Two-Way ANOVA Hypotheses Hypotheses for interaction effects: H0: There is no interaction effect between gender and type of medication on the mean length of time it takes a pain reliever to provide relief. Ha: There is an interaction effect between gender and type of medication on the mean length of time it takes a pain reliever to provide relief. Perform a two-way ANOVA test, calculating the F-statistic for each hypothesis. It is possible to reject none, one, two, or all of the null hypotheses. The statistics involved with a two-way ANOVA test is beyond the scope of this course. You can use a technology tool such as MINITAB to perform the test. .

Chapter 10 Section 10.4 Summary Used one-way analysis of variance to test claims involving three or more means Introduced two-way analysis of variance . Larson/Farber 4th ed