1 / 15

Announcements

Announcements. Homework due Wednesday! Criteria A and B due Thursday Exam Thursday. Hypothesis Testing and Chi Square. Chi-Square Test ( χ 2 ) determines whether two variables are related. By Hand.

wyatt-berry
Download Presentation

Announcements

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. Announcements • Homework due Wednesday! • Criteria A and B due Thursday • Exam Thursday

  2. Hypothesis Testing and Chi Square Chi-Square Test (χ2) determines whether two variables are related.

  3. By Hand.. Melissa conjectures that seat belt usage, for drivers, is related to gender. The data is shown in the contingency table below. Test Melissa’s conjecture using a chi-square hypothesis test at α=0.01.

  4. Write your hypotheses Step 1: Write your null and alternative hypotheses. Ho: The two variables are independent H1: The two variables are dependent. • H0: Seat belt usage and gender are independent. • H1: Seat belt usage and gender are dependent.

  5. Calculate your chi-square statistic • Expand the contingency table and create a total row and column • The values 50,40,25 and 45 are called the observed values.

  6. Calculate your chi-square statistic • Find the expected values: EV50: EV25: EV40: EV45:

  7. Calculate your chi-square statistic • Put the data side by side into the given table and complete it.

  8. Calculate the critical value • A critical value is a number that separates the “reject the null hypothesis” statement from the “accept the null hypothesis” statement. • If the test statistic ( falls to the left of the critical value, the answer is to accept the null hypothesis. • If the test statistic is to the right of the critical value, the answer is to reject the null hypothesis. • The value is not calculated but rather found by using a critical value table • The numbers on the left represent the degrees of freedom (row – 1)(column-1) • The numbers on the top represent the alpha levels. If α= .01, use 1-.01 = .99 as the value in the chart. This is the percent chance that you are wrong. • Match up the degrees of freedom and the p-value to find the critical value.

  9. Compare the chi square value and the critical value. • If χ2 < CV, or p-value > α, ACCEPT the null hypothesis • If χ2 > CV, or p-value < α, REJECT the null hypothesis

  10. By calculator…

  11. Example: A survey is taken to determine if music preference is independent of a teenager’s age. The data was collected and organized into a contingency table below. At α = 0.05, determine if the conjecture can be supported.

  12. Write the hypotheses: • Calculate the EXPECTED values • Find χ2

  13. Find the critical value. If by GDC, use the p-value. If by hand, use the CV from the chart. • Compare χ2 to the CV. • Interpret the comparison

  14. Practice • Evelyn hypothesizes that political affiliation, in the United States, is dependent on gender. She collected data by randomly selecting 80 names from the phone directory. Evelyn organized the data in the contingency table below. At α = .05, should the null hypothesis be accepted or rejected.

More Related