Hypothesis for Means and Proportions

Size: px
Start display at page:

Download "Hypothesis for Means and Proportions"

Transcription

1 November 14, 2012

2 Hypothesis Tests - Basic Ideas Often we are interested not in estimating an unknown parameter but in testing some claim or hypothesis concerning a population. For example we may wish to test a manufacturer s claim concerning the mean lifetime of a product, or test a claim that one drug is more effective than another in curing a disease. As with estimation, we will use sample data to test claims or hypotheses concerning population parameters. The general procedure for doing this is known as hypothesis testing.

3 Hypothesis Tests - Basic Ideas To illustrate the general idea let s consider an example. A manufacturer of AA batteries claims that the mean lifetime of their batteries is 800 hours. We wish to test this claim and decide whether to accept or reject it. In general, we set up a hypothesis test as follows: Formulate a null hypothesis H 0. In this case H 0 : µ = 800. Formulate an alternative hypothesis H 1. If we are only interested in whether the mean is equal to 800 or not equal to 800, we would choose H 1 : µ 800. This is a two-sided alternative. If we are testing a claim that the mean lifetime is at least 800 hours, then a one-sided alternative H 1 : µ < 800 is appropriate.

4 Hypothesis Tests - Basic Ideas Determine a decision procedure or criterion for rejecting the null hypothesis. For instance, we may choose a sample of 50 batteries and calculate the mean liftime, x of the batteries in the sample. We may decide that the null hypothesis is to be rejected if x < 790 or x > 810 (two-sided) or to reject H 0 if x < 790 (one-sided).

5 Hypothesis Tests - Basic Ideas We usually construct a decision criterion in the following way. First we choose a random sample and calculate a test statistic (such as X µ σ/ n ). We then determine critical values for this statistic from its sampling distribution. If the value of the test statistic lies outside a region determined by the critical values, then we reject the null hypothesis.

6 Type I and Type II Errors It is possible to make two different types of error in hypothesis testing. 1 We can reject a true null hypothesis - this is known as a Type I Error. 2 Alternatively we can fail to reject a false null hypothesis - this is known as a Type II Error. Decision H 0 True H 0 False Fail to reject H 0 No Error Type II Error Reject H 0 Type I Error No Error

7 Type I and II errors Example Recall our example of testing the claim about mean lifetimes of AA batteries. H 0 : µ = 800 H 1 : µ 800 Suppose we apply the decision procedure to reject H 0 if the mean of a random sample of size n = 40 lies in the critical region x > 810 or x < 790. If the standard deviation of the population is known to be σ = 22hours, what is the probability of a type I error?

8 Type I and II errors If the null hypothesis is true, then µ = 800 and the probability of making a type I error is given by P( X < 790) + P( X > 810) = P(Z < 22/ ) + P(Z > 40 22/ 40 ) = P(Z < 2.87) + P(Z > 2.87) =

9 Type I and II errors To calculate the probability of a type II error, we require a more specific alternative hypothesis. For instance, we can calculate the probability of a type II error in this example if the true mean is actually 808 hours. In this case, the probability of a type II error is P(790 X 810) = P( 22/ Z 40 22/ 40 ) = P( 5.17 Z 0.57) =

10 Type I and II errors The probability of making a type I error is usually referred to as the significance level of a test. Typically, we decide on the significance level of a test before determining the critical region. In fact, the general procedure for hypothesis testing is as follows: formulate the null and alternative hypotheses; specify a significance level α; choose a test statistic; use the sampling distribution of the test statistic to determine the critical region; calculate a value for the test statistic based on sample data and determine whether or not this lies in the critical region. If it does, then we reject H 0 ; if it does not, then we fail to reject H 0.

11 Large Sample Hypothesis Tests on the Mean We now consider the problem of testing hypotheses concerning the mean of a population. To begin with we consider large-sample tests. If the sample size is large and σ is known then to test the hypothesis H 0 : µ = µ 0, we use as a test statistic. Z 0 = X µ 0 σ/ n Z 0 follows a standard normal distribution.

12 Large Sample Tests on the Mean If we choose a significance level α, then our criterion for rejecting H 0 is: Z 0 > z α/2 or Z 0 < z α/2 if the test is two-sided - that is if the alternative hypothesis is H 1 : µ µ 0 ; Z 0 < z α if the test is one-sided and the alternative hypothesis H 1 : µ < µ 0 ; Z 0 > z α if the test is one-sided and the alternative hypothesis H 1 : µ > µ 0.

13 Large Sample Hypothesis Tests on the Mean Example A manufacturer of steel cables claims that the mean diameter of its cables is 2.2cm. To test this claim, a random sample of 35 cables from this manufacturer is selected and the mean diameter of the cables in the sample is 2.05cm. The standard deviation of the diameters of cables from this manufacturer is known to be 0.3cm. Perform a hypothesis test on the manufacturer s claim at both 5% and 1% levels of significance and state clearly your conclusions.

14 Large Sample Hypothesis Tests on the Mean 1 Null Hypothesis is H 0 : µ = Alternative Hypothesis is H 1 : µ Significance level is α = Test Statistic: X / Reject H 0 if Z 0 > 1.96 or Z 0 < The value of Z 0 is / 35 = As the value of the test statistic lies in the rejection region, we reject the manufacturer s claim at at 5% level of significance. The procedure for 1% level of significance is the same only the rejection region would be Z 0 < 2.58 or Z 0 > In the current example, we would also reject H 0 at the 1% level of significance.

