Chapter 19: Two-Sample Problems

Slides:



Advertisements
Similar presentations
Chapter 18: Inference about One Population Mean STAT 1450.
Advertisements

Introduction Comparing Two Means
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
PSY 307 – Statistics for the Behavioral Sciences
Testing the Difference Between Means (Small Independent Samples)
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
5-3 Inference on the Means of Two Populations, Variances Unknown
CHAPTER 19: Two-Sample Problems
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Hypothesis Testing with Two Samples
Chapter 19: Two-Sample Problems STAT Connecting Chapter 18 to our Current Knowledge of Statistics ▸ Remember that these formulas are only valid.
+ DO NOW What conditions do you need to check before constructing a confidence interval for the population proportion? (hint: there are three)
Lesson Comparing Two Means.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
Comparing 2 population parameters Chapter 13. Introduction: Two Sample problems  Ex: How do small businesses that fail differ from those that succeed?
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
More About Significance Tests
Sampling Distribution of the Mean Central Limit Theorem Given population with and the sampling distribution will have: A mean A variance Standard Error.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
8.1 Inference for a Single Proportion
Comparing Two Population Means
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
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.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
CHAPTER 18: Inference about a Population Mean
Significance Tests: THE BASICS Could it happen by chance alone?
1 Happiness comes not from material wealth but less desire.
For 95 out of 100 (large) samples, the interval will contain the true population mean. But we don’t know  ?!
Chapter 10 Inferences from Two Samples
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Essential Statistics Chapter 161 Inference about a Population Mean.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
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.
Essential Statistics Chapter 171 Two-Sample Problems.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Two Sample Problems  Compare the responses of two treatments or compare the characteristics of 2 populations  Separate samples from each population.
+ Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population Mean.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
CHAPTER 19: Two-Sample Problems ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
AP Statistics Chapter 11 Section 2. TestConfidence IntervalFormulasAssumptions 1-sample z-test mean SRS Normal pop. Or large n (n>40) Know 1-sample t-test.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter Nine Hypothesis Testing.
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis tests for the difference between two means: Independent samples Section 11.1.
Elementary Statistics
CHAPTER 19: Two-Sample Problems
Lesson Comparing Two Means.
Inference for Distributions
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Essential Statistics Two-Sample Problems - Two-sample t procedures -
CHAPTER 19: Two-Sample Problems
Presentation transcript:

Chapter 19: Two-Sample Problems STAT 1450

Connecting Chapter 18 to our Current Knowledge of Statistics 19.0 Two-Sample Problems Connecting Chapter 18 to our Current Knowledge of Statistics Remember that these formulas are only valid when appropriate simple conditions apply! Population Parameter Point Estimate Confidence Interval Test Statistic μ (σ known) 𝑥 𝑥 ± 𝑧 ∗ 𝜎 𝑛 𝑧= 𝑥 − 𝜇 0 𝜎 𝑛 μ (σ unknown) s 𝑥 ± 𝑡 ∗ 𝑠 𝑛 𝑡= 𝑥 − 𝜇 0 𝑠 𝑛

Connecting Chapter 18 to our Current Knowledge of Statistics 19.0 Two-Sample Problems Connecting Chapter 18 to our Current Knowledge of Statistics Matched pairs were covered at the end of Chapter 18. A common situation requiring matched pairs is when before-and-after measurements are taken on individual subjects. Example: Prices for a random sample of tickets to a 2008 Katy Perry concert were compared with the ticket prices (for the same seats) to her 2013 concert.. The data could be consolidated into 1 column of differences in ticket prices. A test of significance, or, a confidence interval would then occur for “1 sample of data.”

The Two-Sample Problems Two-sample problems require us to compare: the response to two treatments - or - the characteristics of two populations. We have a separate sample from each treatment or population.

The Two-Sample Problem Example: Suppose a random samples of ticket prices for concerts by the Rolling Stones was obtained. For comparison purposes another random sample of Coldplay ticket prices was obtained. Note these are not necessarily the same seats or even the same venues. Question: Are these samples more likely to be independent or dependent? Independent Dependent Not sure

