STA 291 Spring 2008 Lecture 22 Dustin Lueker.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Basic Business Statistics (9th Edition)
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
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Education 793 Class Notes T-tests 29 October 2003.
LECTURE 21 THURS, 23 April STA 291 Spring
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
Understanding Inferential Statistics—Estimation
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.
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.
© Copyright McGraw-Hill 2000
to accompany Introduction to Business Statistics
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
Inferences Concerning Variances
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.  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 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 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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.1 Confidence Intervals: The.
Chapter 9 Estimation: Additional Topics
Chapter 6 Inferences Based on a Single Sample: Estimation with Confidence Intervals Slides for Optional Sections Section 7.5 Finite Population Correction.
Chapter 10 Two Sample Tests
STA 291 Spring 2010 Lecture 12 Dustin Lueker.
STA 291 Spring 2010 Lecture 21 Dustin Lueker.
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Estimation & Hypothesis Testing for Two Population Parameters
Math 4030 – 10a Tests for Population Mean(s)
Chapter 10 Two-Sample Tests.
STA 291 Spring 2008 Lecture 11 Dustin Lueker.
STA 291 Spring 2008 Lecture 10 Dustin Lueker.
Chapter 8 Estimation: Additional Topics
STA 291 Spring 2008 Lecture 20 Dustin Lueker.
Elementary Statistics
Comparing Populations
Two Sample T-Tests AP Statistics.
STA 291 Summer 2008 Lecture 23 Dustin Lueker.
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
Chapter 13: Inferences about Comparing Two Populations Lecture 7a
What are their purposes? What kinds?
STA 291 Summer 2008 Lecture 10 Dustin Lueker.
Hypothesis Testing: The Difference Between Two Population Means
Chapter 10 Two-Sample Tests
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
STA 291 Spring 2008 Lecture 13 Dustin Lueker.
pairing data values (before-after, method1 vs
STA 291 Spring 2008 Lecture 23 Dustin Lueker.
Chapter 9 Estimation: Additional Topics
STA 291 Summer 2008 Lecture 12 Dustin Lueker.
STA 291 Summer 2008 Lecture 14 Dustin Lueker.
STA 291 Spring 2008 Lecture 12 Dustin Lueker.
Inference for Distributions
STA 291 Summer 2008 Lecture 21 Dustin Lueker.
STA 291 Summer 2008 Lecture 20 Dustin Lueker.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
STA 291 Spring 2008 Lecture 14 Dustin Lueker.
Presentation transcript:

STA 291 Spring 2008 Lecture 22 Dustin Lueker

Testing Difference Between Two Population Proportions Similar to testing one proportion Hypotheses are set up like two sample mean test H0:p1-p2=0 Same as H0: p1=p2 Test Statistic STA 291 Spring 2008 Lecture 21

Testing the Difference Between Means from Different Populations Hypothesis involves 2 parameters from 2 populations Test statistic is different Involves 2 large samples (both samples at least 30) One from each population H0: μ1-μ2=0 Same as H0: μ1=μ2 Test statistic STA 291 Spring 2008 Lecture 21

Small Sample Tests for Two Means 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 STA 291 Spring 2008 Lecture 21

Small Sample Test for Two Means, Equal Variances Test Statistic Degrees of freedom n1+n2-2 STA 291 Spring 2008 Lecture 21

Small Sample Confidence Interval for Two Means, Equal Variances Degrees of freedom n1+n2-2 STA 291 Spring 2008 Lecture 21

Small Sample Test for Two Means, Unequal Variances Test statistic Degrees of freedom STA 291 Spring 2008 Lecture 21

Small Sample Confidence Interval for Two Means, Unequal Variances STA 291 Spring 2008 Lecture 21

Method 1 (Equal Variances) vs. Method 2 (Unequal Variances) 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 Spring 2008 Lecture 21

Comparing Dependent Samples 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) STA 291 Spring 2008 Lecture 22

Example (cont.) “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 ith pair, let Di = Score of student receiving special preparation – score of student receiving normal instruction STA 291 Spring 2008 Lecture 22

Comparing Dependent Samples 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 Xi by Di STA 291 Spring 2008 Lecture 22

Comparing Dependent Samples Small sample confidence interval Note: When n is large (greater than 30), we can use the z- scores instead of the t-scores STA 291 Spring 2008 Lecture 22

Comparing Dependent Samples 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) STA 291 Spring 2008 Lecture 22

Example Student 1 2 3 4 5 6 7 8 9 10 Before 60 73 42 88 66 77 90 63 55 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 Student 1 2 3 4 5 6 7 8 9 10 Before 60 73 42 88 66 77 90 63 55 96 After 70 80 40 94 79 86 93 71 97 STA 291 Spring 2008 Lecture 22

Example STA 291 Spring 2008 Lecture 22

Example Student 1 2 3 4 5 6 7 8 9 10 Before 60 73 42 88 66 77 90 63 55 96 After 70 80 40 94 79 86 93 71 97 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 STA 291 Spring 2008 Lecture 22

Example Output from Statistical Software Package SAS N 10 Mean 7 Std Deviation 5.24933858 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 4.216901 Pr > |t| 0.0022 Sign M 4 Pr >= |M| 0.0215 Signed Rank S 25.5 Pr >= |S| 0.0059 STA 291 Spring 2008 Lecture 22

Reducing Variability 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 STA 291 Spring 2008 Lecture 22