15 Large Sample Hypothesis Tests on the Mean Example For safety reasons, it is important the the mean concentration of a chemical used in a make of cough syrup does not exceed 8mg/l. A random sample of 34 bottles of the syrup is selected and the mean concentration for the bottles in the sample is 8.25mg/l. From past experience it is known that the standard deviation of the concentrations of this chemical in bottles of the syrup is 0.9mg/l. Perform a hypothesis test at a significance level of 5% on whether or not this cough syrup conforms to safety requirements, stating your conclusions clearly.

16 Large Sample Hypothesis Tests on the Mean 1 Null Hypothesis is H 0 : µ = 8. 2 Alternative Hypothesis is H 1 : µ > 8. 3 Significance level is α = Test Statistic: 5 Reject H 0 if Z 0 > X 8 0.9/ The value of Z 0 is / 34 = As the value of the test statistic does not lie in the rejection region, we cannot reject the null hypothesis that the mean concentration does not exceed 8mg/l at a 5% level of significance.

17 One-tailed Tests - Comments It is always more difficult to reject a null hypothesis. Our choice of alternative hypothesis in one-tailed tests can influence our recommendations. In the above example, our choice of alternative hypothesis makes it difficult to conclude that the mean concentration exceeds 8mg/l. The previous example could also be approached in the following way.

18 1-tailed Tests - Comments We could test the null hypothesis H 0 : µ = 8 against the alternative hypothesis H 1 : µ < 8. In this case, the syrup is deemed unsafe unless we can reject the null hypothesis. For the above data we would be unable to reject this null hypothesis so we would deem the syrup unsafe if we took this approach. How we set up a one-tailed test influences our recommendations and is determined by where we wish the burden of proof to lie.

19 Small Sample Hypothesis Testing on the Mean - Two-tailed tests Consider the following situation. 1 We have a small sample (n < 30) with σ unknown. 2 The population being studied is normal. 3 We wish to test the hypothesis H 0 : µ = µ 0 against the alternative hypothesis H 1 : µ µ 0 at a significance level of α.

20 Small sample tests on the mean In this case, we use the test statistic t = X µ 0 S/ n which has a t-distribution with n 1 degrees of freedom. The critical values for this test are t n 1,α/2 and t n 1,α/2. 1 We calculate the sample mean x and the sample standard deviation s from our sample data and then compute the value of the test statistic: t 0 = x µ 0 s/ n. 2 If the value of t 0 > t n 1,α/2 or t 0 < t n 1,α/2 then we reject the null hypothesis. Otherwise we fail to reject the null hypothesis.

21 Small sample tests on the mean Example A manufacturer of ball bearings claims that the average mass of of their bearings is 35g. To test this claim, a random sample of 14 bearings is selected. The mean and standard deviation of the masses of the bearings in the sample were 35.8g and 1.7g respectively. Perform a hypothesis test on the manufacturer s claim at a 5% level of significance and explain your results.

22 Small sample tests on the mean 1 Null Hypothesis is H 0 : µ = Alternative Hypothesis is H 1 : µ Significance level is α = Test Statistic: t 0 = X / Reject H 0 if t 0 > t 13,0.025 = 2.16 or t 0 < t 13,0.025 = The value of t 0 is / 14 = As the value of the test statistic does not lie in the rejection region, we cannot reject the manufacturer s claim at a 5% level of significance.

23 Small Sample Hypothesis Testing on the Mean - One-tailed tests Consider the following situation. 1 We have a small sample (n < 30) with σ unknown. 2 The population being studied is normal. 3 We wish to test the hypothesis H 0 : µ = µ 0 against the alternative hypothesis H 1 : µ < µ 0 at a significance level of α. As above, we use the test statistic t = X µ 0 S/ n which has a t-distribution with n 1 degrees of freedom. The critical value for this test is t n 1,α.

24 Small sample 1-tailed tests on the mean 1 We calculate the sample mean x and the sample standard deviation s from our sample data and then compute the value of the test statistic: t 0 = x µ 0 s/ n. 2 If the value of t 0 < t n 1,α then we reject the null hypothesis. Otherwise we fail to reject the null hypothesis. If we wish to test the null hypothesis H 0 : µ = µ 0 against the alternative hypothesis H 1 : µ > µ 0 at a significance level of α, the procedure is largely the same. In this case we would reject the null hypothesis if t 0 > t n 1,α.

25 Small sample 1-tailed tests on the mean Example A producer of car windscreens wishes to test whether the mean thickness of their windscreens is at least 12mm. To do so, a random sample of 8 windscreens is selected. The thicknesses of the screens (in mm) in the sample are listed below: 11.6, 11.5, 12.3, 12.4, 12.2, 11.4, 12.3, Perform a hypothesis test on these data at a 5% level of significance and explain your conclusions.

26 Small sample 1-tailed tests on the mean 1 Null Hypothesis is H 0 : µ = Alternative Hypothesis is H 1 : µ < Significance level is α = From the sample data: x = , s = Test Statistic: t 0 = X / 8. 6 Reject H 0 if t 0 < t 7,0.05 = The value of t 0 is / 8 = As the value of the test statistic does not lie in the rejection region, we cannot reject the producer s claim at a 5% level of significance.

27 Hypothesis Tests on Proportions In many practical situations, we are interested in testing a claim about a population proportion. For instance, a manufacturer s claim concerning the proportion of their products that fail to meet some customer specification, or the claim of a drug company about the proportion of people for whom a treatment is effective. As usual we let p denote the proportion of successes in the population. As with hypothesis tests on the mean, tests on proportions can be one-sided or two-sided.

