June 19, 2008Stat 111 - Lecture 12 - Testing 21 Introduction to Inference More on Hypothesis Tests Statistics 111 - Lecture 12.

Slides:



Advertisements
Similar presentations
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Advertisements

Inference Sampling distributions Hypothesis testing.
INFERENCE: SIGNIFICANCE TESTS ABOUT HYPOTHESES Chapter 9.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Confidence Interval and Hypothesis Testing for:
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
8 - 10: Intro to Statistical Inference
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Inferences about two proportions Assumptions 1.We have proportions from two simple random samples that are independent (not paired) 2.For both samples,
Chapter 9 Hypothesis Testing.
June 23, 2008Stat Lecture 13 - One Mean1 Inference for a Population Mean Confidence Intervals and Tests with unknown variance and Two- sample Tests.
Confidence Intervals and Hypothesis Testing - II
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Claims about a Population Mean when σ is Known Objective: test a claim.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
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 9 Hypothesis Testing and Estimation for Two Population Parameters.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Section 8-4 Testing a Claim About a Mean:  Known Created by.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
June 25, 2008Stat Lecture 14 - Two Means1 Comparing Means from Two Samples Statistics 111 – Lecture 14 One-Sample Inference for Proportions and.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
CHAPTER 16: Inference in Practice ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
Significance Test A claim is made. Is the claim true? Is the claim false?
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:
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
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.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
Math 4030 – 9a Introduction to Hypothesis Testing
Logic and Vocabulary of Hypothesis Tests Chapter 13.
AP Statistics Section 11.1 B More on Significance Tests.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
CHAPTER 16: Inference in Practice ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
© Copyright McGraw-Hill 2004
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Inference ConceptsSlide #1 1-sample Z-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is known – n is “large” (so.
Tests of Significance: The Basics ESS chapter 15 © 2013 W.H. Freeman and Company.
+ Unit 6: Comparing Two Populations or Groups Section 10.2 Comparing Two Means.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
More on Inference.
Testing Hypotheses about a Population Proportion
Comparing Means from Two Samples
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Testing a Claim About a Mean:  Known
Section 11.2: Carrying Out Significance Tests
More on Inference.
Testing Hypotheses about a Population Proportion
Section 11.1: Significance Tests: Basics
Statistical Inference for the Mean: t-test
Testing a Claim About a Mean:  Known
Presentation transcript:

June 19, 2008Stat Lecture 12 - Testing 21 Introduction to Inference More on Hypothesis Tests Statistics Lecture 12

June 19, 2008Stat Lecture 12 - Testing 22 Administrative Notes Homework 4 now posted on website and will be due Wednesday, June 24 th

June 19, 2008Stat Lecture 12 - Testing 23 Outline Review of Confidence Intervals Review of Hypothesis Tests Tests versus confidence intervals More Examples Cautions about Hypothesis Tests

June 19, 2008Stat Lecture 12 - Testing 24 Review: Confidence Intervals We used the sample mean as our best estimate of the population mean , but we realized that our sample mean will vary between different samples Our solution was to use our sample mean as the center of an entire confidence interval of likely values for our population mean  95% confidence intervals are most common, but we can calculate an interval for any desired level of confidence

June 19, 2008Stat Lecture 12 - Testing 25 Review: Hypothesis Testing We want to see whether our data confirm a specific hypothesis Example: NYC Blackout Baby Boom Data is births per day from two weeks in August 1966 Test against usual birth rate in NYC (430 births/day) 1.Formulate your hypotheses: Need a Null Hypothesis and an Alternative Hypothesis 2.Calculate the test statistic: Test statistic summarizes the difference between data and your null hypothesis 3.Find the p-value for the test statistic: How probable is your data if the null hypothesis is true?

June 19, 2008Stat Lecture 12 - Testing 26 Null and Alternative Hypotheses Null Hypothesis (H 0 ): no effect or no change in the population Alternative hypothesis (H a ): real difference or real change in the population If there is a large discrepancy between data and null hypothesis, then we will reject the null hypothesis NYC dataset:  = mean birth rate in Aug Null hypothesis is that blackout has no effect on birth rate, so August 1966 should be the same as any other month H 0 :  = 430 (usual birth rate for NYC) H a :   430

June 19, 2008Stat Lecture 12 - Testing 27 Test Statistic The test statistic measures the difference between the observed data and the null hypothesis “How many standard deviations is our observed sample value from the hypothesized value?” For our birth rate dataset, the observed sample mean is and our hypothesized mean is 430 Assume population variance  = sample variance s

