Chi Square Analysis. What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical.

Slides:



Advertisements
Similar presentations
Parametric/Nonparametric Tests. Chi-Square Test It is a technique through the use of which it is possible for all researchers to:  test the goodness.
Advertisements

Chi-Squared Tutorial This is significantly important. Get your AP Equations and Formulas sheet.
Laws of Probability and Chi Square
Quantitative Skills 4: The Chi-Square Test
Chapter 11 Inference for Distributions of Categorical Data
Physics 270 – Experimental Physics. Let say we are given a functional relationship between several measured variables Q(x, y, …) What is the uncertainty.
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
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
Introduction to Chi-Square Procedures March 11, 2010.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
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 Goodness of Fit Test
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
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.
Chapter 13: Inference for Tables – Chi-Square Procedures
11.4 Hardy-Wineberg Equilibrium. Equation - used to predict genotype frequencies in a population Predicted genotype frequencies are compared with Actual.
13.1 Goodness of Fit Test AP Statistics. Chi-Square Distributions The chi-square distributions are a family of distributions that take on only positive.
Section 10.1 Goodness of Fit. Section 10.1 Objectives Use the chi-square distribution to test whether a frequency distribution fits a claimed distribution.
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
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.
Chapter 10 Chi-Square Tests and the F-Distribution
Chi- square test x 2. Chi Square test Symbolized by Greek x 2 pronounced “Ki square” A Test of STATISTICAL SIGNIFICANCE for TABLE data.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Chi square analysis Just when you thought statistics was over!!
Chi-Square Test James A. Pershing, Ph.D. Indiana University.
Physics 270 – Experimental Physics. Let say we are given a functional relationship between several measured variables Q(x, y, …) x ±  x and x ±  y What.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Lecture 11. The chi-square test for goodness of fit.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
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.
Chi-Square Test (χ 2 ) χ – greek symbol “chi”. Chi-Square Test (χ 2 ) When is the Chi-Square Test used? The chi-square test is used to determine whether.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
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.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chi-Square (χ 2 ) Analysis Statistical Analysis of Genetic Data.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
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
CHAPTER 11 Inference for Distributions of Categorical Data
Chi-Square Test.
M & M Statistics: A Chi Square Analysis
Qualitative data – tests of association
Elementary Statistics: Picturing The World
Chi-Square Test.
Chi Square SBI3UP.
MENDELIAN GENETICS 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
Statistical Analysis Chi-Square.
Chi-Square Test.
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
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 26 Part 2 Comparing Counts.
Genetic Statistics.
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 14.1 Goodness of Fit Test.
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Presentation transcript:

Chi Square Analysis

What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical technique used to determine if a distribution of observed frequencies differs from the theoretical expected frequencies.

X 2 = Sigma [ (O-E) 2 / E ] X 2 is the chi-square statistic O is the observed frequency E is the expected frequency

Data used in a chi-square analysis has to satisfy the following conditions 1.randomly drawn from the population, 2.reported in raw counts of frequency, 3.measured variables must be independent, 4.observed frequencies cannot be too small, and 5.values of independent and dependent variables must be mutually exclusive.

Two Types of Chi-square tests 1.The Chi-square test for goodness of fit which compares the expected and observed values to determine how well an experimenter's predictions fit the data. 2.The Chi-square test for independence which compares two sets of categories to determine whether the two groups are distributed differently among the categories.

The Chi-square test for goodness of fit Goodness of fit means how well a statistical model fits a set of observations. A measure of goodness of fit typically summarize the discrepancy between observed values and the values expected under the model in question.

Establish Hypotheses The Null hypothesis for the above experiment is that the observed values are close to the predicted values. The alternative hypothesis is that they are not close to the predicted values. These hypotheses hold for all Chi-square goodness of fit tests. Thus in this case the null and alternative hypotheses corresponds to:Null hypothesis: The coin is fair Alternative hypothesis: The coin is biased

Tabulated results of Observed and Expected frequencies HeadsTails Observed 4753 Expected 50

Calculate the chi-square statistic We calculate chi-square by substituting values for O and E For Heads: X 2 = (47-50) 2 /50 = 0.18 For Tails X 2 = (53-50) 2 /50 = 0.18 The sum of these categories is = 0.36

Assessing significance levels Significance of the chi-square test for goodness of fit value is established by calculating the degree of freedom v (the Greek letter nu) and by using the chi-square distribution table. X 2 < value  ACCEPT X 2 > value  REJECT

Probability Degree of Freedom

The v in a chi-square goodness of fit test is equal to the number of categories, c, minus one (v = c-1). This is done in order to check if the null hypothesis is valid or not, by looking at the critical chi-square value from the table that corresponds to the calculated v. If the calculated Chi-square is greater than the value in the table, then the null hypothesis is rejected and it is concluded that the predictions made were incorrect. In the above experiment, v= (2-1) = 1. The critical value for a chi- square for this example at a = 0.05 and v =1 is 3.84 which is greater than X 2 =0.36. Therefore the null hypothesis is not rejected, hence the coin toss was fair.

Chi-square Analysis Lab Report 1. Title 2.Purpose 3.Materials 4.Procedure 5.Data and Observations a.Null hypothesis b.Individual Data c.Class Data (Plain) d.Calculations 6.Analysis: Are the Mars Company M&M sorters doing a good job? Explain. 7.Conclusion

Individual Class Expected (percent) RedBrownBlueYellowGreenOrange Observed (number/percent)

M and Ms M&M'S MILK PLAIN: 24% cyan blue, 20% orange, 16% green, 14% bright yellow, 13% red, 13% brown. M&M'S PEANUT: 23% cyan blue, 23% orange, 15% green, 15% bright yellow, 12% red, 12% brown. M&M'S KIDS MINIS: 25% cyan blue, 25% orange, 12% green, 13% bright yellow, 12% red, 13% brown. M&M'S DARK: 17% cyan blue, 16% orange, 16% green, 17% bright yellow, 17% red, 17% brown. M&M'S PEANUT BUTTER and ALMOND: 20% cyan blue, 20% orange,20% green, 20% bright yellow, 10% red, 10% brown. M&M’S PRETZEL: 20% cyan blue, 20% orange,20% green, 20% bright yellow, 10% red, 10% brown.