The Two-Sample Problem Example: Suppose a random samples of ticket prices for concerts by the Rolling Stones was obtained. For comparison purposes another random sample of Coldplay ticket prices was obtained. Note these are not necessarily the same seats or even the same venues. Question: Are these samples more likely to be independent or dependent? Independent Dependent Not sure

19.1 The Two-Sample Problem Two-Sample Problems The end of Chapter 18 described inference procedures for the mean difference in two measurements on one group of subjects (e.g., pulse rates for 12 students before-and-after listening to music). Given our answer from above, and the likelihood that each sample has different sample sizes, variances, etc… Chapter 19 focuses on the difference in means for 2 different groups. Population Parameter Point Estimate Confidence Interval Test Statistic 𝜇 1 − 𝜇 2 𝑥 1 − 𝑥 2

Sampling Distribution of Two Sample Means 19.2 Comparing Two Population Means Sampling Distribution of Two Sample Means Recall that for a single sample mean 𝑥 The standard deviation of a statistic is estimated from data the result is called the standard error of the statistic. The standard error of 𝑥 is 𝑠 𝑛 . Inference in the two-sample problem will require the standard error of the difference of two sample means 𝒙 𝟏 − 𝒙 𝟐 .

Sampling Distribution of Two Sample Means 19.2 Comparing Two Population Means Sampling Distribution of Two Sample Means The following table stems from the above comment on standard error and statistical theory. Variable Parameter Point Estimate Population Standard Deviation Standard Error x1 m1 𝑥 1 s1 𝑠 1 𝑛 1 x2 m2 𝑥 2 s2 𝑠 2 𝑛 2 Diff = x1 - x2   m1 - m2 𝑥 1 − 𝑥 2 𝜎 1 2 𝑛 1 + 𝜎 2 2 𝑛 2 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2

19.2 Comparing Two Population Means Example: SSHA Scores The Survey of Study Habits and Attitudes (SSHA) is a psychological test designed to measure various academic behaviors (motivation, study habits, attitudes, etc…) of college students. Scores on the SSHA range from 0 to 200. The data for random samples 17 women (**the outlier from the original data set was removed**) and 20 men yielded the following summary statistics. Is there a difference in SSHA performance based upon gender?

Sample Standard Deviation 19.2 Comparing Two Population Means Example: SSHA Scores Summary statistics for the two groups are below: There is a difference in these two groups. The women’s average was 17.5 points > than the men’s average. Group Sample Mean Sample Standard Deviation Sample Size Women** 139.588 20.363 17 Men 122.5 32.132 20

Sample Standard Deviation 19.2 Comparing Two Population Means Example: SSHA Scores Summary statistics for the two groups are below: There is a difference in these two groups. The women’s average was 17.5 points > than the men’s average. Yet, the standard deviations are larger than this sample difference, and the sample sizes are about the same. Group Sample Mean Sample Standard Deviation Sample Size Women** 139.588 20.363 17 Men 122.5 32.132 20

Sample Standard Deviation 19.2 Comparing Two Population Means Example: SSHA Scores Summary statistics for the two groups are below: There is a difference in these two groups. The women’s average was 17.5 points > than the men’s average. Yet, the standard deviations are larger than this sample difference, and the sample sizes are about the same. Is this difference significant enough to conclude that 𝜇women is larger than 𝜇men? Group Sample Mean Sample Standard Deviation Sample Size Women** 139.588 20.363 17 Men 122.5 32.132 20

Sample Standard Deviation 19.2 Comparing Two Population Means Example: SSHA Scores Summary statistics for the two groups are below: There is a difference in these two groups. The women’s average was 17.5 points > than the men’s average. Yet, the standard deviations are larger than this sample difference, and the sample sizes are about the same. Is this difference significant enough to conclude that 𝜇women is larger than 𝜇men? Let’s learn more! Group Sample Mean Sample Standard Deviation Sample Size Women** 139.588 20.363 17 Men 122.5 32.132 20