28 Two-tailed tests on proportions 1 We wish to test the hypothesis H 0 : p = p 0 against the alternative hypothesis H 1 : p p 0. 2 If ˆP denotes the sample proportion the appropriate test statistic is ˆP p 0 Z 0 = p0 (1 p 0 )/n which approximately follows a standard normal distribution. To test the hypothesis H 0 : p = p 0 against the alternative H 1 : p p 0, we proceed as follows.

29 Two-tailed tests on proportions 1 Decide on a significance level α. 2 Take a sample of size n and compute the sample proportion ˆp for the sample. 3 Compute the value of the test statistic z 0 = ˆp p 0 p0 (1 p 0 )/n 4 The critical values for the two-tailed test are z α/2 and z α/2. 5 If z 0 < z α/2 or z 0 > z α/2, we reject H 0. Otherwise we fail to reject H 0.

30 Two-tailed tests on proportions Example A government agency claims that the proportion of the population who have access to wireless broadband at home is 70%. To test this claim, a random sample of 500 people is selected and 370 of these had access to broadband at home. Test the agency s claim at a 5% level of significance and explain your conclusions clearly.

31 Two-tailed tests on proportions 1 Null Hypothesis is H 0 : p = Alternative Hypothesis is H 1 : p Significance level is α = From the sample data: ˆp = = Test Statistic: ˆp 0.7 Z 0 =. (0.7)(0.3)/500 6 Reject H 0 if Z 0 < z = 1.96 or Z 0 > z = The value of z 0 for our sample is = (0.7)(0.3)/500 8 As the value of the test statistic does not lie in the rejection region, we cannot reject the producer s claim at a 5% level of significance.

32 One-tailed tests on proportions 1 We wish to test the hypothesis H 0 : p = p 0 against the alternative hypothesis H 1 : p < p 0. 2 Decide on a significance level α. 3 Take a sample of size n and compute the sample proportion ˆp for the sample. 4 Compute the value of the test statistic z 0 = ˆp p 0 p0 (1 p 0 )/n 5 The critical value for the one-tailed test is z α. 6 If z 0 < z α, we reject H 0. Otherwise we fail to reject H 0.

33 1-tailed tests on proportions If we wish to test the null hypothesis H 0 : p = p 0 against the alternative hypothesis H 1 : p > p 0 at a significance level of α, the procedure is largely the same. In this case we would reject the null hypothesis if z 0 > z α. Example A manufacturer of automatic gearboxes claims that at most 5% of their products fail to meet the specifications required by a major customer. The customer tests this claim by choosing a random sample of 400 gearboxes from the manufacturer. 24 gearboxes in the sample failed to meet specifications. Perform a hypothesis test on the manufacturer s claim at a 5% level of significance and state your conclusions clearly.

34 1-tailed tests on proportions 1 Null Hypothesis is H 0 : p = Alternative Hypothesis is H 1 : p > Significance level is α = From the sample data: ˆp = = Test Statistic: Z 0 = ˆp 0.05 (0.05)(0.95)/ Reject H 0 if Z 0 > z 0.05 = The value of z 0 for our sample is = (0.05)(0.95)/400 8 As the value of the test statistic does not lie in the rejection region, we cannot reject the producer s claim at a 5% level of significance.

35 1-tailed tests on proportions As with one-tailed tests on the mean, the customer could demand that the evidence is more strongly on the side of the proportion of non-conforming gearboxes being less than In this case, we would choose the alternative hypothesis H 1 : p < 0.05 and only accept the manufacturer s claim if we can reject the null hypothesis. Clearly, in the above example we would not be able to reject the null hypothesis in this way so we would not accept the manufacturer s claim.

Inferences About Two Population Proportions

Inferences About Two Population Proportions Inferences About Two Population Proportions MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2018 Background Recall: for a single population the sampling proportion

More information

hypothesis a claim about the value of some parameter (like p)

hypothesis a claim about the value of some parameter (like p) Testing hypotheses hypothesis a claim about the value of some parameter (like p) significance test procedure to assess the strength of evidence provided by a sample of data against the claim of a hypothesized

More information

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING LECTURE 1 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING INTERVAL ESTIMATION Point estimation of : The inference is a guess of a single value as the value of. No accuracy associated with it. Interval estimation

More information

41.2. Tests Concerning a Single Sample. Introduction. Prerequisites. Learning Outcomes

41.2. Tests Concerning a Single Sample. Introduction. Prerequisites. Learning Outcomes Tests Concerning a Single Sample 41.2 Introduction This Section introduces you to the basic ideas of hypothesis testing in a non-mathematical way by using a problem solving approach to highlight the concepts

More information

Section 5.4: Hypothesis testing for μ

Section 5.4: Hypothesis testing for μ Section 5.4: Hypothesis testing for μ Possible claims or hypotheses: Ball bearings have μ = 1 cm Medicine decreases blood pressure For testing hypotheses, we set up a null (H 0 ) and alternative (H a )

More information

Econ 325: Introduction to Empirical Economics

Econ 325: Introduction to Empirical Economics Econ 325: Introduction to Empirical Economics Chapter 9 Hypothesis Testing: Single Population Ch. 9-1 9.1 What is a Hypothesis? A hypothesis is a claim (assumption) about a population parameter: population

More information

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains: CHAPTER 8 Test of Hypotheses Based on a Single Sample Hypothesis testing is the method that decide which of two contradictory claims about the parameter is correct. Here the parameters of interest are

More information

The Purpose of Hypothesis Testing

