Decision making for two samples Inference about two population means.

Slides:



Advertisements
Similar presentations
Chapter 12: Inference for Proportions BY: Lindsey Van Cleave.
Advertisements

Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Happiness comes not from material wealth but less desire. 1.
Section 9.3 Inferences About Two Means (Independent)
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
Mean for sample of n=10 n = 10: t = 1.361df = 9Critical value = Conclusion: accept the null hypothesis; no difference between this sample.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
A Decision-Making Approach
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 19: Two-Sample Problems
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
5-3 Inference on the Means of Two Populations, Variances Unknown
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
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.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
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.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Normal Distribution.
Inference for 2 Proportions Mean and Standard Deviation.
STA 2023 Module 11 Inferences for Two Population Means.
Ch 12 – Inference for Proportions YMS 12.1
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
8.2 Testing the Difference Between Means (Independent Samples,  1 and  2 Unknown) Key Concepts: –Sampling Distribution of the Difference of the Sample.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
- 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.
Review Session Chapter 2-5.
Comparing Sample Means
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
§2.The hypothesis testing of one normal population.
Sampling Distribution of Differences Between Means.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
Comparing Two Means Ch. 13. Two-Sample t Interval for a Difference Between Two Means.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Homogeneity of Variance Pooling the variances doesn’t make sense when we cannot assume all of the sample Variances are estimating the same value. For two.
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
Lesson Testing the Significance of the Least Squares Regression Model.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Statistical Inferences for Population Variances
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
More on Inference.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Monthly utility bills factor into local cost of living measures
Psychology 202a Advanced Psychological Statistics
Chapter 8 Hypothesis Testing with Two Samples.
More on Inference.
Statistical Inference for the Mean Confidence Interval
STAT 5372: Experimental Statistics
Elementary Statistics
STAT Z-Tests and Confidence Intervals for a
Summary of Tests Confidence Limits
Doing t-tests by hand.
Chapter Outline Inferences About the Difference Between Two Population Means: s 1 and s 2 Known.
Statistical Inference for the Mean: t-test
Presentation transcript:

Decision making for two samples Inference about two population means

From original data Z: from N(0,1) or T: from T-dist Large sample size or from Normal population Caution: the multiplier depends on the significance level

Formula for p-values From H 0 From original data Compare z to N(0,1) or t to T distribution for p-value Large sample size or from Normal population Caution: The direction of the tail depends on alternative hypothesis

Decision making for two samples ParameterDistributionStandard Error (CI)Standard Error (Test) Difference in ProportionsNormal Difference in Means Variance Known Normal Difference in Means Variance Unknown but same Pooled Difference in Means Variance Unknown but diff. Unpooled t, df = min(n 1, n 2 ) – 1 Difference in Means (Paired)t, df = n – 1

Reading speed Do you think that reading speed is related to the arrangement of the text. a) Yes b) No c) Not Sure

Reading speed Do you think that reading speed is related to the arrangement of the text. a) A b) B c) Not Sure A B

Reading speed How can we perform an experiment to test our hypothesis. We randomly select some liberal arts students to read horizontal text, and randomly select some science students to read vertical text. Then compare their reading speed. a) Valid b) Invalid c) Not Sure

Reading speed How can we perform an experiment to test our hypothesis. We randomly select people from the street and randomly partition these people into two groups. Let them read the same text but one group reads vertical arrangement the other group reads horizontal arrangement, Then compare their reading speed. a) Valid b) Invalid c) Not Sure

Reading speed We want to test the hypothesis that reading vertical text is slower. μ 1 = reading time of vertical text μ 2 = reading time of horizontal text a) H 0 : μ 1 = μ 2, H a : μ 1 ≠ μ 2 b) H 0 : μ 1 = μ 2, H a : μ 1 > μ 2 c) H 0 : μ 1 = μ 2, H a : μ 1 < μ 2 H 0 : μ 1 - μ 2 = 0, H a : μ 1 - μ 2 ≠ 0 H 0 : μ 1 - μ 2 = 0, H a : μ 1 - μ 2 > 0 H 0 : μ 1 - μ 2 = 0, H a : μ 1 - μ 2 < 0 Null Value Null value can be a number, then we are testing hypothesis that μ 1 take more seconds than μ 2

Inference about two population means - Now we obtained two independent random samples. - We record the reading time from group 1, and reading time from group 2. The diff. Test Stat.

Assume Variances Known ParameterDistributionStandard Error (CI)Standard Error (Test) Difference in ProportionsNormal Difference in Means (Variance Known) Normal Difference in Means (Variance Unknown but same Pooled) Difference in Means (Variance Unknown but diff. Unpooled ) t, df = min(n 1, n 2 ) – 1 Difference in Means (Paired)t, df = n – 1

Assume Population Variances are Unknown. Then we need to estimate the variances of two populations. Two ways: 1. Assume two populations have same variance 2. Assume two populations have different variances.

Case 1. Assume two populations have the same variance.

Case 1. Assume two populations have the same variance. Then we use one sample variance across two samples for a common population variance

ParameterDistributionStandard Error (CI)Standard Error (Test) Difference in ProportionsNormal Difference in Means Variance Known Normal Difference in Means Variance Unknown but same Pooled Difference in Means Variance Unknown but diff. Unpooled t, df = min(n 1, n 2 ) – 1 Difference in Means (Paired)t, df = n – 1 Case 1. Assume two populations have the same variance.

Case 2. Assume two populations have different variances.

Case 2. Assume two populations have different variances.

ParameterDistributionStandard Error (CI)Standard Error (Test) Difference in ProportionsNormal Difference in Means Variance Known Normal Difference in Means Variance Unknown but same Pooled Difference in Means Variance Unknown but diff. Unpooled t, df = min(n 1, n 2 ) – 1 Difference in Means (Paired)t, df = n – 1

Inference about two population means -We need to hire two large groups of people for our experiment -Large sample size comes with high cost. -Can we test our hypothesis without having two groups? YES

Decision making for two samples ParameterDistributionStandard Error (CI)Standard Error (Test) Difference in ProportionsNormal Difference in Means Variance Known Normal Difference in Means Variance Unknown but same Pooled Difference in Means Variance Unknown but diff. Unpooled t, df = min(n 1, n 2 ) – 1 Difference in Means (Paired)t, df = n – 1

Confidence interval for two population means - Now we obtained two independent random samples. - We record the reading time from group 1, and reading time from group 2. Multi.

Inference about two population means - For the same group of people -Each person read vertical and horizontal text. -Then we compare the reading time for EACH INDIVIDUAL. D 1 = difference for the first individual … D n = difference for the n th individual Although native English speakers normally read horizontal text, there are…