The Two-sample t Procedures: Derived Now that we have a point estimate and a formula for the standard error, we can conduct statistical inference for the difference in two population means. Chapter Parameter of Interest Point Estimate Standard Error Confidence Interval 18 m (σ unknown; 1-sample) 𝑥   𝑠 𝑛 𝑥 ± 𝑡 ∗ 𝑠 𝑛 19 μ1 - μ2  (σ1, σ2 unknown; 2-samples) 𝑥 1 − 𝑥 2 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  pt. estimate ± t*(standard error)  

The Two-sample t Procedures: Derived Now that we have a point estimate and a formula for the standard error, we can conduct statistical inference for the difference in two population means. Chapter Parameter of Interest Point Estimate Standard Error Confidence Interval 18 m (σ unknown; 1-sample) 𝑥   𝑠 𝑛 𝑥 ± 𝑡 ∗ 𝑠 𝑛 19 μ1 - μ2  (σ1, σ2 unknown; 2-samples) 𝑥 1 − 𝑥 2 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  pt. estimate ± t*(standard error)   ( 𝑥 1 − 𝑥 2 ) ± t* 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  

The Two-sample t Procedures: Derived Chapter Parameter of Interest Point Estimate Standard Error Test Statistic 18 μ (σ unknown; 1-sample) 𝑥   𝑠 𝑛 𝑡= 𝑥 − 𝜇 0 𝑠/ 𝑛 19 m1 - μ2  (σ1, σ2 unknown; 2-samples) 𝑥 1 − 𝑥 2 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  pt. estimate – m0 standard error Note: H0 for our purposes will be that m1=m2; which is equivalent to there being a mean difference of ‘0.’

The Two-sample t Procedures: Derived Chapter Parameter of Interest Point Estimate Standard Error Test Statistic 18 μ (σ unknown; 1-sample) 𝑥   𝑠 𝑛 𝑡= 𝑥 − 𝜇 0 𝑠/ 𝑛 19 m1 - μ2  (σ1, σ2 unknown; 2-samples) 𝑥 1 − 𝑥 2 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  pt. estimate – m0 standard error 𝑡= ( 𝑥 1 − 𝑥 2 )−0 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2 Note: H0 for our purposes will be that m1=m2; which is equivalent to their being a mean difference of ‘0.’

The Two-sample t Procedures Now we can complete the table from earlier: t* is the critical value for confidence level C for the t distribution with df = smaller of (n1-1) and (n2-1). Find P-values from the t distribution with df = smaller of (n1-1) and (n2-1). Population Parameter Point Estimate Confidence Interval Test Statistic 𝜇 1 − 𝜇 2 𝑥 1 − 𝑥 2

The Two-sample t Procedures Now we can complete the table from earlier: t* is the critical value for confidence level C for the t distribution with df = smaller of (n1-1) and (n2-1). Find P-values from the t distribution with df = smaller of (n1-1) and (n2-1). Population Parameter Point Estimate Confidence Interval Test Statistic 𝜇 1 − 𝜇 2 𝑥 1 − 𝑥 2 ( 𝑥 1 − 𝑥 2 ) ± t* 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2  

The Two-sample t Procedures Now we can complete the table from earlier: t* is the critical value for confidence level C for the t distribution with df = smaller of (n1-1) and (n2-1). Find P-values from the t distribution with df = smaller of (n1-1) and (n2-1). Population Parameter Point Estimate Confidence Interval Test Statistic 𝜇 1 − 𝜇 2 𝑥 1 − 𝑥 2 ( 𝑥 1 − 𝑥 2 ) ± t* 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2   𝑡= ( 𝑥 1 − 𝑥 2 )−0 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2

