Comparing Two Population Means The Two-Sample T-Test and T-Interval.

Slides:



Advertisements
Similar presentations
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Advertisements

One sample T Interval Example: speeding 90% confidence interval n=23 Check conditions Model: t n-1 Confidence interval: 31.0±1.52 = (29.48, 32.52) STAT.
STATISTICAL INFERENCE PART V
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.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Significance Tests Chapter 13.
Chapter 9: Inferences for Two –Samples
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Chapter 10 Two-Sample Tests
Part IVA Analysis of Variance (ANOVA) Dr. Stephen H. Russell Weber State University.
PSY 307 – Statistics for the Behavioral Sciences
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Stat 301- Day 32 More on two-sample t- procedures.
BCOR 1020 Business Statistics
Chapter Goals After completing this chapter, you should be able to:
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Lecture 9: One Way ANOVA Between Subjects
Chapter 2 Simple Comparative Experiments
Inferences About Process Quality
Hypothesis Testing Using The One-Sample t-Test
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Chapter 24: Comparing Means.
AM Recitation 2/10/11.
Experimental Statistics - week 2
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Statistical Analysis Statistical Analysis
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Two independent samples Difference of Means
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
Chapter 11 Comparing Two Populations or Treatments.
Comparing Two Population Means
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
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 © 2008 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 11 Comparing Two Populations or Treatments.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
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.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
AP Statistics Chapter 24 Comparing Means.
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.
Week121 Robustness of the two-sample procedures The two sample t-procedures are more robust against nonnormality than one-sample t-procedures. When the.
to accompany Introduction to Business Statistics
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
© Copyright McGraw-Hill 2004
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Difference Between Two Means.
T tests comparing two means t tests comparing two means.
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.
The Differences in Ticket Prices for Broadway Shows By Courtney Snow I wanted to find out whether there was a significant difference in the price of musicals,
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Psychology 202a Advanced Psychological Statistics
What are their purposes? What kinds?
Comparing the Means of Two Dependent Populations
Presentation transcript:

Comparing Two Population Means The Two-Sample T-Test and T-Interval

Example Population of all female college students Sample of n 2 = 21 females report average of 85.7 mph Population of all male college students Sample of n 1 = 17 males report average of mph Do male and female college students differ with respect to their fastest reported driving speed?

Comparative Observational Study A research study in which two or more groups are compared with respect to some measurement or response. The groups, determined by their natural characteristics, are merely “observed.”

Graphical summary of sample data

Numerical summary of sample data Gender N Mean Median TrMean StDev female male Gender SE Mean Minimum Maximum Q1 Q3 female male The difference in the sample means is = mph

The Question in Statistical Notation Let  M = the average fastest speed of all male students. and  F = the average fastest speed of all female students. Then we want to know whether  M   F. This is equivalent to knowing whether  M -  F  0

All possible questions in statistical notation In general, we can always compare two averages by seeing how their difference compares to 0:

Set up hypotheses Null hypothesis: –H 0 :  M =  F [equivalent to  M -  F = 0] Alternative hypothesis: –H a :  M   F [equivalent to  M -  F  0]

Make initial assumption Assume null hypothesis is true. That is, assume  M =  F Or, equivalently, assume  M -  F = 0

Determine the P-value P-value = “How likely is it that our sample means would differ by as much as m.p.h. if the difference in population means really is 0?” The P-value, 0.001, is small. Our sample result is not likely if the null hypothesis is true. Reject the null hypothesis.

Make a decision There is sufficient evidence, at the 0.05 level of significance, to conclude that the average reported fastest driving speed of all male college students differs from the average reported fastest driving speed of all female students.

How the P-value is calculated The P-value is determined by standardizing, that is, by calculating the two-sample test statistic... …and comparing the value of the test statistic to the appropriate sampling distribution. The sampling distribution depends on how you estimate the standard error of the differences.

If variances of the measurements of the two groups are not equal... Estimate the standard error of the difference as: Then the sampling distribution is an approximate t distribution with a complicated formula for d.f.

If variances of the measurements of the two groups are equal... Estimate the standard error of the difference using the common pooled variance: Then the sampling distribution is a t distribution with n 1 +n 2 -2 degrees of freedom. where Assume variances are equal only if neither sample standard deviation is more than twice that of the other sample standard deviation.

Two-sample t-test in Minitab Select Stat. Select Basic Statistics. Select 2-sample t to get a Pop-Up window. Click on the radio button before Samples in one Column. Put the measurement variable in Samples box, and put the grouping variable in Subscripts box. Specify your alternative hypothesis. If appropriate, select Assume Equal Variances. Select OK.

Pooled two-sample t-test Two sample T for Fastest Gender N Mean StDev SE Mean female male % CI for mu (female) - mu (male ): ( -25.2, -7.5) T-Test mu (female) = mu (male ) (vs not =): T = P = DF = 36 Both use Pooled StDev = 13.4

(Unpooled) two-sample t-test Two sample T for Fastest Gender N Mean StDev SE Mean female male % CI for mu (female) - mu (male ): ( -25.9, -6.8) T-Test mu (female) = mu (male ) (vs not =): T = P = DF = 23

Assumptions for correct P-values Data in each group follow a normal distribution. If use pooled t-test, the variances for each group are equal. The samples are independent. That is, who is in the second sample doesn’t depend on who is in the first sample (and vice versa).

Confidence interval for difference in two means We can be “such-and-such” confident that the difference in the population means falls in the interval... where the t* multiplier depends on the confidence level and is obtained either from the appropriate t distribution.

Interpreting a confidence interval for the difference in two means…

Two-sample confidence interval in Minitab Select Stat. Select Basic Statistics. Select 2-sample t to get a Pop-Up window. Click on the radio button before Samples in one Column. Put the measurement variable in Samples box, and put the grouping variable in Subscripts box. Specify confidence level. If appropriate, select Assume Equal Variances. Select OK.

Example Two sample T for laundry gender N Mean StDev SE Mean M F % CI for mu (M) - mu (F): ( -2.11, 0.47) T-Test mu (M) = mu (F) (vs not =): T = P = 0.21 DF = 60

Example Population of all people seeing “10 million” Sample of n 2 = 33 people Population of all people seeing “80 million” Sample of n 1 = 34 people Do the average guesses of the population of Turkey differ depending on preliminary information received?

Randomized comparative experiment A study in which two or more groups are randomly assigned to a “treatment” to see how the treatment affects some “response.” If each “experimental unit” has the same chance of receiving any treatment, then the experiment is called a “completely randomized design.”

Graphical summary of data

Two-sample t-test results Two sample T for Turkey Form2 N Mean StDev SE Mean % CI for mu (10) - mu (80): ( -69.6, -30.9) T-Test mu (10) = mu (80) (vs <): T = P = DF = 34

Conclusions of Turkey experiment There is sufficient evidence, at the 0.05 level, to conclude that the average guesses of the population of Turkey differ between the two forms. The population mean guess of the “10 million” form is lower than the population mean guess of the “80 million” form.