Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples

Slides:



Advertisements
Similar presentations
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Confidence Interval and Hypothesis Testing for:
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Chapter 8: Testing Statistical Hypothesis
Chapter 7: Inference for Distributions
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
Inferences Based on Two Samples
PSY 307 – Statistics for the Behavioral Sciences
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
12.5 Differences between Means (s’s known)
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
T-Tests Lecture: Nov. 6, 2002.
Testing the Difference Between Means (Small Independent Samples)
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing: Two Sample Test for Means and Proportions
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Comparing Means
Statistical Inference for Two Samples
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
Education 793 Class Notes T-tests 29 October 2003.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Comparing Means: t-tests Wednesday 22 February 2012/ Thursday 23 February 2012.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Hypothesis Testing CSCE 587.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
381 Hypothesis Testing (Testing with Two Samples-III) QSCI 381 – Lecture 32 (Larson and Farber, Sects 8.3 – 8.4)
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
Marketing Research Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides 1.
to accompany Introduction to Business Statistics
2 sample interval proportions sample Shown with two examples.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Inferences Concerning Variances
Chapter 10 Statistical Inference for Two Samples More than one but less than three! Chapter 10B < X
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
1-Sample t-test Amir Hossein Habibi.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples.
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
6.3 One- and Two- Sample Inferences for Means. If σ is unknown Estimate σ by sample standard deviation s The estimated standard error of the mean will.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Inferences on Two Samples Summary
Elementary Statistics
Summary of Tests Confidence Limits
Hypothesis Testing for Proportions
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples

Two-sample z tests: Assumptions 1.X 1, …, X n1 is a random sample from a distribution with mean  1 and standard deviation σ 1. 2.Y 1, …, Y n2 is a random sample from a distribution with mean  2 and standard deviation σ 2. 3.X and Y are independent of each other.

2-Sample z-test; known variances: Summary Null hypothesis: H 0 : μ 1 – μ 2 = Δ 0 Test statistic: P-values are calculated as before for z tests. Alternative Hypothesis Rejection Region for Level α Test upper-tailedH a : μ 1 – μ 2 > Δ 0 z  z α lower-tailedH a : μ 1 – μ 2 < Δ 0 z  -z α two-tailedH a : μ 1 – μ 2 ≠ Δ 0 z  z α/2 OR z  -z α/2

β(Δ’) Summary

Example 9.3: Difference, z-test, known σ

 calculation (cont)

Calculation of n

Two-sample t tests: Assumptions 1.X 1, …, X n1 is a normal random sample from a distribution with mean  1 and standard deviation σ 1. 2.Y 1, …, Y n2 is a normal random sample from a distribution with mean  2 and standard deviation σ 2. 3.X and Y are independent of each other.

Two-sample t-test: df

2-Sample t-test: Summary Null hypothesis: H 0 : μ 1 – μ 2 = Δ 0 Test statistic: P-values are calculated as before for t tests. Alternative Hypothesis Rejection Region for Level α Test upper-tailedH a : μ 1 – μ 2 > Δ 0 t  t α, lower-tailedH a : μ 1 – μ 2 < Δ 0 t  -t α, two-tailedH a : μ 1 – μ 2 ≠ Δ 0 t  t α/2, OR t  -t α/2,

Example: Difference, t-test, CI A group of 15 college seniors are selected to participate in a manual dexterity skill test against a group of 20 industrial workers. Skills are assessed by scores obtained on a test taken by both groups. The data is shown in the following table: a) Conduct a hypothesis test to determine whether the industrial workers had better manual dexterity skills than the students at the 0.05 significance level. b) Also construct a 95% confidence interval for this situation. c) What is the appropriate bound? Groupnx̄s Students Workers

Paired t-test Example 9.8. Trace metals in drinking water affect the flavor, and unusually high concentrations can pose a health hazard. The following is the results of a study in which six river locations were selected and the zinc concentrations in (mg/L) determined for both surface water and bottom water at each location. The six pairs of observations are displayed graphically below.

Paired two-sample t tests: Assumptions 1.The data consists of n independent pairs (X 1, Y 1 ), …, (X n, Y n ) with E(X 1 ) =  1 and E(X 2 ) =  2 2.The differences of each of the pairs is called D. That is D i = X i – Y i. 3.Assume that D is normally distributed with mean  D and standard deviation σ D.

Paired t-test: Summary Null hypothesis: H 0 : μ D = Δ 0 Test statistic: P-values are calculated as before for t tests. Alternative Hypothesis Rejection Region for Level α Test upper-tailedH a : μ D > Δ 0 t  t α,n-1 lower-tailedH a : μ D < Δ 0 t  -t α,n-1 two-tailedH a : μ D ≠ Δ 0 t  t α/2,n-1 OR t  -t α/2,n-1

Example: Paired t test In an effort to determine whether sensitivity training for nurses would improve the quality of nursing provided at an area hospital, the following study was conducted. Eight different nurses were selected and their nursing skills were given a score from 1 to 10. After this initial screening, a training program was administered, and then the same nurses were rated again. On the next slide is a table of their pre- and post-training scores.

IndividualPre-TrainingPost-TrainingPre - Post mean stdev

Example: Paired t-test a)Conduct a test to determine whether the training could on average improve the quality of nursing provided in the population at a significance level of b)What is the appropriate 95% confidence interval or bound of the population mean difference in nursing scores? c)What is the 95% confidence interval of the population mean difference in nursing scores?

Paired vs. Unpaired 1.If there is great heterogeneity between experimental units and a large correlation within paired units then a paired experiment is preferable. 2.If the experimental units are relatively homogeneous and the correlation within pairs is not large, then unpaired experiments should be used.

2-Sample z test: large sample size

2-Sample z-test; large sample, proportions: Summary Null hypothesis: H 0 : p 1 – p 2 = 0 Test statistic: P-values are calculated as before for z tests. Alternative Hypothesis Rejection Region for Level α Test upper-tailedH a : p 1 – p 2 > 0 z  z α lower-tailedH a : p 1 – p 2 < 0 z  -z α two-tailedH a : p 1 – p 2 ≠ 0 z  z α/2 OR z  -z α/2

Example: Large Sample Proportion Test Two TV commercials are developed for marketing a new product. A volunteer test sample of 200 people is randomly split into two groups of 100 each. In a controlled setting, Group A watches commercial A and Group B watches commercial B. In Group A, 25 say they would buy the product, in Group B, 20 say they would buy the product. a) The marketing manager who devised this experiment concludes that commercial A is better. Do you agree or disagree with the marketing manager at a significance level of 0.05?

β(p 1,p 2 ) Summary

n for large sample proportions

Example: Large Sample Proportion Test Two TV commercials are developed for marketing a new product. A volunteer test sample of 200 people is randomly split into two groups of 100 each. In a controlled setting, Group A watches commercial A and Group B watches commercial B. In Group A, 25 say they would buy the product, in Group B, 20 say they would buy the product. b) What is the 95% confidence interval for the buying of the product for Group A and Group B?

F distribution ributions/F_distribution.htm X

F curve and critical value X

Table A.8 Critical Values for the F Distribution X