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.

Slides:



Advertisements
Similar presentations
Tables and Non Parametric Tests Lecture 5 Non-normal Data Log-normal data Transform Data Compare the means of the transformed (normal) data Binomial.
Advertisements

Hypotheses Testing. Example 1 We have tossed a coin 50 times and we got k = 19 heads Should we accept/reject the hypothesis that p = 0.5 (the coin is.
Likelihood ratio tests
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.
Statistics 201 – Lecture 23. Confidence Intervals Re-cap 1.Estimate the population mean with sample mean Know sample mean is unbiased estimator for 
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.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
T-Tests Lecture: Nov. 6, 2002.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
TESTING HYPOTHESES FOR A SINGLE SAMPLE
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
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.
© 2002 Thomson / South-Western Slide 9-1 Chapter 9 Hypothesis Testing with Single Samples.
Descriptive statistics Inferential statistics
Hypothesis Testing.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Claims about a Population Mean when σ is Known Objective: test a claim.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Means Tests Hypothesis Testing Assumptions Testing (Normality)
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
The Probability of a Type II Error and the Power of the Test
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 for Proportions
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.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
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.
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.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
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 Lecture 3. Examples of various hypotheses Average salary in Copenhagen is larger than in Bælum Sodium content in Furresøen is equal.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
© 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.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Hypothesis Testing and Statistical Significance
Tests of hypothesis Statistical hypothesis definition: A statistical hypothesis is an assertion or conjecture on or more population.
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)
Review and Preview and Basics of Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Hypothesis Testing: Preliminaries
Hypothesis Testing II: The Two-sample Case
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Statistical inference
St. Edward’s University
Hypothesis Tests for Proportions
Statistical Inference for Managers
Slides by JOHN LOUCKS St. Edward’s University.
CHAPTER 6 Statistical Inference & Hypothesis Testing
Power Section 9.7.
Statistical inference
Presentation transcript:

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 in Madamsø The proportion of Turks in Aalborg is x % Proportion of Turks in Århus is the same as in Aalborg Average height of men in Sweden is the same as in Denmark

Basics Null hypothesis Alternative hypothesis Type I errors: Rejecting falsely Type II errors: Accepting falsely

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

Critical Region Assume We want to test if the sodium content 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.4 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.4 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 … Are 3.8 in the 95% CI ? Accept the hypothesis (mean = 3.8) on a 5% significance level That’s the same!!