The Two-sample t Procedures: Confidence Intervals Draw an SRS of size n1 from a large Normal population with unknown mean 𝜇 1 , and draw an independent SRS of size n2 from another large Normal population with unknown mean 𝜇 2 . A level C confidence interval for 𝜇 2 - 𝜇 1 is given by ( 𝑥 1 − 𝑥 2 ) ± t* 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2 Here t* is the critical value for confidence level C for the t distribution with degrees of freedom from either Option 1(computer generated) or Option 2 (the smaller of n1 – 1 and n2 – 1).

The Two-sample t Procedures: Significance Tests To test the hypothesis H0: μ1 - μ2 , calculate the two-sample t statistic 𝑡= ( 𝑥 1 − 𝑥 2 ) 𝑠 1 2 𝑛 1 + 𝑠 2 2 𝑛 2 Find p-values from the t distribution with df = smaller of (n1-1) and (n2-1).

19.0 Two-Sample Problems Conditions for Inference Comparing Two- Sample Means and Robustness of t Procedures The general structure of our necessary conditions is an extension of the one-sample cases. Simple Random Samples: Do we have 2 simple random samples? Population : Sample Ratio: The samples must be independent and from two large populations of interest.

19.0 Two-Sample Problems Conditions for Inference Comparing Two- Sample Means and Robustness of t Procedures Large enough sample: Both populations will be assumed to be from a Normal distribution and when the sum of the sample sizes is less than 15, t procedures can be used if the data close to Normal (roughly symmetric, single peak, no outliers)? If there is clear skewness or outliers then, do not use t. when the sum of the sample sizes is between 15 and 40, t procedures can be used except in the presences of outliers or strong skewness. when the sum of the sample sizes is at least 40, the t procedures can be used even for clearly skewed distributions.

19.0 Two-Sample Problems Conditions for Inference Comparing Two- Sample Means and Robustness of t Procedures Note: In practice it is enough that the two distributions have similar shape with no strong outliers. The two-sample t procedures are even more robust against non-Normality than the one-sample procedures. Now that we have a point estimate and a formula for the standard error, we can conduct statistical inference for the difference in two population means.

19.3 Two-Sample t Procedures Poll: SSHA Scores Suppose we have a goal of measuring the mean difference in SSHA between women and men. Which seems more plausible? µWomen-µMen = 0 (There is no difference.) µWomen - µMen ≠ 0 (There is some difference.)

Sample Standard Deviation 19.3 Two-Sample t Procedures Example: SSHA Scores The summary statistics for the SSHA scores for random samples of men and women are below. Use this information to construct a 90% confidence interval for the mean difference. Group Sample Mean Sample Standard Deviation Sample Size Women 139.588 20.363 17 Men 122.5 32.132 20

Example: 90% CI for SSHA Scores 18.3 One-Sample t Confidence Intervals Example: 90% CI for SSHA Scores Steps for Success- Constructing Confidence Intervals for m1 - m2 . Confirm that the 3 key conditions are satisfied (SRS?, N:n?, t-distribution?). 1. Components Do we have two simple random samples? Yes. It was stated. Large enough population: sample ratio? Yes. NW > 20*17 = 340 NM > 20*20 = 400 Large enough sample? Yes. nW + nM =37 < 40 but outlier has been removed. No skewness.

Example: 90% CI for SSHA Scores 18.3 One-Sample t Confidence Intervals Example: 90% CI for SSHA Scores Steps for Success- Constructing Confidence Intervals for m1 - m2 . Confirm that the 3 key conditions are satisfied (SRS?, N:n?, t-distribution?). Identify the 3 key components of the confidence interval (means, s.ds., n1 , n2 ). Select t*. 4. Construct the confidence interval. *Interpret* the interval. 2. Components. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20

