Probability & Statistical Inference Lecture 6

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
AM Recitation 2/10/11.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Hypothesis testing is used to make decisions concerning the value of a parameter.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 9 Hypothesis Testing: Single Population
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Chapter 10 Hypothesis Testing
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
Statistical Inference
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
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.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
© Copyright McGraw-Hill 2004
Chapter 8 Hypothesis Testing (假设检验)
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
One Sample Inf-1 In statistical testing, we use deductive reasoning to specify what should happen if the conjecture or null hypothesis is true. A study.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter Nine Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Hypothesis Testing: Hypotheses
Introduction to Inference
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
Chapter 9 Hypothesis Testing.
Introduction to Inference
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Confidence Intervals.
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)

Lecture Outline

Hypothesis Testing Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental methods used at the data analysis stage of a comparative experiment, in which the experimenter is interested, for example, in comparing the mean of a population to a specified value.

Example For example, suppose that we are interested in the burning rate of a solid propellant used to power aircrew escape systems. Now burning rate is a random variable that can be described by a probability distribution. Suppose that our interest focuses on the mean burning rate (a parameter of this distribution). Specifically, we are interested in deciding whether or not the mean burning rate is 50 centimeters per second.

Judicial Analogy Significance Level Hypothesis Collect Evidence Decision Rule

Judicial Analogy A defendant is put on trial. They are suspected of being guilty of crime. Determine the null hypothesis H0 and the alternative hypothesis H1. The null hypothesis is what you assume to be true when you start your analysis. It is the logical opposite of what you are tying to prove. In the judicial analogy: H0: The defendant is innocent H1: The defendant is guilty

Judicial Analogy You select a significance level. In the judicial example it is the amount of evidence needed to convict. In a court of law there must be enough evidence to convict ‘beyond a reasonable doubt’. You collect evidence. You use the decision rule to make a judgement. If the evidence is sufficiently strong, reject the null hypothesis. The defendant is proven guilty not strong enough, do not reject the null hypothesis.

Coin Example You suspect that a coin is not fair and set out to prove that it is not fair H0: The coin is fair H1: The coin is not fair Significance level: If you observe more than 8 head or tails coin tosses out of ten you conclude the coin is not fair otherwise you state that there is not enough evidence Toss the coin ten times and count the number of heads and tails You evaluate the data using your decision rule that there is Enough evidence to reject the assumption that the coin is fair Not enough evidence to reject the assumption that the coin is fair

Example Tests of Statistical Hypotheses Decision criteria for testing H0: = 50 centimeters per second versus H1:  50 centimeters per second.

Some Definitions There is a chance you could be wrong!

Errors in Hypothesis Tests Actual Decision H0 H1 Correct Type II Error Type I error Sometimes the type I error probability is called the significance level, or the -error, or the size of the test

Errors in Hypothesis Tests β = P(type II error) = P(fail to reject H0 when H0 is false) The power is computed as 1 - β, and power can be interpreted as the probability of correctly rejecting a false null hypothesis. We often compare statistical tests by comparing their power properties. For example, consider the propellant burning rate problem when we are testing H 0 : m = 50 centimeters per second against H 1 : m not equal 50 centimeters per second . Suppose that the true value of the mean is m = 52. When n = 10, we found that b = 0.2643, so the power of this test is 1 - b = 1 - 0.2643 = 0.7357 when m = 52.

Which Hypothesis is of interest Suppose you have a question about the quantity of cereal is a box of cornflakes. You can use one of three types of test: A two tail test if you suspect the true mean is different rather than claimed. An upper-tail test if you suspect the true mean is higher than claimed A lower-tailed test if you suspect that that the true mean is lower than claimed.

Critical Regions Two tail test: Upper tail test Lower tail test

General Steps in Hypotheses testing From the problem context, identify the parameter of interest. State the null hypothesis, H0 . Specify an appropriate alternative hypothesis, H1. Choose a significance level, . Determine an appropriate test statistic. State the rejection region for the statistic. Compute any necessary sample quantities, substitute these into the equation for the test statistic, and compute that value. Decide whether or not H0 should be rejected and report that in the problem context.

Tests on the Mean of a Normal Dist, σ Known Hypothesis Tests on the Mean We wish to test: The test statistic is:

Tests on the Mean of a Normal Dist, σ Known Reject H0 if the observed value of the test statistic z0 is either: z0 > z/2 or z0 < -z/2 Fail to reject H0 if -z/2 < z0 < z/2

Example

Example We can solve this problem by using the 8 steps as follows:

Example

Recap Assumptions The population variance σ is known. The sample means are normally distributed. (Invoke the CLT)

Exercises The life in hours of a battery is known to be approximately normally distributed with a standard deviation σ=1.25 hours. A random sample of 40 batteries has a mean life of hours. Is there evidence to support that battery life exceeds 40.5 hours? Use α=0.05. The mean water temperature downstream from a power plant cooling tower discharge pipe should be no more than 38oC. Past experience has indicated the standard deviation of the temperature is 1.1o. The water temperature measured on 35 randomly chosen days and the average temperature is found to be 37oC. Is there evidence that the water temperature is acceptable at α=0.05.

Hypothesis Tests on the Mean, σ2 unknown

Two tail test: Upper tail test Lower tail test

Example

Example The sample mean and the standard deviation and s = 0.02456. The normal probability plot of the data on the next slides supports the assumption that the sample means come from a normal distribution. Use the 8 steps to test that the mean coefficient of restitution exceeds 0.82

Normal probability plot Normal probability plot of the coefficient of restitution data from the example.

Example

Exercise An article in a journal describes a study of thermal inertia properties of autoclaved aerated concrete used as building material. Five samples of the material was tested in a structure, and the average interior temperate (oC) reported were as follows: 23.01, 22.22, 22.04, 22.62 and 22.59. Test the hypotheses H0: µ=22.5 versus H1: µ≠22.5 using α=0.05 Consider this computer output: How many degrees of freedom are there on the t-test statistic Fill in the missing quantaties Test the hypotheses H0: µ=34.5 versus H1: µ≠34.5 using α=0.05 Variable N Mean StDev SE Mean 95%CI t X 16 35.274 1.783 ? (34,324,36.224)

Tests on a Population Proportion Large-Sample Tests on a Proportion An appropriate test statistic is

Tests on a Population Proportion