Data Handling & Analysis BD7054 2012-2013 Andrew Jackson Zoology, School of Natural Sciences

Slides:



Advertisements
Similar presentations
Differentiating between directional and non-directional hypotheses.
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)
Statistics 101 Class 8. Overview Hypothesis Testing Hypothesis Testing Stating the Research Question Stating the Research Question –Null Hypothesis –Alternative.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
What is a χ2 (Chi-square) test used for?
Quantitative Skills 4: The Chi-Square Test
Using Statistics to Analyze your Results
Binomial Distribution & Hypothesis Testing: The Sign Test
Are U.S. Coins Fair? Coins are used to decide disagreements with a flip or spin, to determine the start of a sporting event, coin games involving spinning/flipping,
The Structure of a Hypothesis Test. Hypothesis Testing Hypothesis Test Statistic P-value Conclusion.
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
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
What is a χ2 (Chi-square) test used for?
Summary.
Chapter 10: Hypothesis Testing
Hypothesis testing Week 10 Lecture 2.
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
Data Handling & Analysis ZO4030 Andrew Jackson
Behavioural Science II Week 1, Semester 2, 2002
The z-Test What is the Purpose of a z-Test? What are the Assumptions for a z- Test? How Does a z-Test Work?
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.
TESTING HYPOTHESES FOR A SINGLE SAMPLE
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Chi-square notes. What is a Chi-test used for? Pronounced like kite, not like cheese! This test is used to check if the difference between expected and.
Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: p-value STAT 101 Dr. Kari Lock Morgan 9/25/12 SECTION 4.2 Randomization distribution.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
14 Elements of Nonparametric Statistics
Let’s flip a coin. Making Data-Based Decisions We’re going to flip a coin 10 times. What results do you think we will get?
From last lecture (Sampling Distribution): –The first important bit we need to know about sampling distribution is…? –What is the mean of the sampling.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Hypothesis Testing Testing Outlandish Claims. Learning Objectives Be able to state the null and alternative hypotheses for both one-tailed and two-tailed.
© 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.
Inference Concepts Hypothesis Testing. Confidence IntervalsSlide #2 Inference Sample Statistic Population Parameter Hypothesis/Significance Testing –assess.
Chapter 9: Hypothesis Testing 9.1 Introduction to Hypothesis Testing Hypothesis testing is a tool you use to make decision from data. Something you usually.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Section 10.3 Hypothesis Testing for Means (Large Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Hypothesis Testing State the hypotheses. Formulate an analysis plan. Analyze sample data. Interpret the results.
Hypotheses setting and testing. Hypotheses A hypothesis is a specific statement of prediction. It describes in concrete terms what you expect will happen.
S-012 Testing statistical hypotheses The CI approach The NHST approach.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Chapter 20: Testing Hypotheses About Proportions AP Statistics.
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
Information Technology and Decision Making Information Technology and Decision Making Example 10.1 Experimenting with a New Pizza Style at the Pepperoni.
Scientific Method Probability and Significance Probability Q: What does ‘probability’ mean? A: The likelihood that something will happen Probability.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 5 Introduction to Hypothesis.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
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.
1 Econometrics (NA1031) Lecture 3 Interval Estimation and Hypothesis Testing.
Introduction to Hypothesis Testing
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Aim: How do we find probability using Pascal’s triangle? Do Now: If a coin is tossed two times, what is the probability you will get 2 heads?
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
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.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Chi-Square (χ 2 ) Analysis Statistical Analysis of Genetic Data.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
What is a χ2 (Chi-square) test used for?
Two-sided p-values (1.4) and Theory-based approaches (1.5)
Chi2 : a visual explanation
Making Data-Based Decisions
Chapter 5 Introduction to Hypothesis Testing
What is a χ2 (Chi-square) test used for?
Presentation transcript:

Data Handling & Analysis BD Andrew Jackson Zoology, School of Natural Sciences

Introduction to Hypothesis Testing An Experiment Flipping coins

A simple experiment Question: – Does adding weight to a coin make it unfair? – Blu-tac added to head side Need to construct testable hypotheses – The null hypothesis

Weighted coin toss Toss the coin 10 times What is the hypothesis about how you think your system will behave? – More likely to get heads – Less likely to get heads – Either more or less likely to get heads What are the corresponding null hypotheses? – That the coin is fair

Behaviour of a fair coin The model is a fair 50:50 coin How do we generate information about how a fair coin behaves? – Toss an un-weighted coin 10 times and repeat

Behaviour of weighted coin Compare the weighted coin against the expected behaviour of a fair coin Question – How likely is it that our observed coin is fair?

Behaviour of weighted coin

Alternative hypotheses HA: coin is more likely to produce heads – One-tailed test in right tail HA: coin is less likely to produce heads – One-tailed test in left tail HA: coin is unfair (in either direction) – Two-tailed test including both left and right tails

P-values A p-value is the probability of your observed data or more extreme being generated according to the null hypothesis The less likely your data are, the less likely you would accept the null hypothesis as being true – We generally use a cut-off of p<0.05 to accept the alternative hypothesis One or two tailed tests refer to where you predict your alternative hypotheses to lie before you do your experiment

Summary Science is about constructing experiments or designing observations to test your ideas about how the world works Hypotheses must be falsifiable Generally we construct null hypotheses against which our alternative hypotheses can be tested p-values tell us how likely it is our data came from the null hypothesis and therefore allow us to accept or reject it (H0)