Random Thoughts 2012 (COMP 066) Jan-Michael Frahm Jared Heinly source: fivethirtyeight.com.

Slides:



Advertisements
Similar presentations
Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
Advertisements

Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
1. Estimation ESTIMATION.
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
ProportionMisc.Grab BagRatiosIntro.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
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.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
8-2 Basics of Hypothesis Testing
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.
Section 7-2 Hypothesis Testing for the Mean (n  30)
Hypothesis Testing: Two Sample Test for Means and Proportions
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing with Two Samples
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
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.
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
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
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.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Individual values of X Frequency How many individuals   Distribution of a population.
One-Sample Tests of Hypothesis
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
"Kind words can be short and easy to speak, but their echoes are truly endless“ - Mother Teresa.
One-Sample Tests of Hypothesis. Hypothesis and Hypothesis Testing HYPOTHESIS A statement about the value of a population parameter developed for the purpose.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Hypothesis Testing State the hypotheses. Formulate an analysis plan. Analyze sample data. Interpret the results.
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.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population 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.
Introduction to Hypothesis Testing
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
The Idea of the Statistical Test. A statistical test evaluates the "fit" of a hypothesis to a sample.
Welcome to MM207 Unit 7 Seminar Dr. Bob Hypothesis Testing and Excel 1.
Populations and Samples Hypothesis Testing Example.
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.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
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.
Confidence Intervals and Hypothesis Tests Week 5.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Hypothesis Testing Concepts of Hypothesis Testing Statistical hypotheses – statements about population parameters Examples mean weight of adult.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
9.3 Hypothesis Tests for Population Proportions
P-values.
Section 8.2 Day 4.
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing.
Hypothesis Testing for Proportions
Presentation transcript:

Random Thoughts 2012 (COMP 066) Jan-Michael Frahm Jared Heinly source: fivethirtyeight.com

Election Polls Virginia at 8:30 pm was 58% Romney and 41% Obama with 12% of the polls in That is a poll of 971, 000 people Why did Obama win it now? 2

Election Polls Why is Florida still not having a projected winner? Why does Ohio already have a projected winner with the same percentage of polls in? 3

Statistic of Support for Candidates USAToday: “Romney leads in states with most American cars”  eight of the top 10 states for registration of new american build cars are Romney supporters  two others are Swing states (Iowa & Michigan)  In fact the next four states are also Romney supporters  Obama has solid support for 9 of the 10 states with the most foreign registrations Is this statement true? How do we compute if its true? 4

Hypothesis Testing What we want is to test a hypothesis H 0 Hypothesis is usually a number to characterize a population  percentage of cancer in population  average size of a person in the US  …. In hypothesis testing we also need an alternative hypothesis that we pick to make a statement if H 0 is rejected 5

Alternative Hypothesis Alternative Hypothesis H a  selected to support the rejection statement  typical choices:  H a < H 0 is less is the desired statement if H 0 is rejected  H a <> H 0 is different is the desired statement if H 0 is rejected (H 0 is false)  H a < H 0 is larger is the desired statement if H 0 is rejected  H a often called research hypothesis How to select what is H 0 and what is H a ?  H 0 is typically the statement you want to verify  H 0 is typically assumed to be true unless there is strong evidence its wrong (similar to jury trial) 6

Find a Sample to Test Hypothesis Select a sample of size N to test the hypothesis  all rules of good samples apply that we have seen before for polls.  sample size still is influencing your certainty of the decision/estimate Compute the desired value  e.g. average height of males) What does that value tell us?  its only the characteristic of our sample set  we will need to extract its characteristics for the hypothesis evidence 7

Standardizing the Sample Value Convert to standard score (probability of the result) 1.Take out the Null Hypothesis H 0 (value from sample – H 0 )  if small this indicates you are close to H 0, if far H 0 is less likely 2.divide by standard error of the statistic s  this normalizes the distance to equalize close and far in 1) to what the deviation of the value is. What distance is good to reject or not reject? 8

How to reject H 0 Previous normalization brings value into standard value distribution  called Z-distribution or Normal distribution Test for value being likely or unlikely given the distribution  if within likely region keep H 0  if unlikely reject H 0 9

Z-Distribution (Normal distribution) 10

How to reject H 0 Previous normalization brings value into standard value distribution  called Z-distribution or Normal distribution Test for value being likely or unlikely given the distribution  if within likely region keep H 0  if unlikely reject H 0 Note that if the value is not rejected that does not mean its accepted either! Only means there is not enough evidence to reject 11

Finding the Likelihood Value is called p value Can be looked up in reference tables EXCEL: v p NORM.S.DIST(value.TRUE) For alternative hypothesis being:  less than p=v p  not equal p=2 v p  larger than p = 1- v p 12

Interpreting p-value set your cutoff called α (e.g. α = 0.05) if the p-value is:  less than 0.01 result is considered highly statistically significant reject null hypothesis  if between α and 0.01 (not close to α) result is statistically significant reject null hypothesis  if close to α result is marginally statistically significant either way is fine for rejection or not rejection  if greater than α don’t reject Always ask for p-value and α to make up your own mind 13

Testing for Proportion of Population Again for proportions we need to test differently 1.Compute proportion of population that is positive  regular percentage calculation 2.Subtract proportion that is claimed 3.Calculate standard error 4.divide step 2 by the standard error 14

Statistic of Support for Candidates USAToday: “Romney leads in states with most American cars”  eight of the top 10 states for registration of new american build cars are Romney supporters  two others are Swing states (Iowa & Michigan)  In fact the next four states are also Romney supporters  Obama has solid support for 9 of the 10 states with the most foreign registrations Is this statement true? How do we compute if its true? 15

Small Samples Use t-distribution 16

T-distribution 17 source: Wikipedia

Small Samples Use t-distribution Accounts for the sample size Value can be found in tables Excel: T.DIST 18

Errors Error Type 1: Wrong rejection Error Type 2: Missed rejection 19