Ch7 Inference concerning means II Dr. Deshi Ye

Slides:



Advertisements
Similar presentations
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Advertisements

Ch8 Inference concerning variance
Ch11 Curve Fitting Dr. Deshi Ye
STATISTICAL INFERENCE PART V
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
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.
Statistics for Business and Economics Chapter 7 Inferences Based on Two Samples: Confidence Intervals & Tests of Hypotheses.
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.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Ka-fu Wong © 2004 ECON1003: Analysis of Economic Data Lesson9-1 Lesson 9: Two Sample Tests of Hypothesis.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
A Decision-Making Approach
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.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Ka-fu Wong © 2007 ECON1003: Analysis of Economic Data Lesson9-1 Lesson 9: Confidence Intervals and Tests of Hypothesis Two or more samples.
Chapter 2 Simple Comparative Experiments
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
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.
Statistical Inference for Two Samples
T Test for One Sample. Why use a t test? The sampling distribution of t represents the distribution that would be obtained if a value of t were calculated.
AM Recitation 2/10/11.
Experimental Statistics - week 2
Hypothesis testing – mean differences between populations
1/2555 สมศักดิ์ ศิวดำรงพงศ์
1 Ch6. Sampling distribution Dr. Deshi Ye
More About Significance Tests
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.
STATISTICAL INFERENCE PART VII
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.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
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.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
Statistics for Business and Economics Chapter 7 Inferences Based on Two Samples: Confidence Intervals & Tests of Hypotheses.
STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Industrial Statistics 2
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 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.
STATISTICAL INFERENCE PART IV CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 1.
Confidence Intervals for Variance and Standard Deviation.
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
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.
1 Design and Analysis of Experiments (2) Basic Statistics Kyung-Ho Park.
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.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Chapter 17 Estimation and Hypothesis Tests: Two Populations.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Learning Objectives Compute Confidence Interval Estimates for Population Mean (Sigma Unknown) Distinguish Types of Hypotheses Describe Hypothesis Testing.
Estimation & Hypothesis Testing for Two Population Parameters
Math 4030 – 10a Tests for Population Mean(s)
Statistics for Business and Economics
Hypothesis Testing – Introduction
Presentation transcript:

Ch7 Inference concerning means II Dr. Deshi Ye

2 Review Point estimation: calculate the estimated standard error to accompany the point estimate of a population. Interval estimation whatever the population, when the sample size is large, calculate the 100(1-a)% confidence interval for the mean When the population is normal, calculate the 100(1-a)% confidence interval for the mean Where is the obtained from t-distribution with n-1 degrees of freedom.

3 Review con. Test of Hypothesis 5 steps totally. Formulate the assertion that the experiment seeks to confirm as the alternative hypothesis P-value calculation the smallest fixed level at which the null hypothesis can be rejected.

4 Outline Inference concerning two means Design Issues – Randomization and Pairing

5 7.8 Inference concerning two means In many statistical problems, we are faced with decision about the relative size of the means of two or more populations. Tests concerning the difference between two means Consider two populations having the mean and and the variances of and and we want to test null hypothesis Random samples of size

6 Two Population Tests Two Populations Z Test (Large sample) t Test (Paired sample) Z Test ProportionVariance F Test t Test (Small sample) Paired Indep. Mean

Testing Two Means Independent Sampling & Paired Difference Experiments

8 Two Population Tests

9 Independent & Related Populations IndependentRelated

10 Independent & Related Populations 1.Different Data Sources Unrelated Independent IndependentRelated

11 1.Different Data Sources Unrelated Independent 1.Same Data Source Paired or Matched Repeated Measures (Before/After) IndependentRelated Independent & Related Populations

12 1.Different Data Sources Unrelated Independent 2.Use Difference Between the 2 Sample Means  X 1 -  X 2 1.Same Data Source Paired or Matched Repeated Measures (Before/After) IndependentRelated Independent & Related Populations

13 1.Different Data Sources Unrelated Independent 2.Use Difference Between the 2 Sample Means  X 1 -  X 2 1.Same Data Source Paired or Matched Repeated Measures (Before/After) 2.Use Difference Between Each Pair of Observations D i = X 1i - X 2i IndependentRelated Independent & Related Populations

14 Two Independent Populations Examples 1.An economist wishes to determine whether there is a difference in mean family income for households in 2 socioeconomic groups. 2.An admissions officer of a small liberal arts college wants to compare the mean SAT scores of applicants educated in rural high schools & in urban high schools.

