COMPARING TWO POPULATIONS IDEA: Compare two groups/populations based on samples from each of them. Examples. Compare average height of men and women. Draw.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Chapter 10 Two-Sample Tests
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
PSY 307 – Statistics for the Behavioral Sciences
ONE SAMPLE t-TEST FOR THE MEAN OF THE NORMAL DISTRIBUTION Let sample from N(μ, σ), μ and σ unknown, estimate σ using s. Let significance level =α. STEP.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
LARGE SAMPLE TESTS ON PROPORTIONS
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
COMPARING PROPORTIONS IN LARGE SAMPLES Examples: Compare probability of H on two coins. Compare proportions of republicans in two cities. 2 populations:
A Decision-Making Approach
COMPARING MEANS: INDEPENDENT SAMPLES 1 ST sample: x1, x2, …, xm from population with mean μx; 2 nd sample: y1, y2, …, yn from population with mean μy;
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Let sample from N(μ, σ), μ unknown, σ known.
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 Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
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.
Comparing the Means of Two Dependent Populations The Paired T-test ….
More About Significance Tests
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.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Chapter 10: Inferences Involving Two Populations.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing CSCE 587.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Overview Two paired samples: Within-Subject Designs
STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
 In Chapter 10 we tested a parameter from a population represented by a sample against a known population ( ).  In chapter 11 we will test a parameter.
Dependent and Independent Samples 1Section 10.1, Page 208.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 10 Hypothesis Testing:
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
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.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 9 Inferences Based on Two Samples Confidence Intervals and Tests of Hypotheses.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Comparing the Means of Two Dependent Populations.
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Homework and project proposal due next Thursday. Please read chapter 10 too…
T tests comparing two means t tests comparing two means.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
AP STATISTICS LESSON 11 – 1 (DAY 2) The t Confidence Intervals and Tests.
When  is unknown  The sample standard deviation s provides an estimate of the population standard deviation .  Larger samples give more reliable estimates.
HYPOTHESIS TESTING.
Chapter 9 Estimation: Additional Topics
AP Statistics Chapter 25 Notes
Chapter 10 Two Sample Tests
Lecture Slides Elementary Statistics Twelfth Edition
AP STATISTICS REVIEW INFERENCE
When Data Comes in Pairs
Data Mining 2016/2017 Fall MIS 331 Chapter 2 Sampliing Distribution
Comparing Two Populations
What are their purposes? What kinds?
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 8 Estimation: Additional Topics
Presentation transcript:

COMPARING TWO POPULATIONS IDEA: Compare two groups/populations based on samples from each of them. Examples. Compare average height of men and women. Draw sample of men heights: x1, x2, …, xm and a sample of women heights: y1, y2, …, yn. Test Ho: Ho: μx = μy vs Ha: μx ≠ μy or Ha: μx > μy Compare proportions of Democrats in two cities, Compare weights of people before and after a diet, etc. General considerations for the samples: Dependent or independent samples. Example. Comparing weights of people before and after a diet we have dependent (same people) samples of weights. Comparing weights of people in two cities we have independent samples. Analysis methods will differ for dependent and independent samples.

PAIRED t-TEST: dependent samples Observations come as matched pairs (X,Y). X and Y are NOT independent, X and Y are dependent. Examples. X is score on a test before studying hard; Y is score on the test after studying hard for the same student; X is score on a test or in sports before training program, Y score after training program; X is weight before weight loss program, Y is weight after the program; X and Y are heights of twins or siblings.

PAIRED t-TEST: HYPOTHESES Hypotheses of interest: does training make a difference? μx = score before training; μy = score after training. Ho: μx = μy vs Ha: μx < μy (no difference) (score after training is higher) Data are pairs of observations: (x1, y1), (x2, y2), …, (xn, yn). Typically, we work with differences: d=X-Y, and phrase hypotheses in terms of differences: μd = true mean difference. obsbeforeafterdifference 1x1y1d1=x1-y1 2x2y2d2=x2=y2.... nxnyndn=xn-yn In terms of differences: Hypotheses e.g. Ho: μd = 0 vs Ha: μd < 0 Data: d1, d2, …, dn.

PAIRED t-TEST: TEST PROCEDURE To test Ho, we do one sample t-test. Need sample mean and standard deviation of d’s: Compute the test statistic: Under Ho the test statistic has t(n-1) distribution. Make decision in exactly the same way as for the one sample t-test. A (1-α)100% CI for d:

PAIRED t-TEST: an example The amount of lactic acid in the blood was examined for 10 men, before and after a strenuous exercise, with the results in the following table. (a) Test if exercise changes the level of lactic acid in blood. Use significance level α=0.01. (b) Find a 95% CI for the mean change in the blood lactose level. Before After

PAIRED t-TEST: lactic acid example contd. Solution. Take d=“After level” – “before level” of lactic acid. Data for d: 18, 4, 17, 22, 23, 17, 5, 10, 7, 1. Sample stats: STEP1. Ho: μd = 0 vs Ha: μd ≠ 0 STEP 2. Test statistic: STEP 3. Critical value? df=n-1=9, t α/2 =t =3.69. STEP 4. DECISION: t = 4.93 > 3.69 = t 0.005, so reject Ho. STEP 5. Exercise changes lactic acid level.

Example contd. (b) Find a 95% CI for the mean change in the blood lactose level. It is the familiar formula for the 95% CI for the mean, this time mean difference μd. Need percentile from the t distribution with n-1 degrees of freedom. n=10, n-1=9, α=0.05, so t α/2 =t =2.262, so the 95% CI for μd is:

Lactic acid example in MINITAB: data set lactic-acid.MPJ

Paired T-Test and Confidence Interval Paired T for before - after N Mean StDev SE Mean before after Difference % CI for mean difference: (-18.08, -6.72) T-Test of mean difference = 0 (vs not = 0): T-Value = P-Value = Conclusion: Reject Ho, lactic acid level changes after exercise. Note: CI for “Before –after” HoHa