Example: 90% CI for SSHA Scores 18.3 One-Sample t Confidence Intervals Example: 90% CI for SSHA Scores Steps for Success- Constructing Confidence Intervals for m1 - m2 . Confirm that the 3 key conditions are satisfied (SRS?, N:n?, t-distribution?). Identify the 3 key components of the confidence interval (means, s.ds., n1 , n2 ). Select t*. 4. Construct the confidence interval. *Interpret* the interval. 2. Components. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 3. Select t*. df =min{(nw -1), (nm -1)}=16 t*(90%, 16) = 1.746

Example: 90% CI for SSHA Scores 18.3 One-Sample t Confidence Intervals Example: 90% CI for SSHA Scores Steps for Success- Constructing Confidence Intervals for m1 - m2 . Confirm that the 3 key conditions are satisfied (SRS?, N:n?, t-distribution?). Identify the 3 key components of the confidence interval (means, s.ds., n1 , n2 ). Select t*. 4. Construct the confidence interval. *Interpret* the interval. 2. Components. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 3. Select t*. df =min{(nw -1), (nm -1)}=16 t*(90%, 16) = 1.746 4. Interval. 139.588−122.5 ±1.746 20.363 2 17 + 32.132 2 20 17.088±15.222=1.866 to 32.31

Example: 90% CI for SSHA Scores 18.3 One-Sample t Confidence Intervals Example: 90% CI for SSHA Scores Steps for Success- Constructing Confidence Intervals for m1 - m2 . Confirm that the 3 key conditions are satisfied (SRS?, N:n?, t-distribution?). Identify the 3 key components of the confidence interval (means, s.ds., n1 , n2 ). Select t*. 4. Construct the confidence interval. *Interpret* the interval. 2. Components. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 3. Select t*. df =min{(nw -1), (nm -1)}=16 t*(90%, 16) = 1.746 4. Interval. 139.588−122.5 ±1.746 20.363 2 17 + 32.132 2 20 17.088±15.222=1.866 to 32.31 5. Interpret. We are 90% confident that the mean women’s SSHA score is between 1.866 and 32.31 points higher than men’s.

Sample Standard Deviation 19.3 Two-Sample t Procedures Example: SSHA Scores Let’s continue with this example by now conducting a test of significance for the mean difference in SSHA by gender at a=0.10. Does our decision align with the results from the earlier poll? Group Sample Mean Sample Standard Deviation Sample Size Women 139.588 20.363 17 Men 122.5 32.132 20

19.3 Two-Sample t Procedures Example: SSHA Scores State: Is there a difference in the mean SSHA scores between men and women? (i.e., mDiff ≠ 0, mWomen − mMen ≠ 0, mWomen ≠ mMen ) Plan: a.) Identify the parameter.

19.3 Two-Sample t Procedures Example: SSHA Scores State: Is there a difference in the mean SSHA scores between men and women? (i.e., mDiff ≠ 0, mWomen − mMen ≠ 0, mWomen ≠ mMen ) Plan: a.) Identify the parameter. mDiff =mWomen - mMen. b) List all given information from the data collected.

19.3 Two-Sample t Procedures Example: SSHA Scores State: Is there a difference in the mean SSHA scores between men and women? (i.e., mDiff ≠ 0, mWomen − mMen ≠ 0, mWomen ≠ mMen ) Plan: a.) Identify the parameter. mDiff =mWomen - mMen. b) List all given information from the data collected. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 c) State the null (H0) and alternative (HA) hypotheses.

19.3 Two-Sample t Procedures Example: SSHA Scores State: Is there a difference in the mean SSHA scores between men and women? (i.e., mDiff ≠ 0, mWomen − mMen ≠ 0, mWomen ≠ mMen ) Plan: a.) Identify the parameter. mDiff =mWomen - mMen. b) List all given information from the data collected. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 c) State the null (H0) and alternative (HA) hypotheses. H0: mDiff = 0 Ha : mDiff ≠ 0

