Statistics 03 Hypothesis Testing ( 假设检验 ). When we have two sets of data and we want to know whether there is any statistically significant difference.

Slides:



Advertisements
Similar presentations
Hypothesis testing Another judgment method of sampling data.
Advertisements

Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Chapter 9 Hypothesis Testing.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 6 Chicago School of Professional Psychology.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to 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.
Statistical hypothesis testing – Inferential statistics I.
Review of normal distribution. Exercise Solution.
Choosing Statistical Procedures
Confidence Intervals and Hypothesis Testing - II
HYPOTHESIS TEST 假设检验. Instruction In this chapter you will learn how to formulate hypotheses about a population mean and a population proportion. Through.
Descriptive statistics Inferential statistics
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Hypothesis Testing.
Jump to first page HYPOTHESIS TESTING The use of sample data to make a decision either to accept or to reject a statement about a parameter value or about.
Chapter 8 Hypothesis Testing (假设检验)
Fundamentals of Hypothesis Testing: One-Sample Tests
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Fundamentals of Data Analysis Lecture 4 Testing of statistical hypotheses.
The Probability of a Type II Error and the Power of the Test
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 10 Hypothesis Testing
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Individual values of X Frequency How many individuals   Distribution of a population.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
Revision of basic statistics Hypothesis testing Principles Testing a proportion Testing a mean Testing the difference between two means Estimation.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Hypothesis Testing and the T Test. First: Lets Remember Z Scores So: you received a 75 on a test. How did you do? If I said the mean was 72 what do you.
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,
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Fundamentals of Data Analysis Lecture 4 Testing of statistical hypotheses pt.1.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Prof. Robert Martin Southeastern Louisiana University.
Introduction to Hypothesis Testing. Hypothesis Testing The general goal of a hypothesis test is to rule out chance (sampling error) as a plausible explanation.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
9.3 Hypothesis Tests for Population Proportions
Parameter Estimation.
Hypothesis Testing: One Sample Cases
P-values.
Math 4030 – 9b Introduction to Hypothesis Testing
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Statistical Inference for the Mean Confidence Interval
Statistical inference
Hypothesis Testing.
CHAPTER 12 Inference for Proportions
Statistical inference
Presentation transcript:

Statistics 03 Hypothesis Testing ( 假设检验 )

When we have two sets of data and we want to know whether there is any statistically significant difference between them, we can use hypothesis testing.

Principles of hypothesis testing Small probability event: Something that is very unlikely to take place When something is a small probability event, we usually take it as false. When a small probability event takes place, we take it as true. e.g. Win a lottery

Null hypothesis As a procedure in hypothesis testing, we usually have to establish a null hypothesis, a hypothesis that there is no significant variability between the two sets of data compared. H 0 : μ=μ 0 Underlying principle: the variability is caused by random errors. Therefore small probability events do not take place.

Hypothesis

Alternative hypothesis We need to establish a second hypothesis: alternative hypothesis as an opposite to the null hypothesis. H 1 : μ≠μ 0 In the alternative hypothesis, the small probability event takes place. The variability between the two sets of data compared is no longer caused by random errors. It is the result of systematic difference.

Case: Comparison of means Class A has been given a special kind of instruction. We want to know the effect of this methodology. Class A took the same test as the other students. We got the data as follows: Class A mean: 72 n: 45 The other classes mean: 69 s: 5

Analysis Class A: a sample with a mean μ=72 The others: the population where the sample is taken with the mean μ 0 =69 The special methodology should have brought about some systematic effect on Class A. Such an effect is not a small probability event. Therefore Null hypothesis: no significant difference between Class A and the other classes in spite of the special teaching methodology. i.e. H 0 : μ=μ 0 Alternative hypothesis: difference is significant. i.e. H 1 : μ≠μ 0

Computation 1. Establish the null hypothesis and the alternative hypothesis H 0 : μ=μ 0 H 1 : μ≠μ 0 2. Calculate the Z value |Z|=|(μ-μ 0 )/ (σ 0 /√n)| 3. Look up in the Normal Distribution Table for Z α, usually Z α/2=0.025 = Compare |Z| and Z α/2 If |Z| > Z α/2, reject H 0 If |Z| <= Z α/2, accept H 0

Computation |Z|=|(μ-μ 0 )/ (σ 0 /√n)| =|(72-69)/(5/√45)| =3/(5/6.71) =3/0.745 =4.027 |Z| > Z α/2=0.025 =1.96 Reject H 0

Another Case An experiment on reading comprehension was done on two groups of students: an advanced class with 63 students and a normal class with 67 students. The investigator obtained the following data: Advanced class M: s: n: 56 Normal class M: s: n: 59

Question Is there any statistically significant difference between the two groups at the 95% confidence level?

Analysis The advanced class is taken as a sample from a population represented by the normal class. The advanced students are supposed to possess a higher level of reading comprehension which can make systematic difference from average students. Therefore null hypothesis H 0 : μ=μ 0 alternative hypothesis H 1 : μ≠μ 0

Computation |Z|=|(μ-μ 0 )/ (σ 0 /√n)| =|( )/( /√56)| =3/(5/6.71) =3/0.745 =4.027 |Z| > Z α/2=0.025 =1.96 Reject H 0

One Tailed vs. Two Tailed When we ask: Is A different from B, we need a two tailed test.

One Tailed vs. Two Tailed When we ask: is A better or worse than B, we need a one tailed test.