Daniela Stan Raicu School of CTI, DePaul University

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
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.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
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.
Statistical Thinking What Is a Test of Significance?
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Ch. 9 Fundamental of Hypothesis Testing
Inference about Population Parameters: Hypothesis Testing
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Fundamentals of Hypothesis Testing: One-Sample Tests
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Apr. 8 Stat 100. To do Read Chapter 21, try problems 1-6 Skim Chapter 22.
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:
Chapter 8 Introduction to Hypothesis Testing
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Introduction to Probability and Statistics Thirteenth Edition Chapter 9 Large-Sample Tests of Hypotheses.
BPS - 5th Ed. Chapter 191 Inference about a Population Proportion.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Testing of Hypothesis Fundamentals of Hypothesis.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Rejecting Chance – Testing Hypotheses in Research Thought Questions 1. Want to test a claim about the proportion of a population who have a certain trait.
Copyright © 2011 Pearson Education, Inc. Putting Statistics to Work.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
1 If we live with a deep sense of gratitude, our life will be greatly embellished.
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Module 10 Hypothesis Tests for One Population Mean
9.3 Hypothesis Tests for Population Proportions
Unit 5 – Chapters 10 and 12 What happens if we don’t know the values of population parameters like and ? Can we estimate their values somehow?
Section Testing a Proportion
What Is a Test of Significance?
FINAL EXAMINATION STUDY MATERIAL III
Unit 5: Hypothesis Testing
Essential Statistics Inference about a Population Proportion
Statistics for Managers using Excel 3rd Edition
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Section 8.2 Day 4.
Basic Practice of Statistics - 3rd Edition
Week 11 Chapter 17. Testing Hypotheses about Proportions
Daniela Stan Raicu School of CTI, DePaul University
Testing Hypotheses about Proportions
Daniela Stan Raicu School of CTI, DePaul University
Daniela Stan Raicu School of CTI, DePaul University
Daniela Stan Raicu School of CTI, DePaul University
Statistical Inference
Essential Statistics Introduction to Inference
Daniela Stan Raicu School of CTI, DePaul University
Significance Tests: The Basics
Daniela Stan Raicu School of CTI, DePaul University
Chapter 9 Hypothesis Testing: Single Population
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Essential Statistics Inference about a Population Proportion
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Presentation transcript:

Daniela Stan Raicu School of CTI, DePaul University CSC 323 Quarter: Winter 02/03 Daniela Stan Raicu School of CTI, DePaul University 12/7/2018 Daniela Stan - CSC323

Outline Introduction to tests of significance (Section 6.2) Five Steps of Hypothesis Testing P-values and Statistical Significance Tests of significance for proportions Decision Errors Power of a Test 12/7/2018 Daniela Stan - CSC323

Introduction to Inference Statistical inference provides methods to draw conclusions from sample data. Statistical inference uses the language of probability to say how trust worthy its conclusions are. When we use statistical inference, we assume that: Data come from a random sample or a randomized experiment We study two types of statistical inference: Confidence intervals for estimating the value of a population parameter Tests of significance which asses the evidence for a claim 12/7/2018 Daniela Stan - CSC323

Tests of Significance Example 1: In the courtroom, juries must make a decision about the guilt or innocence of a defendant. Suppose you are on the jury in a murder trial. It is obviously a mistake if the jury claims the suspect is guilty when in fact he or she is innocent. What is the other type of mistake the jury could make? Which is more serious? 12/7/2018 Daniela Stan - CSC323

Tests of Significance Example 2: Suppose exactly half, or 0.50, of a certain population would answer yes when asked if they support the death penalty. A random sample of 400 people results in 220, or 0.55, who answer yes. The Rule for Sample Proportions tells us that the potential sample proportions in this situation are approximately bell-shaped, with standard deviation of 0.025. Find the standardized score for the observed value of 0.55. Then determine how often you would expect to see a standardized score at least that large or larger. 12/7/2018 Daniela Stan - CSC323

2.27% Tests of Significance Example 2: (cont.) n = 400 mean = 0.50 STD=0.025 2.27% 0.500 0.525 0.475 0.550 0.450 0.575 0.425 12/7/2018 Daniela Stan - CSC323

The Five Steps of Hypothesis Testing 1. Determining the Two Hypotheses: H0, Ha 2. Computing the Sampling Distribution 3. Collecting and Summarizing the Data (calculating the observed test statistic) 4. Determining How Unlikely the Test Statistic is if the Null Hypothesis is True (calculating the P-value) 5. Making a Decision/Conclusion (based on the P-value, is the result statistically significant?) 12/7/2018 Daniela Stan - CSC323

1.A. The Null Hypothesis: H0 population parameter equals some value no relationship no change no difference in two groups, etc. When performing a hypothesis test, we assume that the null hypothesis is true until we have sufficient evidence against it. 1. B. The Alternative Hypothesis: Ha population parameter differs from some value relationship exists a change occurred two groups are different, etc. 12/7/2018 Daniela Stan - CSC323

