Chi-square goodness of fit tests Chi-square goodness of fit.

Slides:



Advertisements
Similar presentations
Chi-Square Test Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
Advertisements

The Chi-Square Test for Association
Quantitative Skills 4: The Chi-Square Test
Statistical Inference for Frequency Data Chapter 16.
Naked mole rats are a burrowing rodent
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.
Chi-Square Test.
Chi Square (X 2 ) Analysis Calculating the significance of deviation in experimental results.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
+ Quantitative Statistics: Chi-Square ScWk 242 – Session 7 Slides.
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
The Chi-square goodness of fit test
Chi-Squared Test.
Part IV Significantly Different: Using Inferential Statistics
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Chi-Square as a Statistical Test Chi-square test: an inferential statistics technique designed to test for significant relationships between two variables.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory. How.
Chi-Square Test.
Statistics in Biology. Histogram Shows continuous data – Data within a particular range.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
Chi Square Classifying yourself as studious or not. YesNoTotal Are they significantly different? YesNoTotal Read ahead Yes.
Chi square analysis Just when you thought statistics was over!!
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Comparing Counts.  A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a.
Fruit Fly Basics Drosophila melanogaster. Wild Type Phenotype Red eyes Tan Body Black Rings on abdomen Normal Wings.
Chapter Outline Goodness of Fit test Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
Statistical Analysis: Chi Square AP Biology Ms. Haut.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Chi-Square Analysis AP Biology.
Statistics 300: Elementary Statistics Section 11-2.
Science Practice 2: The student can use mathematics appropriately. Science Practice 5: The student can perform data analysis and evaluation of evidence.
Monday’s Lab: M&M Genetics 1) Title/Date 2) Pre-lab (use sheets from today) –A) Key concepts & Equations –B) Materials List 3) Purposes (2-3) 4/5) STAPLE.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
III. Statistics and chi-square How do you know if your data fits your hypothesis? (3:1, 9:3:3:1, etc.) For example, suppose you get the following data.
Chi Square Pg 302. Why Chi - Squared ▪Biologists and other scientists use relationships they have discovered in the lab to predict events that might happen.
Rolling the Dice Greg, Josia, Emeka. The Project n Roll a six-sided dice 120 times n Use a random number generator to generate digit numbers (0-9)
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
The Chi Square Test A statistical method used to determine goodness of fit Chi-square requires no assumptions about the shape of the population distribution.
Statistical Analysis: Chi Square
I. CHI SQUARE ANALYSIS Statistical tool used to evaluate variation in categorical data Used to determine if variation is significant or instead, due to.
Chi-square: Comparing Observed and
Chi-Square Test.
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
The Chi-Square Distribution and Test for Independence
Chi-square: Comparing Observed and Expected Counts
Is a persons’ size related to if they were bullied
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
Chi-Square Test.
Chapter 10 Analyzing the Association Between Categorical Variables
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
P-VALUE.
Chi-Square Test.
Analyzing the Association Between Categorical Variables
Chi-Squared AP Biology.
How do you know if the variation in data is the result of random chance or environmental factors? O is the observed value E is the expected value.
UNIT V CHISQUARE DISTRIBUTION
Statistical Inference for the Mean: t-test
MATH 2311 Section 8.5.
Presentation transcript:

Chi-square goodness of fit tests

Chi-square goodness of fit

Core issue in statistics: When are you viewing just random noise and when is there a real trend? Chi-square goodness of fit

Core issue in statistics: When are you viewing just random noise and when is there a real trend? Chi-square goodness of fit

Core issue in statistics: When are you viewing just random noise and when is there a real trend? Chi-square goodness of fit

Core issue in statistics: When are you viewing just random noise and when is there a real trend? Chi-square goodness of fit

Your response variable is count data When to use a chi-square test Your response falls into different categories You have a hypothesis for the responses you expect You want to know if the difference between the responses you observe and the responses you expect is significant or not

If the test tells you your data is not significantly different from what you expect, you support the hypothesis How to interpret a chi-square test If the test tells you your data is significantly different from what you expect, you reject the hypothesis No statistical test ever proves a hypothesis.

What is chi-square? x 2 = Chi-square valueΣ = Sum of x 2 = Σ (Observed Value – Expected Value) 2 Expected Value ObservedExpectedObs-Exp (Obs-Exp) 2 Exp Category 1 Category 2 ….. X 2 total Degrees of Freedom

Example problem #1

Chi-square probability table df

Chi-square probability table df Only 5% chance that the difference between your obs and exp values comes from chance alone Your hypothesis can be rejected

Chi-square probability table df % chance differences are from random chance

Example problem 2

Female Song Worksheet

Bird song: It’s not just for males anymore Male house wrens sing to attract mates and defend territories Females sing a lot too! Why?

Why do females sing? H1: To help coordinate their behavior with their male Prediction

Why do females sing? H2: To solicit copulations from the male Prediction

Why do females sing? H3: To defend their nests against other house wrens Prediction

Why do females sing? Null hypothesis: Female song occurs randomly Prediction