The Purpose of Hypothesis Testing Section 8 1A:! An Introduction to Hypothesis Testing The Purpose of Hypothesis Testing See s Candy states that a box of it s candy weighs 16 oz. They do not mean that every single box weights exactly 16

More information

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing STAT 515 fa 2016 Lec 20-21 Statistical inference - hypothesis testing Karl B. Gregory Wednesday, Oct 12th Contents 1 Statistical inference 1 1.1 Forms of the null and alternate hypothesis for µ and p....................

More information

Chapter 5: HYPOTHESIS TESTING

Chapter 5: HYPOTHESIS TESTING MATH411: Applied Statistics Dr. YU, Chi Wai Chapter 5: HYPOTHESIS TESTING 1 WHAT IS HYPOTHESIS TESTING? As its name indicates, it is about a test of hypothesis. To be more precise, we would first translate

More information

Tests about a population mean

Tests about a population mean October 2 nd, 2017 Overview Week 1 Week 2 Week 4 Week 7 Week 10 Week 12 Chapter 1: Descriptive statistics Chapter 6: Statistics and Sampling Distributions Chapter 7: Point Estimation Chapter 8: Confidence

More information

Mathematical statistics

Mathematical statistics November 1 st, 2018 Lecture 18: Tests about a population mean Overview 9.1 Hypotheses and test procedures test procedures errors in hypothesis testing significance level 9.2 Tests about a population mean

More information

280 CHAPTER 9 TESTS OF HYPOTHESES FOR A SINGLE SAMPLE Tests of Statistical Hypotheses

280 CHAPTER 9 TESTS OF HYPOTHESES FOR A SINGLE SAMPLE Tests of Statistical Hypotheses 280 CHAPTER 9 TESTS OF HYPOTHESES FOR A SINGLE SAMPLE 9-1.2 Tests of Statistical Hypotheses To illustrate the general concepts, consider the propellant burning rate problem introduced earlier. The null

More information

One- and Two-Sample Tests of Hypotheses

One- and Two-Sample Tests of Hypotheses One- and Two-Sample Tests of Hypotheses 1- Introduction and Definitions Often, the problem confronting the scientist or engineer is producing a conclusion about some scientific system. For example, a medical

More information

Hypothesis Testing. Week 04. Presented by : W. Rofianto

Hypothesis Testing. Week 04. Presented by : W. Rofianto Hypothesis Testing Week 04 Presented by : W. Rofianto Tests about a Population Mean: σ unknown Test Statistic t x 0 s / n This test statistic has a t distribution with n - 1 degrees of freedom. Example:

More information

Hypothesis testing for µ:

Hypothesis testing for µ: University of California, Los Angeles Department of Statistics Statistics 10 Elements of a hypothesis test: Hypothesis testing Instructor: Nicolas Christou 1. Null hypothesis, H 0 (always =). 2. Alternative

More information

CH.9 Tests of Hypotheses for a Single Sample

CH.9 Tests of Hypotheses for a Single Sample CH.9 Tests of Hypotheses for a Single Sample Hypotheses testing Tests on the mean of a normal distributionvariance known Tests on the mean of a normal distributionvariance unknown Tests on the variance

More information

Statistical Process Control (contd... )

Statistical Process Control (contd... ) Statistical Process Control (contd... ) ME522: Quality Engineering Vivek Kumar Mehta November 11, 2016 Note: This lecture is prepared with the help of material available online at https://onlinecourses.science.psu.edu/

More information

HYPOTHESIS TESTING. Hypothesis Testing

HYPOTHESIS TESTING. Hypothesis Testing MBA 605 Business Analytics Don Conant, PhD. HYPOTHESIS TESTING Hypothesis testing involves making inferences about the nature of the population on the basis of observations of a sample drawn from the population.

More information

Chapter 7: Hypothesis Testing

Chapter 7: Hypothesis Testing Chapter 7: Hypothesis Testing *Mathematical statistics with applications; Elsevier Academic Press, 2009 The elements of a statistical hypothesis 1. The null hypothesis, denoted by H 0, is usually the nullification

More information

CHAPTER 93 SIGNIFICANCE TESTING

CHAPTER 93 SIGNIFICANCE TESTING CHAPTER 93 SIGNIFICANCE TESTING EXERCISE 342 Page 981 1. Random samples of 1000 rings are drawn from the output of a machine periodically for inspection purposes. A defect rate of 5% is acceptable to the

More information

Homework Exercises. 1. You want to conduct a test of significance for p the population proportion.

Homework Exercises. 1. You want to conduct a test of significance for p the population proportion. Homework Exercises 1. You want to conduct a test of significance for p the population proportion. The test you will run is H 0 : p = 0.4 Ha: p > 0.4, n = 80. you decide that the critical value will be

More information

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV Theory of Engineering Experimentation Chapter IV. Decision Making for a Single Sample Chapter IV 1 4 1 Statistical Inference The field of statistical inference consists of those methods used to make decisions

More information

Chapter 7: Hypothesis Testing - Solutions

Chapter 7: Hypothesis Testing - Solutions Chapter 7: Hypothesis Testing - Solutions 7.1 Introduction to Hypothesis Testing The problem with applying the techniques learned in Chapter 5 is that typically, the population mean (µ) and standard deviation

More information

STAT Chapter 8: Hypothesis Tests

STAT Chapter 8: Hypothesis Tests STAT 515 -- Chapter 8: Hypothesis Tests CIs are possibly the most useful forms of inference because they give a range of reasonable values for a parameter. But sometimes we want to know whether one particular

More information

MEI STRUCTURED MATHEMATICS STATISTICS 2, S2. Practice Paper S2-B