19.3 Two-Sample t Procedures Example: SSHA Scores State: Is there a difference in the mean SSHA scores between men and women? (i.e., mDiff ≠ 0, mWomen − mMen ≠ 0, mWomen ≠ mMen ) Plan: a.) Identify the parameter. mDiff =mWomen - mMen. b) List all given information from the data collected. 𝒙𝒘 = 139.588, sw = 20.363, nw = 17 𝒙𝒎 = 122.5, sm = 32.132, nm = 20 c) State the null (H0) and alternative (HA) hypotheses. H0: mDiff = 0 Ha : mDiff ≠ 0 d) Specify the level of significance. a =.10 e) Determine the type of test. Left-tailed Right-tailed Two-Tailed

Example: SSHA Scores Plan: 19.3 Two-Sample t Procedures f) Sketch the region(s) of “extremely unlikely” test statistics.

Example: SSHA Scores Solve: 19.3 Two-Sample t Procedures Example: SSHA Scores Solve: Check the conditions for the test you plan to use. Two Simple Random Samples? Large enough population: sample ratios? Large enough samples?

Example: SSHA Scores Solve: 19.3 Two-Sample t Procedures Example: SSHA Scores Solve: Check the conditions for the test you plan to use. Two Simple Random Samples? Yes. Stated as a random sample. Large enough population: sample ratios? Yes. Both populations are arbitrarily large; much greater than, NW > 20*17 = 340; NM > 20*20 = 400 Large enough samples? Yes. nW + nM =37 < 40 outlier has been removed. No skewness.

Example: SSHA Scores Solve: Calculate the test statistic 19.3 Two-Sample t Procedures Example: SSHA Scores Solve: Calculate the test statistic Determine (or approximate) the P-Value. t = 𝑥 𝑤 − 𝑥 𝑚 𝑠 𝑤 2 𝑛 𝑤 + 𝑠 𝑚 2 𝑛 𝑚 =

Example: SSHA Scores Solve: Calculate the test statistic 19.3 Two-Sample t Procedures Example: SSHA Scores Solve: Calculate the test statistic Determine (or approximate) the P-Value. t = 𝑥 𝑤 − 𝑥 𝑚 𝑠 𝑤 2 𝑛 𝑤 + 𝑠 𝑚 2 𝑛 𝑚 = 139.588−122.5 20.363 2 17 + 32.132 2 20 = 17.088 8.719 =1.96

Example: SSHA Scores Solve: Calculate the test statistic 19.3 Two-Sample t Procedures Example: SSHA Scores Solve: Calculate the test statistic Determine (or approximate) the P-Value. 1.96 DF = 17 - 1 1.746 < 1.96 < 2.12 .05 < P-value < .10 P-value t = 𝑥 𝑤 − 𝑥 𝑚 𝑠 𝑤 2 𝑛 𝑤 + 𝑠 𝑚 2 𝑛 𝑚 = 139.588−122.5 20.363 2 17 + 32.132 2 20 = 17.088 8.719 =1.96

19.3 Two-Sample t Procedures Example: SSHA Scores Conclude: a) Make a decision about the null hypothesis (Reject H0 or Fail to reject H0).

19.3 Two-Sample t Procedures Example: SSHA Scores Conclude: a) Make a decision about the null hypothesis (Reject H0 or Fail to reject H0). Because the approximate P-value is smaller than 0.10, we reject the null hypothesis. b) Interpret the decision in the context of the original claim.

19.3 Two-Sample t Procedures Example: SSHA Scores Conclude: a) Make a decision about the null hypothesis (Reject H0 or Fail to reject H0). Because the approximate P-value is smaller than 0.10, we reject the null hypothesis. b) Interpret the decision in the context of the original claim. There is enough evidence (at a=.10) that there is a difference in the mean SSHA score between men and women.

Sample Standard Deviation 19.3 Two-Sample t Procedures Example: SSHA Scores Let’s continue with this example by now conducting a test of significance for the mean difference in SSHA by gender at a=0.10. Does our decision align with the results from the earlier poll? ________ Group Sample Mean Sample Standard Deviation Sample Size Women 139.588 20.363 17 Men 122.5 32.132 20