Chapter 9 Tests of Hypothesis

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Statistics and Quantitative Analysis U4320
Chapter 7: Statistical Applications in Traffic Engineering
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Lecture 4 Chapter 11 wrap-up
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Chapter 2 Simple Comparative Experiments
Chapter 11: Inference for Distributions
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
Statistical Inference for Two Samples
AM Recitation 2/10/11.
Experimental Statistics - week 2
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
II.Simple Regression B. Hypothesis Testing Calculate t-ratios and confidence intervals for b 1 and b 2. Test the significance of b 1 and b 2 with: T-ratios.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
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.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
More About Significance Tests
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
Statistical Intervals for a Single Sample Chapter 8 continues Chapter 8B ENM 500 students reacting to yet another day of this.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Chapter 8 Parameter Estimates and Hypothesis Testing.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
© Copyright McGraw-Hill 2004
Inferences Concerning Variances
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Chapter 9 Inferences Based on Two Samples: Confidence Intervals and Tests of Hypothesis.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 14 Single-Population Estimation. Population Statistics Population Statistics:  , usually unknown Using Sample Statistics to estimate population.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
Interval Estimation and Hypothesis Testing
Presentation transcript:

Chapter 9 Tests of Hypothesis Single Sample Tests The Middle Game – applications to the real world Chapter 9B

Recall? If Z1, Z2, ..., Zn are independent standard normal random variables, then chi-square distribution with n degrees freedom t-distribution with n degrees freedom F-distribution with n degrees freedom in the numerator and m degrees of freedom in the denominator

9-3 Tests on the Mean of a Normal Distribution, Variance Unknown One-Sample t-Test

9-3.1 Hypothesis Tests on the Mean Figure 9-9 The reference distribution for H0:  = 0 with critical region for (a) H1:   0 , (b) H1:  > 0, and (c) H1:  < 0.

Tests on the mean - variance unknown Peter Perk is concerned about the amount of caffeine in his pop (soft drink). It appears that his midday soda is keeping him awake during the boring statistics lectures. The label on the can states that it contains only 20 mg of caffeine. Peter Perk doesn’t believe this. A random sample and testing of 25 cans of soda resulted in the following caffeine levels: Test at a 2 percent level of significance. H0:  = 20 H1:  > 20

The t-test One can of soda contains: About 10 teaspoons of sugar 150 calories 30-55 mg of caffeine Artificial food colors and sulphites

The Prob-Value H0:  = 20 H1:  > 20 conclusion: Peter should be able to sleep during the boring lectures.

Non-Central t Distribution – a Small Complication If the alternative hypothesis is true, the statistic T0 does not have a mean of zero. It has what is called the non-central t distribution. Many of the operations performed for the central t must now be done using numerical techniques, e.g. integrating the non-central t distribution. No sweat for us. The results we need are tabulated – we need the O.C. curves! estimated noncentrality parameter

Non-Central t Distribution – a Small Complication O.C. curves relate b, n, and d, where d=|m-m0|/s. and b is the Type II error probability. Since variance is unknown, estimate s – either from previous experiments where we measured s, or after the current measurement set is collected. Alternatively we can think of d as a certain number of standard deviations (if a relative measure is satisfactory).

O.C. Curves for t-test two-sided t-test with  = .05

More on Peter Perk’s Pop If the actual caffeine level is 22 mg per can, what is the probability of not rejecting at the 5 percent level (i.e. the probability of a Type II error)? d = |22-20|/5 = .4 n = 25 Pr{do not reject|  = 22}  .5

9-4.1 Hypothesis Test on the Variance

9-4.1 Hypothesis Test on the Variance

More on Variance Tests

Much more on Variance Tests

A Variance Test Example Professor Vera Vance asserts that the variability of the IQ’s among the Engineering Management (ENM) students is significantly less than for the population at large. It is well know that the distribution of IQ’s is normal with a mean of 100 and a standard deviation of 15. Thirty ENM students were forced to take an exhaustive IQ test in which the sample standard deviation was computed to be 12.78. Professor Vance is willing to test her assertion at the 10 percent level.

Add a little variance to your life H0: 2 = 152 H1: 2 < 152 Professor Vera Vance lecturing the students on their excessive variability.

Prob-value and so much more… 9-4.2 Type II Error and Choice of Sample Size: Operating characteristic curves are provided in Charts VIIi through VIIn

O.C. Curves for Variance

More sugar? Problem 9-75 milligrams2

Problem 9-75 P-Value

Problem 9-75 Confidence Interval

Problem 9-75 Assume 2 = 40 what sample size to detect difference with prob = .9? This is the O.C. graphic for alpha = .01

9-5.1 Large-Sample Tests on a Proportion Many engineering decision problems include hypothesis testing about p. An appropriate test statistic is

9-5 Tests on a Population Proportion Another form of the test statistic Z0 is or the sample proportion

Test on a Proportion - Example A cable news commentator has asserted that more than half the population believe that the United States should not have taken military action against Iraq. Test this assertion at the 5 percent level. CBS News Poll. Sept. 14-16, 2007. N=706 adults nationwide. MoE ± 4 (for all adults). "Looking back, do you think the United States did the right thing in taking military action against Iraq, or should the U.S. have stayed out?" Right Thing Stayed Out Unsure   % 9/14-16/07 39 53 8

An Example Continued H0: p  .5 H1: p > .5  = .05

9-5.2 Type II Error and Choice of Sample Size For a two-sided alternative where p is the true value If the alternative is p < p0 If the alternative is p > p0

Type II Error H0: p  .5 H1: p > .5  = .05

9-5.3 Type II Error and Choice of Sample Size For a two-sided alternative For a one-sided alternative

Sample Size Calculations H0: p  .5 H1: p > .5  = .01, =.05 when p = .55

Goodness-of-fit (GOF) Tests Testing for the distribution of the underlying population

9-7 The Chi-Square GOF Test Assume there is a sample of size n from a population whose probability distribution is unknown. Let Oi be the observed frequency in the ith class interval. Let Ei be the expected frequency in the ith class interval. The test statistic is chi-square with df = k – p – 1 where p = number of estimated parameters

Example 9-12

More of Example 9-12

Much More of Example 9-12

Still Example 9-12

Yes, Example 9-12

The last of Example 9-12

How to do it with two samples! Next Week – Chapter 10 How to do it with two samples!