MEI STRUCTURED MATHEMATICS STATISTICS 2, S2. Practice Paper S2-B MEI Mathematics in Education and Industry MEI STRUCTURED MATHEMATICS STATISTICS, S Practice Paper S-B Additional materials: Answer booklet/paper Graph paper MEI Examination formulae and tables (MF) TIME

More information

CHAPTER EIGHT TESTS OF HYPOTHESES

CHAPTER EIGHT TESTS OF HYPOTHESES 11/18/213 CAPTER EIGT TESTS OF YPOTESES (8.1) Definition: A statistical hypothesis is a statement concerning one population or more. 1 11/18/213 8.1.1 The Null and The Alternative ypotheses: The structure

More information

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc. Hypothesis Tests and Estimation for Population Variances 11-1 Learning Outcomes Outcome 1. Formulate and carry out hypothesis tests for a single population variance. Outcome 2. Develop and interpret confidence

More information

Hypotheses Test Procedures. Is the claim wrong?

Hypotheses Test Procedures. Is the claim wrong? Hypotheses Test Procedures MATH 2300 Sections 9.1 and 9.2 Is the claim wrong? An oil company representative claims that the average price for gasoline in Lubbock is $2.30 per gallon. You think the average

More information

Mathematical statistics

Mathematical statistics October 20 th, 2018 Lecture 17: Tests of Hypotheses Overview Week 1 Week 2 Week 4 Week 7 Week 10 Week 14 Probability reviews Chapter 6: Statistics and Sampling Distributions Chapter 7: Point Estimation

More information

EXAM 3 Math 1342 Elementary Statistics 6-7

EXAM 3 Math 1342 Elementary Statistics 6-7 EXAM 3 Math 1342 Elementary Statistics 6-7 Name Date ********************************************************************************************************************************************** MULTIPLE

More information

8.1-4 Test of Hypotheses Based on a Single Sample

8.1-4 Test of Hypotheses Based on a Single Sample 8.1-4 Test of Hypotheses Based on a Single Sample Example 1 (Example 8.6, p. 312) A manufacturer of sprinkler systems used for fire protection in office buildings claims that the true average system-activation

More information

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Lecture 9 Two-Sample Test Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Computer exam 1 18 Histogram 14 Frequency 9 5 0 75 83.33333333

More information

Hypothesis Testing: One Sample

Hypothesis Testing: One Sample Hypothesis Testing: One Sample ELEC 412 PROF. SIRIPONG POTISUK General Procedure Although the exact value of a parameter may be unknown, there is often some idea(s) or hypothesi(e)s about its true value

More information

1; (f) H 0 : = 55 db, H 1 : < 55.

1; (f) H 0 : = 55 db, H 1 : < 55. Reference: Chapter 8 of J. L. Devore s 8 th Edition By S. Maghsoodloo TESTING a STATISTICAL HYPOTHESIS A statistical hypothesis is an assumption about the frequency function(s) (i.e., pmf or pdf) of one

More information

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing Agenda Introduction to Estimation Point estimation Interval estimation Introduction to Hypothesis Testing Concepts en terminology

More information

Statistics 251: Statistical Methods

Statistics 251: Statistical Methods Statistics 251: Statistical Methods 1-sample Hypothesis Tests Module 9 2018 Introduction We have learned about estimating parameters by point estimation and interval estimation (specifically confidence

More information

The due date for this assignment is past. Your work can be viewed below, but no changes can be made.

The due date for this assignment is past. Your work can be viewed below, but no changes can be made. WebAssign Mirka Martinez Math 3680 Homework 7 Devore Fall 2013 (Homework) Applied Statistics, Math 3680-Fall 2013, section 2, Fall 2013 Instructor: John Quintanilla Current Score : 136.5 / 130 Due : Friday,

More information

CHAPTER 9: HYPOTHESIS TESTING

CHAPTER 9: HYPOTHESIS TESTING CHAPTER 9: HYPOTHESIS TESTING THE SECOND LAST EXAMPLE CLEARLY ILLUSTRATES THAT THERE IS ONE IMPORTANT ISSUE WE NEED TO EXPLORE: IS THERE (IN OUR TWO SAMPLES) SUFFICIENT STATISTICAL EVIDENCE TO CONCLUDE

More information

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter 8 Hypothesis Testing with Two Samples Copyright 2015, 2012, and 2009 Pearson Education, Inc 1 Two Sample Hypothesis Test Compares two parameters from two populations Sampling methods: Independent

More information

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses. 1 Review: Let X 1, X,..., X n denote n independent random variables sampled from some distribution might not be normal!) with mean µ) and standard deviation σ). Then X µ σ n In other words, X is approximately

More information

Two-Sample Inferential Statistics

Two-Sample Inferential Statistics The t Test for Two Independent Samples 1 Two-Sample Inferential Statistics In an experiment there are two or more conditions One condition is often called the control condition in which the treatment is

More information

Two Sample Hypothesis Tests

Two Sample Hypothesis Tests Note Packet #21 Two Sample Hypothesis Tests CEE 3710 November 13, 2017 Review Possible states of nature: H o and H a (Null vs. Alternative Hypothesis) Possible decisions: accept or reject Ho (rejecting

More information

Visual interpretation with normal approximation

Visual interpretation with normal approximation Visual interpretation with normal approximation H 0 is true: H 1 is true: p =0.06 25 33 Reject H 0 α =0.05 (Type I error rate) Fail to reject H 0 β =0.6468 (Type II error rate) 30 Accept H 1 Visual interpretation