June 19, 2008Stat Lecture 12 - Testing 28 p-value p-value is the probability that we observed such an extreme sample value if our null hypothesis is true If null hypothesis is true, then test statistic T follows a standard normal distribution If our alternative hypothesis was one-sided (H a :  >430), then our p-value would be Since are alternative hypothesis was two-sided our p- value is the sum of both tail probabilities (0.734) T = prob = T =

June 19, 2008Stat Lecture 12 - Testing 29 Statistical Significance Is test statistic T=0.342 statistically significant? If the p-value is smaller than , we say the difference is statistically significant at level  The  -level is also used as a threshold for rejecting the null hypothesis (most common  = 0.05) If the p-value < , we reject the null hypothesis that there is no change or difference The p-value = for the NYC data, so we can not reject the null hypothesis at  -level of 0.05 Difference between null hypothesis and our data is not statistically significant Data do not support the idea that there was a different birth rate than usual for the first two weeks of August, 1966

June 19, 2008Stat Lecture 12 - Testing 210 Tests and Intervals There is a close connection between confidence intervals and two-sided hypothesis tests 100·C % confidence interval is contains likely values for a population parameter, like the pop. mean  Interval is centered around sample mean Width of interval is a multiple of A  -level hypothesis test rejects the null hypothesis that  =  0 if the test statistic T has a p-value less than 

June 19, 2008Stat Lecture 12 - Testing 211 Tests and Intervals If our confidence level C is equal to 1 -  where  is the level of the hypothesis test, then we have the following connection between tests and intervals: A two-sided hypothesis test rejects the null hypothesis (  =  0 ) if our hypothesized value  0 falls outside the confidence interval for  So, if we have already calculated a confidence interval for , then we can test any hypothesized value  0 just by whether or not  0 is in the interval!

June 19, 2008Stat Lecture 12 - Testing 212 Example: NYC blackout baby boom Births per day from two weeks in August 1966 Difference between our sample mean and the population mean  0 = 430 had a p-value of 0.734, so we did not reject the null hypothesis at  -level of 0.05 We could have also calculated a 100·(1-  ) % = 95 % confidence interval: Since our hypothesized  0 = 430 is within our interval of likely values, we do not reject the null hypothesis. If hypothesis was  0 = 410, then we would reject it!

June 19, 2008Stat Lecture 12 - Testing 213 Another Example: Calcium in the Diet Calcium most abundant element in body, and one of the most important. Recommended daily allowance (RDA) for adults is 850 mg/day Random sample of 18 people below poverty level: Does the data support claim that people below the poverty level have a different calcium intake from RDA?

June 19, 2008Stat Lecture 12 - Testing 214 Hypothesis Test for Calcium Let  be the mean calcium intake for people below the poverty line Null hypothesis is that calcium intake for people below poverty line is not different from RDA:  0 = 850 mg/day Two-sided alternative hypothesis:  0  850 mg/day To calculate test statistic, we need to know the population standard deviation of daily calcium intake. From previous study, we know σ = 188 mg Need p-value: if  0 = 850, what is the probability we get a sample mean as extreme (or more) than 747 ?

June 19, 2008Stat Lecture 12 - Testing 215 p-value for Calcium We have two-sided alternative, so p-value includes standard normal probabilities on both sides: Looking up probability in table, we see that the two- sided p-value is = 0.02 Since the p-value is less than 0.05, we can reject the null hypothesis Conclusion: people below the poverty line have significantly (at a  =0.05 level) lower calcium intake than the RDA T = 2.32 prob = T = -2.32

June 19, 2008Stat Lecture 12 - Testing 216 Alternatively, we calculate a confidence interval for the calcium intake of people below poverty line Use confidence level 100·C = 100·(1-  ) = 95% 95% confidence level means critical value Z * =1.96 Since our hypothesized value  0 = 850 mg is not in the 95% confidence interval, we can reject that hypothesis right away! Confidence Interval for Calcium

June 19, 2008Stat Lecture 12 - Testing 217 Cautions about Hypothesis Tests Statistical significance does not necessarily mean real significance If sample size is large, even very small differences can have a low p-value Lack of significance does not necessarily mean that the null hypothesis is true If sample size is small, there could be a real difference, but we are not able to detect it Many assumptions went into our hypothesis tests Presence of outliers, low sample sizes, etc. make our assumptions less realistic We will try to address some of these problems next class

June 19, 2008Stat Lecture 12 - Testing 218 Next Class - Lecture 13 Inference for Population Means Moore, McCabe and Craig: Section 7.1