Homework and project proposal due next Thursday. Please read chapter 10 too…

Slides:



Advertisements
Similar presentations
Inferences based on TWO samples
Advertisements

Happiness comes not from material wealth but less desire. 1.
Section 9.3 Inferences About Two Means (Independent)
Business and Economics 9th Edition
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.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
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.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 Hypothesis Testing:
PSY 307 – Statistics for the Behavioral Sciences
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Comparison of 2 or more means ( See Chapter 11) e.g. n=16, df=15, alpha=0.05 t- statistic under H0 are ±2.13 Is  =  0 ? -- consider versus or One sample.
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Stat 301- Day 32 More on two-sample t- procedures.
HW: –Due Next Thursday (4/18): –Project proposal due next Thursday (4/18).
6.4 One and Two-Sample Inference for Variances. Example - Problem 26 – Page 435  D. Kim did some crude tensile strength testing on pieces of some nominally.
Where we’ve been & where we’re going We can use data to address following questions: 1.Question:Is a mean = some number? Large sample z-test and CI Small.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
HW: See Web Project proposal due next Thursday. See web for more detail.
Copyright (c) Bani K. Mallick1 STAT 651 Lecture #16.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
IEEM 3201 Two-Sample Estimation: Paired Observation, Difference.
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
Stat 301 – Day 26 Prediction Intervals Paired t-test.
5-3 Inference on the Means of Two Populations, Variances Unknown
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
On Thursday, John will provide information about the project Next homework: John will announce in class on Thursday, and it’ll be due the following Thursday.
Linear Regression Inference
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
Education 793 Class Notes T-tests 29 October 2003.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
Laws of Logic and Rules of Evidence Larry Knop Hamilton College.
Ch7 Inference concerning means II Dr. Deshi Ye
Comparing the Means of Two Dependent Populations The Paired T-test ….
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.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Hypothesis Testing CSCE 587.
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.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on 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.
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.
November 15. In Chapter 12: 12.1 Paired and Independent Samples 12.2 Exploratory and Descriptive Statistics 12.3 Inference About the Mean Difference 12.4.
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.
to accompany Introduction to Business Statistics
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
Sampling Distribution of Differences Between Means.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
10-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 10 Two-Sample Tests Statistics for Managers using Microsoft Excel 6 th.
Week 101 Test on Pairs of Means – Case I Suppose are iid independent of that are iid. Further, suppose that n 1 and n 2 are large or that are known. We.
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,
Where we’ve been & where we’re going
Psychology 202a Advanced Psychological Statistics
Comparing the Means of Two Dependent Populations
Happiness comes not from material wealth but less desire.
Presentation transcript:

Homework and project proposal due next Thursday. Please read chapter 10 too…

Fabric B u r n T i m e Fabric Data: Tried to light 4 samples of 4 different (unoccupied!) pajama fabrics on fire. Higher # means less flamable Mean=16.85 std dev=0.94 Mean=10.95 std dev=1.237 Mean=10.50 std dev=1.137 Mean=11.00 std dev=1.299

Back to burn time example xst 0.025,3 95% CI Fabric (15.35,18.35) Fabric (8.98, 12.91) Fabric (8.69, 12.31) Fabric (8.93, 13.07)

Comparison of 2 means: Example: –Is mean burn time of fabric 2 different from mean burn time of fabric 3? –Why can’t we answer this w/ the hypothesis test: H 0 : mean of fabric 2 = 10.5 H A : mean of fabric 2 doesn’t = 10.5 –What’s the appropriate hypothesis test? x for fabric 3

H 0 : mean fab 2 – mean fab 3 = 0 H A : mean fab 2 – mean fab 3 not = 0 Let’s do this w/ a confidence interval. Large sample CI: (x 2 – x 3 ) +/- z  /2 sqrt[s 2 2 /n 2 + s 2 3 /n 3 ]

CI is based on small sample distribution of difference between means. That distribution is different depending on whether the variances of the two means are approximately equal equal or not Small sample CI: –If var(fabric 2) is approximately = var(fabric 3), then just replace z  /2 with t ,n2+n3-2 This is called “pooling” the variances. –If not, then use software. (Software adjusts the degrees of freedom for an “appoximate” confidence interval.) Rule of thumb: OK if 1/3<(S 2 3 /S 2 2 )<3 More conservative Read section 10.4

Two-sample T for f2 vs f3 N Mean StDev SE Mean f f Difference = mu f2 - mu f3 Estimate for difference: % CI for difference: (-1.606, 2.506) T-Test of difference = 0 (vs not =): T-Value = 0.54 P-Value = DF = 6 Both use Pooled StDev = 1.19 Minitab: Stat: Basic statistics: 2 sample t

Hypothesis test: comparison of 2 means As in the 1 mean case, replace z  /2 with the appropriate “t based” cutoff value. When  2 1 approximately =  2 2 then test statistic is t=|(x 1 –x 2 )+/-sqrt(s 2 1 /n 1 +s 2 2 /n 2 )| Reject if t > t  /2,n1+n2-2 Pvalue = 2*Pr(T > t) where T~t n1+n2-2 For unequal variances, software adjusts df on cutoff.

“Paired T-test” In previous comparison of two means, the data from sample 1 and sample 2 were unrelated. (Fabric 2 and Fabric 3 observations are independent.) Consider following experiment: –“separated identical twins” (adoption) experiments. 15 sets of twins 1 twin raised in city and 1 raised in country measure IQ of each twin want to compare average IQ of people raised in cities versus people raised in the country since twins share common genetic make up, IQs within a pair of twins probably are not independent

Data: One Way of Looking At it country city [1,] [2,] [3,] [4,] [5,] [6,] [7,] [8,] [9,] [10,] [11,] [12,] [13,] [14,] [15,] Number IQ = city = country City mean = Country mean =

country city diff [1,] [2,] [3,] [4,] [5,] [6,] [7,] [8,] [9,] [10,] [11,] [12,] [13,] [14,] [15,] country - city Index IQ Mean difference = (country – city) Of course, Mean difference = mean( country ) - mean( city ) If we want to test “difference = 0”, we need variance of differences too.

Paired t-test One twin’s observation is dependent on the other twin’s observation, but the differences are independent across twins. As a result, we can do an ordinary one sample t- test on the differences. This is called a “paired t-test”. When data naturally come in pairs and the pairs are related, a “paired t-test” is appropriate.

“Paired T-test” Minitab: basic statistics: paired t-test: Paired T for Country - City N Mean StDev SE Mean Country City Difference % CI for mean difference: (-7.71, -0.56) T-Test of mean difference = 0 (vs not = 0): T-Value = P-Value = Compare this to a 2-sample t-test

Two-sample T for Country vs City N Mean StDev SE Mean Country City Difference = mu Country - mu City Estimate for difference: % CI for difference: (-27.6, 19.3) T-Test of difference = 0 (vs not =): T-Value = P-Value = DF = 28 Both use Pooled StDev = 31.4 Estimate of difference is the same, but the variance estimate is very different: –Paired: std dev(difference) = 1.67 –2 sample: sqrt[ (31.0^2 /15) + (31.7^2/15) ] = –“Cutoff” is different too: t 0.025,13 for paired t 0.025,28 for 2 sample