More information

Chapter 9 Inferences from Two Samples

Chapter 9 Inferences from Two Samples Chapter 9 Inferences from Two Samples 9-1 Review and Preview 9-2 Two Proportions 9-3 Two Means: Independent Samples 9-4 Two Dependent Samples (Matched Pairs) 9-5 Two Variances or Standard Deviations Review

More information

Smoking Habits. Moderate Smokers Heavy Smokers Total. Hypertension No Hypertension Total

Smoking Habits. Moderate Smokers Heavy Smokers Total. Hypertension No Hypertension Total Math 3070. Treibergs Final Exam Name: December 7, 00. In an experiment to see how hypertension is related to smoking habits, the following data was taken on individuals. Test the hypothesis that the proportions

More information

Single Sample Means. SOCY601 Alan Neustadtl

Single Sample Means. SOCY601 Alan Neustadtl Single Sample Means SOCY601 Alan Neustadtl The Central Limit Theorem If we have a population measured by a variable with a mean µ and a standard deviation σ, and if all possible random samples of size

More information

Mathematical Statistics

Mathematical Statistics Mathematical Statistics MAS 713 Chapter 8 Previous lecture: 1 Bayesian Inference 2 Decision theory 3 Bayesian Vs. Frequentist 4 Loss functions 5 Conjugate priors Any questions? Mathematical Statistics

More information

The Components of a Statistical Hypothesis Testing Problem

The Components of a Statistical Hypothesis Testing Problem Statistical Inference: Recall from chapter 5 that statistical inference is the use of a subset of a population (the sample) to draw conclusions about the entire population. In chapter 5 we studied one

More information

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Partitioning the Parameter Space. Topic 18 Composite Hypotheses Topic 18 Composite Hypotheses Partitioning the Parameter Space 1 / 10 Outline Partitioning the Parameter Space 2 / 10 Partitioning the Parameter Space Simple hypotheses limit us to a decision between one

More information

Statistical Inference. Hypothesis Testing

Statistical Inference. Hypothesis Testing Statistical Inference Hypothesis Testing Previously, we introduced the point and interval estimation of an unknown parameter(s), say µ and σ 2. However, in practice, the problem confronting the scientist

More information

Hypothesis Testing. ECE 3530 Spring Antonio Paiva

Hypothesis Testing. ECE 3530 Spring Antonio Paiva Hypothesis Testing ECE 3530 Spring 2010 Antonio Paiva What is hypothesis testing? A statistical hypothesis is an assertion or conjecture concerning one or more populations. To prove that a hypothesis is

More information

Sampling, Confidence Interval and Hypothesis Testing

Sampling, Confidence Interval and Hypothesis Testing Sampling, Confidence Interval and Hypothesis Testing Christopher Grigoriou Executive MBA HEC Lausanne 2007-2008 1 Sampling : Careful with convenience samples! World War II: A statistical study to decide

More information

MA131 Lecture For a fixed sample size, α and β cannot be lowered simultaneously.

MA131 Lecture For a fixed sample size, α and β cannot be lowered simultaneously. Type I Error: α = P (H 0 is rejected H 0 is true). The value of α represents the significance level of the test. Type II Error: β = P (H 0 is not rejected H 0 is false). The value of 1 β is called the

More information

Chapter Six: Two Independent Samples Methods 1/51

Chapter Six: Two Independent Samples Methods 1/51 Chapter Six: Two Independent Samples Methods 1/51 6.3 Methods Related To Differences Between Proportions 2/51 Test For A Difference Between Proportions:Introduction Suppose a sampling distribution were

More information

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015 AMS7: WEEK 7. CLASS 1 More on Hypothesis Testing Monday May 11th, 2015 Testing a Claim about a Standard Deviation or a Variance We want to test claims about or 2 Example: Newborn babies from mothers taking

More information

1 Binomial Probability [15 points]

1 Binomial Probability [15 points] Economics 250 Assignment 2 (Due November 13, 2017, in class) i) You should do the assignment on your own, Not group work! ii) Submit the completed work in class on the due date. iii) Remember to include

More information

9-7: THE POWER OF A TEST

9-7: THE POWER OF A TEST CD9-1 9-7: THE POWER OF A TEST In the initial discussion of statistical hypothesis testing the two types of risks that are taken when decisions are made about population parameters based only on sample

More information

CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities:

CHAPTER 9, 10. Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities: CHAPTER 9, 10 Hypothesis Testing Similar to a courtroom trial. In trying a person for a crime, the jury needs to decide between one of two possibilities: The person is guilty. The person is innocent. To

More information

MTH U481 : SPRING 2009: PRACTICE PROBLEMS FOR FINAL

MTH U481 : SPRING 2009: PRACTICE PROBLEMS FOR FINAL MTH U481 : SPRING 2009: PRACTICE PROBLEMS FOR FINAL 1). Two urns are provided as follows: urn 1 contains 2 white chips and 4 red chips, while urn 2 contains 5 white chips and 3 red chips. One chip is chosen

More information

Quantitative Methods for Economics, Finance and Management (A86050 F86050)

Quantitative Methods for Economics, Finance and Management (A86050 F86050) Quantitative Methods for Economics, Finance and Management (A86050 F86050) Matteo Manera matteo.manera@unimib.it Marzio Galeotti marzio.galeotti@unimi.it 1 This material is taken and adapted from Guy Judge

More information

Chapter 9. Hypothesis testing. 9.1 Introduction

