Lecture 22 Dustin Lueker.  Similar to testing one proportion  Hypotheses are set up like two sample mean test ◦ H 0 :p 1 -p 2 =0  Same as H 0 : p 1.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Lecture 6 Outline – Thur. Jan. 29
Lecture 14 Dustin Lueker.  This interval will contain μ with a 100(1-α)% confidence ◦ If we are estimating µ, then why it is unreasonable for us to know.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Lecture 6 Outline: Tue, Sept 23 Review chapter 2.2 –Confidence Intervals Chapter 2.3 –Case Study –Two sample t-test –Confidence Intervals Testing.
BCOR 1020 Business Statistics
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
Two Population Means Hypothesis Testing and Confidence Intervals With Unknown Standard Deviations.
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Chapter 11: Inference for Distributions
Inferences About Process Quality
Basic Business Statistics (9th Edition)
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Comparing Means
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.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Education 793 Class Notes T-tests 29 October 2003.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
LECTURE 21 THURS, 23 April STA 291 Spring
Comparing Two Population Means
Dan Piett STAT West Virginia University
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
Understanding Inferential Statistics—Estimation
Confidence Intervals for Means. point estimate – using a single value (or point) to approximate a population parameter. –the sample mean is the best point.
Lecture 14 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Lecture 22 Dustin Lueker.  The sample mean of the difference scores is an estimator for the difference between the population means  We can now use.
STA Lecture 291 STA 291 Lecture 29 Review. STA Lecture 292 Final Exam, Thursday, May 6 When: 6:00pm-8:00pm Where: CB 106 Make-up exam: Friday.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
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.
STA291 Statistical Methods Lecture 18. Last time… Confidence intervals for proportions. Suppose we survey likely voters and ask if they plan to vote for.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Lecture 11 Dustin Lueker. 2  The larger the sample size, the smaller the sampling variability  Increasing the sample size to 25… 10 samples of size.
Lecture 7 Dustin Lueker. 2  Point Estimate ◦ A single number that is the best guess for the parameter  Sample mean is usually at good guess for the.
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
© Copyright McGraw-Hill 2000
to accompany Introduction to Business Statistics
Inferences Concerning Variances
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 26 Chapter 11 Section 1 Inference about Two Means: Dependent Samples.
Estimating a Population Mean. Student’s t-Distribution.
Confidence Intervals for a Population Mean, Standard Deviation Unknown.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Lecture 22 Dustin Lueker.  Similar to testing one proportion  Hypotheses are set up like two sample mean test ◦ H 0 :p 1 -p 2 =0  Same as H 0 : p 1.
Lecture 11 Dustin Lueker. 2  The larger the sample size, the smaller the sampling variability  Increasing the sample size to 25… 10 samples of size.
Lecture 19 Dustin Lueker.  A 95% confidence interval for µ is (96,110). Which of the following statements about significance tests for the same data.
Lecture 11 Dustin Lueker.  A 95% confidence interval for µ is (96,110). Which of the following statements about significance tests for the same data.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Lecture 10 Dustin Lueker.  The z-score for a value x of a random variable is the number of standard deviations that x is above μ ◦ If x is below μ, then.
Lecture 13 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
Class Six Turn In: Chapter 15: 30, 32, 38, 44, 48, 50 Chapter 17: 28, 38, 44 For Class Seven: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 Read.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Lecture Slides Elementary Statistics Twelfth Edition
STA 291 Spring 2010 Lecture 21 Dustin Lueker.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
CHAPTER 10 Comparing Two Populations or Groups
STA 291 Spring 2008 Lecture 10 Dustin Lueker.
STA 291 Summer 2008 Lecture 23 Dustin Lueker.
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
STA 291 Summer 2008 Lecture 10 Dustin Lueker.
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
STA 291 Spring 2008 Lecture 23 Dustin Lueker.
STA 291 Summer 2008 Lecture 14 Dustin Lueker.
STA 291 Spring 2008 Lecture 22 Dustin Lueker.
STA 291 Summer 2008 Lecture 21 Dustin Lueker.
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
STA 291 Spring 2008 Lecture 14 Dustin Lueker.
Presentation transcript:

Lecture 22 Dustin Lueker

 Similar to testing one proportion  Hypotheses are set up like two sample mean test ◦ H 0 :p 1 -p 2 =0  Same as H 0 : p 1 =p 2  Test Statistic 2STA 291 Summer 2008 Lecture 21

 Hypothesis involves 2 parameters from 2 populations ◦ Test statistic is different  Involves 2 large samples (both samples at least 30)  One from each population  H 0 : μ 1 -μ 2 =0 ◦ Same as H 0 : μ 1 =μ 2 ◦ Test statistic 3STA 291 Summer 2008 Lecture 21

 Used when comparing means of two samples where at least one of them is less than 30 ◦ Normal population distribution is assumed for both samples  Equal Variances ◦ Both groups have the same variability  Unequal Variances ◦ Both groups may not have the same variability 4STA 291 Summer 2008 Lecture 21

 Test Statistic ◦ Degrees of freedom  n 1 +n STA 291 Summer 2008 Lecture 21

◦ Degrees of freedom  n 1 +n STA 291 Summer 2008 Lecture 21

 Test statistic  Degrees of freedom 7STA 291 Summer 2008 Lecture 21

8

9  How to choose between Method 1 and Method 2? ◦ Method 2 is always safer to use ◦ Definitely use Method 2  If one standard deviation is at least twice the other  If the standard deviation is larger for the sample with the smaller sample size ◦ Usually, both methods yield similar conclusions STA 291 Summer 2008 Lecture 21

 Comparing dependent means ◦ Example  Special exam preparation for STA 291 students  Choose n=10 pairs of students such that the students matched in any given pair are very similar given previous exam/quiz results  For each pair, one of the students is randomly selected for the special preparation (group 1)  The other student in the pair receives normal instruction (group 2) 10STA 291 Summer 2008 Lecture 21

 “Matches Pairs” plan ◦ Each sample (group 1 and group 2) has the same number of observations ◦ Each observation in one sample ‘pairs’ with an observation in the other sample ◦ For the i th pair, let D i = Score of student receiving special preparation – score of student receiving normal instruction 11STA 291 Summer 2008 Lecture 21

 The sample mean of the difference scores is an estimator for the difference between the population means  We can now use exactly the same methods as for one sample ◦ Replace X i by D i 12STA 291 Summer 2008 Lecture 21

 Small sample confidence interval Note: ◦ When n is large (greater than 30), we can use the z- scores instead of the t-scores 13STA 291 Summer 2008 Lecture 21

 Small sample test statistic for testing difference in the population means ◦ For small n, use the t-distribution with df=n-1 ◦ For large n, use the normal distribution instead (z value) 14STA 291 Summer 2008 Lecture 21

 Ten college freshman take a math aptitude test both before and after undergoing an intensive training course  Then the scores for each student are paired, as in the following table 15 Student Before After STA 291 Summer 2008 Lecture 21

16STA 291 Summer 2008 Lecture 21

 Compare the mean scores after and before the training course by ◦ Finding the difference of the sample means ◦ Find the mean of the difference scores ◦ Compare  Calculate and interpret the p-value for testing whether the mean change equals 0  Compare the mean scores before and after the training course by constructing and interpreting a 90% confidence interval for the population mean difference 17 Student Before After STA 291 Summer 2008 Lecture 21

18 Output from Statistical Software Package SAS N 10 Mean 7 Std Deviation Tests for Location: Mu0=0 Test -Statistic p Value Student's t t Pr > |t| Sign M 4 Pr >= |M| Signed Rank S 25.5 Pr >= |S| STA 291 Summer 2008 Lecture 21

 Variability in the difference scores may be less than the variability in the original scores ◦ This happens when the scores in the two samples are strongly associated ◦ Subjects who score high before the intensive training also dent to score high after the intensive training  Thus these high scores aren’t raising the variability for each individual sample 19STA 291 Summer 2008 Lecture 21