Chi-Square X2.

Slides:



Advertisements
Similar presentations
What is Chi Square? Chi square is a “goodness of fit” test.
Advertisements

Laws of Probability and Chi Square
Please turn in your signed syllabus. We will be going to get textbooks shortly after class starts. Homework: Reading Guide – Chapter 2: The Chemical Context.
CHAPTER 11 Inference for Distributions of Categorical Data
Chi-Square Test.
Chi-square Goodness of Fit Test
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Chi-Square Test.
Introduction to Inferential Statistics Statistical analyses are initially divided into: Descriptive Statistics or Inferential Statistics. Descriptive Statistics.
Chi square analysis Just when you thought statistics was over!!
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data “good” or not. In our fruit fly labs we are using laws.
Statistical Analysis: Chi Square AP Biology Ms. Haut.
Chi-Square Test. Chi-Square (χ 2 ) Test Used to determine if there is a significant difference between the expected and observed data Null hypothesis:
1. Determine number of each phenotype observed and how many would be expected given basic genetic theory 2. Calculate chi-square statistic using this.
By.  Are the proportions of colors of each M&M stated by the M&M company true proportions?
Science Practice 2: The student can use mathematics appropriately. Science Practice 5: The student can perform data analysis and evaluation of evidence.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Genetics and Statistics A Tale of Two Hypotheses.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Check your understanding: p. 684
CHAPTER 11 Inference for Distributions of Categorical Data
Warm up On slide.
CHAPTER 11 Inference for Distributions of Categorical Data
11.1 Chi-Square Tests for Goodness of Fit
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 Test.
M & M Statistics: A Chi Square Analysis
Chapter 11: Inference for Distributions of Categorical Data
Chi Square Review.
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data “good” or not. In our fruit fly labs we are using laws.
Patterns of inheritance
Section 10-1 – Goodness of Fit
Elementary Statistics: Picturing The World
Chi-Square Test.
Chi-Squared test AP Biology.
MENDELIAN GENETICS CHI SQUARE ANALYSIS
Chi-Square Analysis.
Chi-Square Test.
Chi-Square - Goodness of Fit
Goodness of Fit Test - Chi-Squared Distribution
Chapter 11: Inference for Distributions of Categorical Data
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data is “good” or not. In our fruit fly labs we are using.
CHAPTER 11 Inference for Distributions of Categorical Data
Equations and formulas sheet
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data is “good”. In our fruit fly labs we are using laws of.
Chi-Square Test.
Standard Deviation & Standard Error
CHAPTER 11 Inference for Distributions of Categorical Data
Chi-squared tests Goodness of fit: Does the actual frequency distribution of some data agree with an assumption? Test of Independence: Are two characteristics.
CHAPTER 11 Inference for Distributions of Categorical Data
Facts from figures Having obtained the results of an investigation, a scientist is faced with the prospect of trying to interpret them. In some cases the.
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Inference for Distributions of Categorical Data
Chapter 26 Part 2 Comparing Counts.
CHAPTER 11 Inference for Distributions of Categorical Data
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data “good” or not. In our fruit fly labs we are using laws.
Chapter 14.1 Goodness of Fit Test.
Graphs and Chi Square.
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Inference for Distributions of Categorical Data
Presentation transcript:

Chi-Square X2

What is CHI-Square? Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis This test determines if deviations from expected results (differences between observed and expected) were the result of chance, or were they due to other factors

Chi Square Below is the formula for the Chi-squared test

Defining the variables x2: this is the chi-squared value o: this is the value that was observed in the experiment e: this is the expected value Σ: this means that you take the sum of all the values

Null Hypothesis The chi-square test is always testing what scientists call the null hypothesis, which states that there is no significant difference between the expected and observed result. On the next page are the expected value for M&Ms by color. Example of null hypothesis: The M&Ms will not vary from the values given by the company NOTE: In the null hypothesis, it is a negative statement.

An Example According to the Mars Company website, the colors of M&Ms are produced in certain percentages: 20% brown 20% yellow 20% red 20% blue 10% green 10 % orange

What we found… Color Observed Brown 76 Yellow 65 Red 70 Blue 85 Green 28 Orange 26 total 350

What we expected… Color Expected Brown 20% of 350 = 70 Yellow Red Blue Green 10% of 350 = 35 Orange total 350

Brown Yellow Red Blue Green Orange Observed (o) 76 65 70 85 28 26 Expected (e) 35 o-e 6 -5 15 -7 -9 (o-e)2 36 25 225 49 81 (o-e)2/e 0.514 0.357 3.214 1.400 2.314 X2 7.799

What we know… X2 = 7.799 What we examine on the chart: For the AP Exam, the significance that is examined to accept of invalidate the null hypothesis is: p < 0.05 (FIND ON CHART) Degrees of freedom: The degrees of freedom is the number of samples minus one 6 colors  (6-1) = 5 degrees of freedom

accept null hypothesis reject null hypothesis

For Reals…

Sooo… Reject or fail to reject null hypothesis??? According to the Degrees of Freedom on the Chi-Squared Table, the value can be up to 11.07 Our value for x2 = 7.799 Since 7.799 < 11.07, we will accept the null hypothesis: The M&Ms do not vary significantly from the values given by the company. Therefore, they do not statistically vary from the expected values (NO OUTSIDE INFLUENCE)

Try this A card dealer deals out the following cards 22 clubs 32 spades 34 hearts 12 diamonds Is the dealer cheating OR does random chance account for the distribution?

SOLUTION CHI-squared value = 12.32 Degrees of freedom = 3 P value = 7.82 X2 > p value Therefore, the distribution is not due to chance (something fishy is going on)