Chapter 9. Hypothesis testing. 9.1 Introduction Chapter 9 Hypothesis testing 9.1 Introduction Confidence intervals are one of the two most common types of statistical inference. Use them when our goal is to estimate a population parameter. The second

More information

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions Part 1: Probability Distributions Purposes of Data Analysis True Distributions or Relationships in the Earths System Probability Distribution Normal Distribution Student-t Distribution Chi Square Distribution

More information

Hypotheses Testing. 1-Single Mean

Hypotheses Testing. 1-Single Mean Hypotheses Testing 1-Single Mean ( if σ known ): ( if σ unknown ): 68 Question 1: Suppose that we are interested in estimating the true average time in seconds it takes an adult to open a new type of tamper-resistant

More information

MAT2377. Rafa l Kulik. Version 2015/November/23. Rafa l Kulik

MAT2377. Rafa l Kulik. Version 2015/November/23. Rafa l Kulik MAT2377 Rafa l Kulik Version 2015/November/23 Rafa l Kulik Rafa l Kulik 1 Rafa l Kulik 2 Rafa l Kulik 3 Rafa l Kulik 4 The Z-test Test on the mean of a normal distribution, σ known Suppose X 1,..., X n

More information

Hypothesis Testing Problem. TMS-062: Lecture 5 Hypotheses Testing. Alternative Hypotheses. Test Statistic

Hypothesis Testing Problem. TMS-062: Lecture 5 Hypotheses Testing. Alternative Hypotheses. Test Statistic Hypothesis Testing Problem TMS-062: Lecture 5 Hypotheses Testing Same basic situation as befe: Data: random i. i. d. sample X 1,..., X n from a population and we wish to draw inference about unknown population

More information

Confidence intervals and Hypothesis testing

Confidence intervals and Hypothesis testing Confidence intervals and Hypothesis testing Confidence intervals offer a convenient way of testing hypothesis (all three forms). Procedure 1. Identify the parameter of interest.. Specify the significance

More information

First we look at some terms to be used in this section.

First we look at some terms to be used in this section. 8 Hypothesis Testing 8.1 Introduction MATH1015 Biostatistics Week 8 In Chapter 7, we ve studied the estimation of parameters, point or interval estimates. The construction of CI relies on the sampling

More information

their contents. If the sample mean is 15.2 oz. and the sample standard deviation is 0.50 oz., find the 95% confidence interval of the true mean.

their contents. If the sample mean is 15.2 oz. and the sample standard deviation is 0.50 oz., find the 95% confidence interval of the true mean. Math 1342 Exam 3-Review Chapters 7-9 HCCS **************************************************************************************** Name Date **********************************************************************************************

More information

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1 Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 9 1 This the last day the class meets before spring break starts. Please make sure to be present for the test or make appropriate

More information

Inference About Two Means: Independent Samples

Inference About Two Means: Independent Samples Inference About Two Means: Independent Samples MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2017 Motivation Suppose we wish to study the mean absorption in muscle

More information

Relating Graph to Matlab

Relating Graph to Matlab There are two related course documents on the web Probability and Statistics Review -should be read by people without statistics background and it is helpful as a review for those with prior statistics

More information

INTERVAL ESTIMATION AND HYPOTHESES TESTING

INTERVAL ESTIMATION AND HYPOTHESES TESTING INTERVAL ESTIMATION AND HYPOTHESES TESTING 1. IDEA An interval rather than a point estimate is often of interest. Confidence intervals are thus important in empirical work. To construct interval estimates,

More information

Problem Set 4 - Solutions

Problem Set 4 - Solutions Problem Set 4 - Solutions Econ-310, Spring 004 8. a. If we wish to test the research hypothesis that the mean GHQ score for all unemployed men exceeds 10, we test: H 0 : µ 10 H a : µ > 10 This is a one-tailed

More information

Chapter 8 of Devore , H 1 :

Chapter 8 of Devore , H 1 : Chapter 8 of Devore TESTING A STATISTICAL HYPOTHESIS Maghsoodloo A statistical hypothesis is an assumption about the frequency function(s) (i.e., PDF or pdf) of one or more random variables. Stated in

More information

In any hypothesis testing problem, there are two contradictory hypotheses under consideration.