15 Two Related Populations Examples 1.Nike wants to see if there is a difference in durability of 2 sole materials. One type is placed on one shoe, the other type on the other shoe of the same pair. 2.An analyst for Educational Testing Service wants to compare the mean GMAT scores of students before & after taking a GMAT review course.

16 Thinking Challenge 1.Miles per gallon ratings of cars before & after mounting radial tires 2.The life expectancy of light bulbs made in 2 different factories 3.Difference in hardness between 2 metals: one contains an alloy, one doesn’t 4.Tread life of two different motorcycle tires: one on the front, the other on the back Are They Independent or Paired?

Testing 2 Independent Means

18 Two Population Tests

19 Test The test will depend on the difference between the sample means and if both samples come from normal population with known variances, it can be based on the statistic

20 Theorem If the distribution of two independent random variables have the mean and and the variance and, then the distribution of their sum (or difference) has the mean (or ) and the variance Two different sample of size

21 Statistic for test concerning different between two means Is a random variable having the standard normal distribution. Or large samples

22 Criterion Region for testing Alternative hypothesis Reject null hypothesis if

23 EX. To test the claim that the resistance of electric wire can be reduced by more than 0.05 ohm by alloying, 32 values obtained for standard wire yielded ohm and ohm, and 32 values obtained for alloyed wire yielded ohm and ohm Question: At the 0.05 level of significance, does this support the claim?

24 Solution 1. Null hypothesis: Alternative hypothesis 2. Level of significance: Criterion: Reject the null hypothesis if Z > Calculation: 5. The null hypothesis must be rejected. 6. P-value: =0.04 < level of significance

25 Critical values One-sided alternatives Two-sided alternatives

26 Type II errors To judge the strength of support for the null hypothesis when it is not rejected. Check it from Table 8 at the end of the textbook The size of two examples are not equal

27 Small sample size 2-sample t test.

28 Criterion Region for testing (Statistic for small sample ) Alternative hypothesis Reject null hypothesis if

29 EX Mine 1Mine The following random samples are measurements of the heat- producing capacity of specimens of coal from two mines Question: use the 0.01 level of significance to test where the difference between the means of these two samples is significant.

30 Solution 1. Null hypothesis: Alternative hypothesis 2. Level of significance: Criterion: Reject the null hypothesis if t > 3.25 or t< Calculation: 5. The null hypothesis must be rejected. 6. P-value: < level of significance 0.01

31 Calculate it in Minitab

32 Output Two-sample T for Mine 1 vs Mine 2 SE N Mean StDev Mean Mine Mine Difference = mu (Mine 1) - mu (Mine 2) Estimate for difference: % CI for difference: ( , ) T-Test of difference = 0 (vs not =): T-Value = 4.19 P-Value = 0.02 DF = 9

33 SE mean: (standard error of mean) is calculated by dividing the standard deviation by the square root of n. StDev: standard deviation.

34 Confidence interval 100(1-a)% confidence interval for Where is based on degrees of freedom.

35 CI for large sample

36 Matched pairs comparisons Question: Are the samples independent in the application of the two sample t test? For instance, the test cannot be used when we deal with “before and after” data, where the data are naturally paired. EX: A manufacturer is concerned about the loss of weight of ceramic parts during a baking step. Let the pair of random variables denote the weight before and weight after baking for the i -th specimen.

37 Statistical analysis Considering the difference This collection of differences is treated as random sample of size n from a population having mean : indicates the means of the two responses are the same Null hypothesis:

38 EX The following are the average weekly losses of worker-hours due to accidents in 10-industrial plants before and after a certain safety program was put into operation: Before After Question: Use the 0.05 level of significance to test whether the safety program is effective.

39 Solution 1. Null hypothesis: Alternative hypothesis 2. Level of significance: Criterion: Reject the null hypothesis if t > Calculation: 5. The null hypothesis must be rejected at level P-value: = < level of significance

40 Confidence interval A 90% confidence interval for the mean of a paired difference. Solution: since n=10 difference have the mean 5.2 and standard variance 4.08,

Design issues: Randomization and Pairing Randomization: of treatments prevents uncontrolled sources of variation from exerting a systematic influence on the response Pairing: according to some variable(s) thought to influence the response will remove the effect of that variable from analysis Randomizing the assignment of treatments within a pair helps prevent any other uncontrolled variables from influencing the responses in a systematic manner.