MPA 630: Data Science for Public Management November 15, 2018

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.
Presumption of Innocence Reasonable Doubt Burden of Proof Guilty -Proven Beyond a Reasonable Doubt Not Guilty -Probably Guilty -Possibly Guilty -Maybe.
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Inference Sampling distributions Hypothesis testing.
Last Time (Sampling &) Estimation Confidence Intervals Started 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.
INFERENCE: SIGNIFICANCE TESTS ABOUT HYPOTHESES Chapter 9.
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Significance Tests About
AP Statistics – Chapter 9 Test Review
Section 9.2: What is a Test of Significance?. Remember… H o is the Null Hypothesis ▫When you are using a mathematical statement, the null hypothesis uses.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Testing Hypotheses About Proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Hypothesis Testing for Proportions
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
Chapter 20 Testing hypotheses about proportions
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Hypothesis Testing – A Primer. Null and Alternative Hypotheses in Inferential Statistics Null hypothesis: The default position that there is no relationship.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
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.
Hypothesis Testing. “Not Guilty” In criminal proceedings in U.S. courts the defendant is presumed innocent until proven guilty and the prosecutor must.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
HYPOTHESIS TESTING E. Çiğdem Kaspar, Ph.D, Assist. Prof. Yeditepe University, Faculty of Medicine Biostatistics.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Statistics 20 Testing Hypothesis and Proportions.
Two main tasks in inferential statistics: (revisited) 1)Estimation : Use data to infer population parameter  e.g., estimate victimization rate from NCVS.
Module 10 Hypothesis Tests for One Population Mean
Hypothesis Testing for Proportions
FINAL EXAMINATION STUDY MATERIAL III
Testing Hypotheses about Proportions
Warm UP Read the Perfect Potatoes Example on P. 548
Testing Hypotheses About Proportions
Welcome to Week 08 College Statistics
WARM – UP A local newspaper conducts a poll to predict the outcome of a Senate race. After conducting a random sample of 1200 voters, they find 52% support.
Hypothesis Tests for 1-Sample Proportion
Chapter Review Problems
Statistical Tests - Power
P-value Approach for Test Conclusion
Testing Hypotheses about Proportions
Chapter 9: Hypothesis Tests Based on a Single Sample
Daniela Stan Raicu School of CTI, DePaul University
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Introduction to Inductive Statistics
Testing Hypotheses About Proportions
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
More on Testing 500 randomly selected U.S. adults were asked the question: “Would you be willing to pay much higher taxes in order to protect the environment?”
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Chapter 16 Single-Population Hypothesis Tests
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

MPA 630: Data Science for Public Management November 15, 2018 HYPOTHESIS TESTING MPA 630: Data Science for Public Management November 15, 2018 Fill out your reading report on Learning Suite

Randomness, repetition, and replicability PLAN FOR TODAY Randomness, repetition, and replicability Why are we even doing this? (again!) Burdens of proof How to test any hypothesis

RANDOMNESS, REPETITION, & REPLICABILITY

POWER POSING Increases individual perception of power Increases testosterone and decreases cortisol She made a guess at a population parameter and published it This is the process of science!

RUH ROH https://www.sciencedaily.com/releases/2017/09/170911095932.htm

BUT WAIT Increases individual perception of power Increases testosterone and decreases cortisol

MORAL OF THE STORY Randomness is weird Capturing true population parameters is hard Replication and repetition are needed to check the net

WHY ARE WE EVEN DOING THIS? Round 2!

POPULATION PARAMETERS Key assumption in the flavor of statistics we’re doing: There are true, fixed population parameters out in the world

Difference between proportions Difference between means POPULATION VS. SAMPLE Proportion 𝑝 𝑝 𝛿 Mean 𝜇 𝑥 Difference between proportions 𝑝 1 − 𝑝 2 𝑝 1 − 𝑝 2 Difference between means 𝜇 1 − 𝜇 2 𝑥 1 − 𝑥 2 Intercept 𝛽 0 𝛽 0

WHY WE SIMULATE Is it accurate? Is it real? Is it substantive? Is 𝑥 an accurate guess of 𝜇? Is 𝑥 2 − 𝑥 1 or 𝑝 2 − 𝑝 1 real? Does it matter? Width of confidence interval Important numbers included in confidence interval

BURDENS OF PROOF

AMERICAN LEGAL SYSTEM Accused must be judged Presumption of innocence Accuser has burden of proving guilt Judge/jury decide guilt based on amount of evidence We never prove innocence; we try (and fail) to reject innocence

LEGAL EVIDENTIARY STANDARDS Preponderance of evidence Clear and convincing evidence Beyond reasonable doubt Why do we have these different levels? We’re afraid of locking up an innocent person

Yay! Oh no! Oh no! Yay! Actual truth Guilty Not guilty True positive False positive (I) Guilty Jury decision Oh no! False negative (II) Yay! True negative Not guilty

STATISTICAL “LEGAL” SYSTEM Sample statistic (δ) must be judged Presumption of no effect (null) You have burden of proving effect You decide “guiltiness” of effect based on amount of evidence We never prove that the null is true; we try (and fail) to reject the null

Result of hypothesis test Actual truth Yes effect No effect Yay! True positive Oh no! False positive (I) 𝜶 Yes effect 0.10 0.05 Result of hypothesis test 0.01 Oh no! False negative (II) Yay! True negative No effect

STATISTICAL SIGNIFICANCE There’s enough evidence to safely reject the null hypothesis

P-VALUES The probability of observing an effect at least that large when no effect exists

NOBODY UNDERSTANDS THESE http://fivethirtyeight.com/pvalue

HOW TO TEST ANY HYPOTHESIS

http://sherrytowers.com/2013/09/23/hypothesis-testing-of-sample-means-flowchart/

http://www. pnrjournal. com/article. asp http://www.pnrjournal.com/article.asp?issn=0976-9234;year=2010;volume=1;issue=2;spage=61;epage=63;aulast=Jaykaran

SIMULATIONS AND HYPOTHESES

Find δ The sample statistic: diff in means, mean, diff in props, etc. Invent world where δ is null Simulate what the world would look like if there was no effect. Look at δ in the null world Is it big and extraordinary, or is it a normal thing? Calculate probability that δ could exist in the null world This is your p-value! Decide!