In any hypothesis testing problem, there are two contradictory hypotheses under consideration. 8.1 Hypotheses and Test Procedures: A hypothesis One example of a hypothesis is p =.5, if we are testing if a new formula for a soda is preferred to the old formula (p=.5 assumes that they are preferred

More information

Probability and Statistics Notes

Probability and Statistics Notes Probability and Statistics Notes Chapter Seven Jesse Crawford Department of Mathematics Tarleton State University Spring 2011 (Tarleton State University) Chapter Seven Notes Spring 2011 1 / 42 Outline

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests 1999 Prentice-Hall, Inc. Chap. 8-1 Chapter Topics Hypothesis Testing Methodology Z Test

More information

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between 7.2 One-Sample Correlation ( = a) Introduction Correlation analysis measures the strength and direction of association between variables. In this chapter we will test whether the population correlation

More information

Chapter 3 Multiple Regression Complete Example

Chapter 3 Multiple Regression Complete Example Department of Quantitative Methods & Information Systems ECON 504 Chapter 3 Multiple Regression Complete Example Spring 2013 Dr. Mohammad Zainal Review Goals After completing this lecture, you should be

More information

PSY 305. Module 3. Page Title. Introduction to Hypothesis Testing Z-tests. Five steps in hypothesis testing

PSY 305. Module 3. Page Title. Introduction to Hypothesis Testing Z-tests. Five steps in hypothesis testing Page Title PSY 305 Module 3 Introduction to Hypothesis Testing Z-tests Five steps in hypothesis testing State the research and null hypothesis Determine characteristics of comparison distribution Five

More information

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies The t-test: So Far: Sampling distribution benefit is that even if the original population is not normal, a sampling distribution based on this population will be normal (for sample size > 30). Benefit

More information

Chi-Squared Tests. Semester 1. Chi-Squared Tests

Chi-Squared Tests. Semester 1. Chi-Squared Tests Semester 1 Goodness of Fit Up to now, we have tested hypotheses concerning the values of population parameters such as the population mean or proportion. We have not considered testing hypotheses about

More information

The Student s t Distribution

The Student s t Distribution The Student s t Distribution What do we do if (a) we don t know σ and (b) n is small? If the population of interest is normally distributed, we can use the Student s t-distribution in place of the standard

More information

10.4 Hypothesis Testing: Two Independent Samples Proportion

10.4 Hypothesis Testing: Two Independent Samples Proportion 10.4 Hypothesis Testing: Two Independent Samples Proportion Example 3: Smoking cigarettes has been known to cause cancer and other ailments. One politician believes that a higher tax should be imposed

More information

Hypothesis tests

Hypothesis tests 6.1 6.4 Hypothesis tests Prof. Tesler Math 186 February 26, 2014 Prof. Tesler 6.1 6.4 Hypothesis tests Math 186 / February 26, 2014 1 / 41 6.1 6.2 Intro to hypothesis tests and decision rules Hypothesis

More information

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers Statistical Inference Greg C Elvers 1 Why Use Statistical Inference Whenever we collect data, we want our results to be true for the entire population and not just the sample that we used But our sample

More information

MAT 2377C FINAL EXAM PRACTICE

MAT 2377C FINAL EXAM PRACTICE Department of Mathematics and Statistics University of Ottawa MAT 2377C FINAL EXAM PRACTICE 10 December 2015 Professor: Rafal Kulik Time: 180 minutes Student Number: Family Name: First Name: This is a

More information

example: An observation X comes from a normal distribution with

example: An observation X comes from a normal distribution with Hypothesis test A statistical hypothesis is a statement about the population parameter(s) or distribution. null hypothesis H 0 : prior belief statement. alternative hypothesis H a : a statement that contradicts

More information

Introduction to Statistics

Introduction to Statistics MTH4106 Introduction to Statistics Notes 15 Spring 2013 Testing hypotheses about the mean Earlier, we saw how to test hypotheses about a proportion, using properties of the Binomial distribution It is

More information

16.3 One-Way ANOVA: The Procedure

16.3 One-Way ANOVA: The Procedure 16.3 One-Way ANOVA: The Procedure Tom Lewis Fall Term 2009 Tom Lewis () 16.3 One-Way ANOVA: The Procedure Fall Term 2009 1 / 10 Outline 1 The background 2 Computing formulas 3 The ANOVA Identity 4 Tom

More information

9-6. Testing the difference between proportions /20

9-6. Testing the difference between proportions /20 9-6 Testing the difference between proportions 1 Homework Discussion Question p514 Ex 9-6 p514 2, 3, 4, 7, 9, 11 (use both the critical value and p-value for all problems. 2 Objective Perform hypothesis

More information

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12,

ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12, ECO220Y Hypothesis Testing: Type I and Type II Errors and Power Readings: Chapter 12, 12.7-12.9 Winter 2012 Lecture 15 (Winter 2011) Estimation Lecture 15 1 / 25 Linking Two Approaches to Hypothesis Testing

More information

Exam 2 (KEY) July 20, 2009

Exam 2 (KEY) July 20, 2009 STAT 2300 Business Statistics/Summer 2009, Section 002 Exam 2 (KEY) July 20, 2009 Name: USU A#: Score: /225 Directions: This exam consists of six (6) questions, assessing material learned within Modules

More information

(8 One- and Two-Sample Test Of Hypothesis)

(8 One- and Two-Sample Test Of Hypothesis) 324 Stat Lecture Notes (8 One- and Two-Sample Test Of ypothesis) ( Book*: Chapter 1,pg319) Probability& Statistics for Engineers & Scientists By Walpole, Myers, Myers, Ye Definition: A statistical hypothesis

More information

Introduction to Business Statistics QM 220 Chapter 12

Introduction to Business Statistics QM 220 Chapter 12 Department of Quantitative Methods & Information Systems Introduction to Business Statistics QM 220 Chapter 12 Dr. Mohammad Zainal 12.1 The F distribution We already covered this topic in Ch. 10 QM-220,

More information

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59) GOALS: 1. Understand that 2 approaches of hypothesis testing exist: classical or critical value, and p value. We will use the p value approach. 2. Understand the critical value for the classical approach

More information

CBA4 is live in practice mode this week exam mode from Saturday!

CBA4 is live in practice mode this week exam mode from Saturday! Announcements CBA4 is live in practice mode this week exam mode from Saturday! Material covered: Confidence intervals (both cases) 1 sample hypothesis tests (both cases) Hypothesis tests for 2 means as

More information

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α Chapter 8 Notes Section 8-1 Independent and Dependent Samples Independent samples have no relation to each other. An example would be comparing the costs of vacationing in Florida to the cost of vacationing

More information

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings

BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings BIO5312 Biostatistics Lecture 6: Statistical hypothesis testings Yujin Chung October 4th, 2016 Fall 2016 Yujin Chung Lec6: Statistical hypothesis testings Fall 2016 1/30 Previous Two types of statistical

More information