1 / 13

Chapter 11 Chi Square Distribution and Its applications

Chapter 11 Chi Square Distribution and Its applications. What is a Chi Square?. Chi Square is another probability distribution (like Normal and Student t) Symbol: χ 2 Picture. 0. What is a Chi Square? (cont). Features: Mode (i.e. Peak) at n – 2.

Télécharger la présentation

Chapter 11 Chi Square Distribution and Its applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 11Chi Square Distributionand Its applications

  2. What is a Chi Square? Chi Square is another probability distribution (like Normal and Student t) Symbol: χ2 Picture 0

  3. What is a Chi Square? (cont) Features: Mode (i.e. Peak) at n – 2. Degrees of Freedom = n – 2. 0

  4. Why χ2? The χ2 distribution allows you to test the independence of two factors. For instance, what about getting a tattoo and the frequency of Hepatitis C? What if you got the tattoo in a tattoo parlor? What if your cousin Dwayne gave you that great tattoo of Count Chocula? The Chi Squared test for independence allows you to decide whether the chance of having hepatitis is independent of the tattoo status.

  5. Requirements 1. Counted Data Condition: Data must be in counts 2. Randomization Condition: Individuals who have been counted should be a random sample from some population. 3. Expected Cell Frequency Condition: The expected values (which you will calculate) should all be at least 5.

  6. What to do? Use a contingency table to find the differences between observed and expected values.

  7. What to do? Use a contingency table to find the differences between observed and expected values. d.f. = (R-1)(C-1) where R and C are the number of rows/columns

  8. Lets Try one We have counts of 626 individuals categorized according to their “tattoo status” and their “hepatitis status”.

  9. We want to test whether tattoo status and hepatitis status are independent. HO: Tattoo status and hepatitis status are independent HA: Tattoo status and hepatitis status are not independent Check the conditions: 1. Counts of data categorized 2. While you don’t have the information, you can assume that they were selected to avoid biases. 3. We’ll find out when we determine E for each cell

  10. Compute E 48.096 3.904 56.420 4.580 38.516 474.484

  11. Notice There are some values below 5 – we’ll continue from here for the sake of the data. What are the degrees of freedom? Find the χ2 value. Using a table, the value for P(χ2 >57.91) 2 57.91 Less than .0001

  12. Conclusion The P-value is very small, so I reject the null hypothesis and conclude that hepatitis status is not independent of tattoo status.

  13. Resources www.microbiologybytes.com/maths/graphics/chi.gif

More Related