Hypothesis Testing Lecture 3. Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum Sodium content in Furresøen is equal.

Slides:



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

Tables and Non Parametric Tests Lecture 5 Non-normal Data Log-normal data Transform Data Compare the means of the transformed (normal) data Binomial.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Statistical Techniques I EXST7005 Lets go Power and Types of Errors.
Likelihood ratio tests
AP Statistics – Chapter 9 Test Review
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Hypothesis Testing Lecture 4. Examples of various hypotheses The sodium content in Furresøen is x Sodium content in Furresøen is equal to the content.
IEEM 3201 One and Two-Sample Tests of Hypotheses.
Two Sample Problems Lecture 4. Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum H 0 : μ C ≥ μ B. H A : μ C < μ B. Sodium.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
T-Tests Lecture: Nov. 6, 2002.
TESTING HYPOTHESES FOR A SINGLE SAMPLE
5-3 Inference on the Means of Two Populations, Variances Unknown
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Descriptive statistics Inferential statistics
Hypothesis Testing.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Overview Basics of Hypothesis Testing
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.
Hypothesis Testing with ONE Sample
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Inferential Statistics 2 Maarten Buis January 11, 2006.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
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.
Elementary statistics for foresters Lecture 5 Socrates/Erasmus WAU Spring semester 2005/2006.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
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.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
Chapter Seven Hypothesis Testing with ONE Sample.
Introduction to hypothesis testing Hypothesis testing is about making decisions Is a hypothesis true or false? Ex. Are women paid less, on average, than.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Statistical Techniques
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
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.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Hypothesis Testing and Statistical Significance
Prof. Robert Martin Southeastern Louisiana University.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Jacek Wallusch _________________________________ Statistics for International Business Lecture 10: Introduction to Hypothesis Testing.
Review and Preview and Basics of Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Hypothesis Testing: Preliminaries
CONCEPTS OF HYPOTHESIS TESTING
Statistical inference
St. Edward’s University
Statistical Inference for Managers
Slides by JOHN LOUCKS St. Edward’s University.
Statistical inference
Presentation transcript:

Hypothesis Testing Lecture 3

Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum Sodium content in Furresøen is equal to the content in Madamsø Proportion of Turks in Århus is the same as in Aalborg Average height of men in Sweden is the same as in Denmark The average temperature is increasing over time

Formulation of hypothesis Assume we are interested in a parameter Θ (e.g. the mean of the data). Let Θ 0 be a number. There are three different kinds of hypotheses: H 0 : Θ = Θ 0 H 0 : Θ ≥ Θ 0 H 0 : Θ ≤ Θ H A : Θ ≠ Θ 0 H A : Θ Θ 0 H 0 is called the null hypothesis. H A is called the alternative hypothesis.

Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum H 0 : μ C ≥ μ B. H A : μ C < μ B. Sodium content in Furresøen is equal to the content in Madamsø H 0 : μ F = μ M. H A : μ F ≠ μ M. Proportion of Turks in Århus is the same as in Aalborg H 0 : P Å = P A. H A : P Å ≠ P A. Average height of men in Sweden is the same as in Denmark H 0 : μ S = μ D. H A : μ S ≠ μ D. The average temperature is increasing over time H 0 : μ time 1 ≥ μ time 2. H A : μ time 1 < μ time 2 if time 1 ≥ time 2.

COMPARE SMALL DIFFERENCE BIG DIFFERENCEE NOT EQUAL MEANS EQUAL MEANS NORMAL DISTRIBUTION (average height in Sweden and Denmark)

BINOMIAL DISTRIBUTION (Proportion of Turks in Århus and Aalborg) BIG OR NOT?

The Test Procedure Formulate a HYPOTHESIS!

Numerically bigger than Does the data support the hypothesis or not?

Types of errors Type I error: Rejecting falsely. Type II error: Accepting falsely. DecisionH 0 is trueH 0 is false Reject H 0 Type I errorNo error Accept H 0 No errorType II error Ideally we would like a test where it is difficult to make errors.

Unfortunately If you make a test where it is difficult to make a Type I error it is easy to make a Type II error and the other way around

Level of significance So we want to construct a way to decide to ACCEPT or REJECT the hypothesis based on data in a way such that

This sounds really technical!!! Hmm I don’t like this at all!

Critical Region Assume We want to test if the sodium contest here is approx 3.8 units We have data y 1, …, y n We have calculated average and SE. Support that content is 3.8 Support that content is < 3.8 Support that content is > 3.8

What do we know? If the content is 3.8 then the average is normally distributed with mean 3.8 With probability of 95% is the average less than 2*SE from 3.8 If the true content is 3.8 then the average is in the red area with prob 5%

Test: The hypothesis is that the true content is 3.8 Estimate mean and SE. The critical region is If the average is in the critical area then reject the hypothesis else accept Significance level Prob(Type I error) = 5 %

Alternative approach Can we give a number telling us to what extend the observations support the hypothesis? Yes, of course! Why do you think I asked? Hmmm Supports hypothesis Here we should definitely reject

If the true content is 3.8 then and Assume that we observe an average of 3.8 and SE = 0.1 Then what?

What is the probability of observing this??? 95% of data sets will have an average in this area (mean +/- 2 SE) Assume we obtain an average of 3.8 and standard error SE = 0.1 and the true concentration is 3.8

P-value

Summing Up A Statistical test can be 1.On a 5% significance level 2.By calculating the p-value

Hypothesis about the Mean 1.Is the concentration 3.8? 2.Is the proprotion of Turks in Århus 7.5% Normal Distribution Binomial Distribution

Sodium 1.Are data normal? 2.Estimate average and standard error 3.Calculate 4.Is t bigger than 2 (numerically)? OR 5.Calculate p-value

Turks 1.Are data binomial? 2.Calculate proportion p and standard error 3.Calculate 4.Is t bigger than 2 (numerically)?

Last slide before the end Are 3.8 in the 95% CI ? Accept the hypothesis (mean = 3.8) on a 5% significance level That’s the same!!

The End