The Hypotheses for Proportions Null: H0: p=p0 One sided alternatives Ha: p>p0 Ha: p<p0 Two sided alternative Ha: p =p0 12/7/2018 Daniela Stan - CSC323

Example: Parental Discipline Nationwide random telephone survey of 1,250 adults. 474 respondents had children under 18 living at home results on behavior based on the smaller sample reported margin of error 3% for the full sample 5% for the smaller sample Results of the study “The 1994 survey marks the first time a majority of parents reported not having physically disciplined their children in the previous year. Figures over the past six years show a steady decline in physical punishment, from a peak of 64 percent in 1988” The 1994 sample proportion who did not spank or hit was 51% ! Is this evidence that a majority of the population did not spank or hit? 12/7/2018 Daniela Stan - CSC323

Case Study: The Hypotheses Null: The proportion of parents who physically disciplined their children in the previous year is the same as the proportion p of parents who did not physically discipline their children. [H0: p=.5] Alt: A majority of parents did not physically discipline their children in the previous year. [Ha: p>.5] 2. Sampling Distributions of p If numerous samples or repetitions of size n are taken, the sampling distribution of the sample proportions from various samples will be approximately normal with mean equal to p (the population proportion) and standard deviation equal to Since we assume the null hypothesis is true, we replace p with p0 to complete the test. 12/7/2018 Daniela Stan - CSC323

3. Test Statistic for Proportions To determine if the observed proportion is unlikely to have occurred under the assumption that H0 is true, we must first convert the observed value to a standardized score: Case study: Based on the sample n=474 (large, so proportions follow normal distribution) no physical discipline (.50 is p0 from the null hypothesis) standardized score (test statistic) z = (0.51 - 0.50) / 0.023 = 0.43 12/7/2018 Daniela Stan - CSC323

4. P-value The P-value is the probability of observing data this extreme or more so in a sample of this size, assuming that the null hypothesis is true. A small P-value indicates that the observed data (or relationship) is unlikely to have occurred if the null hypothesis were actually true. The P-value tends to be small when there is evidence in the data against the null hypothesis. 12/7/2018 Daniela Stan - CSC323

P-value for Testing Proportions Ha: p>p0 P-value is the probability of getting a value as large or larger than the observed test statistic (z) value. Ha: p<p0 P-value is the probability of getting a value as small or smaller than the observed test statistic (z) value. Ha: p=p0 P-value is two times the probability of getting a value as large or larger than the absolute value of the observed test statistic (z) value. 12/7/2018 Daniela Stan - CSC323

P-value = 0.3446 Case Study: P-value z=0.43 0.500 0.523 0.477 0.546 0.454 0.569 0.431 1 -1 2 -2 3 -3 z: From the normal distribution table (Table B), z=0.4 is the 65.54th percentile. 12/7/2018 Daniela Stan - CSC323

Typical Cut-off for the P-value 5. Decision If we think the P-value is too low to believe the observed test statistic is obtained by chance only, then we would reject chance (reject the null hypothesis) and conclude that a statistically significant relationship exists (accept the alternative hypothesis). Otherwise, we fail to reject chance and do not reject the null hypothesis of no relationship (result not statistically significant). Typical Cut-off for the P-value Commonly, P-values less than 0.05 are considered to be small enough to reject chance. Some researchers use 0.10 or 0.01 as the cut-off instead of 0.05. This “cut-off” value is typically referred to as the significance level  of the test 12/7/2018 Daniela Stan - CSC323

Decision Errors: Type I If we decide there is a relationship in the population (reject null hypothesis) This is an incorrect decision only if the null hypothesis is true. The probability of this incorrect decision is equal to the cut-off () for the P-value. If the null hypothesis is true and the cut-off is 0.05 There really is no relationship and the extremity of the test statistic is due to chance. About 5% of all samples from this population will lead us to wrongly reject chance. 12/7/2018 Daniela Stan - CSC323

Decision Errors: Type II If we decide not to reject chance and thus allow for the plausibility of the null hypothesis This is an incorrect decision only if the alternative hypothesis is true. The probability of this incorrect decision depends on the magnitude of the true relationship, the sample size, the cut-off for the P-value. 12/7/2018 Daniela Stan - CSC323

Power of a Test This is the probability that the sample we collect will lead us to reject the null hypothesis when the alternative hypothesis is true. The power is larger for larger departures of the alternative hypothesis from the null hypothesis (magnitude of difference) The power may be increased by increasing the sample size. 12/7/2018 Daniela Stan - CSC323

Case Study: Decision Since the P-value (.3446) is not small, we cannot reject chance as the reason for the difference between the observed proportion (0.51) and the (null) hypothesized proportion (0.50). We do not find the result to be statistically significant. We fail to reject the null hypothesis. It is plausible that there was not a majority (over 50%) of parents who refrained from using physical discipline. 12/7/2018 Daniela Stan - CSC323