1 / 36

Biostatistics

Biostatistics. Unit 10 Categorical Data Analysis. Categorical Data Analysis. Categorical data analysis deals with discrete data that can be organized into categories. The data are organized into a contingency table . The basic structure consists of two columns and two rows.

luther
Download Presentation

Biostatistics

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. Biostatistics Unit 10 Categorical Data Analysis

  2. Categorical Data Analysis • Categorical data analysis deals with discrete data that can be organized into categories. • The data are organized into a contingency table. The basic structure consists of two columns and two rows. • The c2distribution is used in categorical data analysis.

  3. Basic Contingency Table Structure • Basic structure of a 2X2 contingency table has two columns and two rows.

  4. Structure of Contingency Tables • Cells are labeled A through D. • Columns and rows are added for labels.

  5. Using the contingency table as a comparison table • Comparison of outcomes in laboratory tests is studied using contingency tables.

  6. Absolute and Relative Risk • Relative risk is the ratio of two proportions. In each row is an absolute risk of getting the disease. • The ratio of these two proportions is the relative risk.

  7. Absolute Risk

  8. Relative Risk

  9. Example A total of 452 children in elementary schools in Georgia and Florida were served burritos for lunch. Among these, 304 children reported eating the burritos. Among those who ate burritos, 155 reported getting sick from bacterial contamination. There were also 148 children who did not eat burritos. Among these, 10 cases of illness were reported. A case of disease was defined as gastrointestinal upset, fever and other symptoms. The CDC studied this event using categorical data analysis. They reported relative risk, significance and a confidence interval.

  10. Contingency Table • Data from the reports of the incident were entered into a contingency table.

  11. Absolute risk—ate burritos

  12. Absolute risk—did not eat burritos

  13. Relative Risk • Relative risk is the ratio of the two absolute risk probabilities. • Conclusion: A child who ate burritos had 7.06 times the probability of getting sick as one who did not.

  14. Significance in relative risk Significance in relative risk is found using the c2 distribution. The general formula is below.

  15. Significance in relative risk In contingency table calculations, the values from the table are used to give a c2 value according to the formula below.

  16. Find significance using the TI-83 A. Matrix setup

  17. Find significance using the TI-83 • Calculation results Conclusion: With p this small, the result is highly significant.

  18. CI for a Relative Risk Calculation The confidence interval consists of the usual components of estimator, reliability coefficient and standard error. Standard error is found using the formula

  19. CI for a Relative Risk Calculation Logarithmic transformation is used because of the shape of the c2 curve 1 df which is hyperbolic. The antilog gives the boundaries of the confidence interval.

  20. CI for a Relative Risk Calculation

  21. CI for a Relative Risk Calculation

  22. CI for a Relative Risk Calculation • Take antilog to complete the calculation. • Conclusion: The relative risk is 7.06. We are 95% confident that the true value lies between 3.575 and 13.93.

  23. Odds Ratio • The odds come from the ratio of two proportions. • The odds ratio is the ratio of these two odds. • Odds ratio is generally calculated from data in a case control study. • The following gives the theoretical basis for the calculation of odds ratio. The outcome is determined as the cross-product.

  24. Contingency Table

  25. Odds ratio and the contingency table • The probability of being exposed and getting sick (success) is P(E). The probability of being exposed and not getting sick (failure) is 1 – P(E). • The probability of getting sick when not exposed is P(E’) while the probability of not getting sick when not exposed is 1 – P(E’).

  26. Determining Odds Ratio Odds of getting sick when exposed Odds of getting sick when not exposed

  27. Determining Odds Ratio Odds ratio is the ratio of these two odds The probability values are related to the cells in the contingency table.

  28. Determining Odds Ratio The final ratio of cells to find odds ratio This calculation of odds ratio is the cross-product of AD divided by BC.

  29. Case study for odds ratio In the case control study, 52 children were involved. There were 13 children who ate the burritos among which 8 got sick. There were also 39 children who did not eat the burritos among which 6 reported symptoms of the illness. The odds ratio was calculated.

  30. Odds Ratio Calculation Conclusion: The odds ratio is 8.8

  31. Find significance using the TI-83 A. Matrix setup

  32. Find significance using the TI-83 • Calculation results Conclusion: p < .001

  33. CI for an Odds Ratio Calculation Calculation for SE after logarithmic transformation

  34. CI for an Odds Ratio Calculation

  35. CI for an Odds Ratio Calculation Take antilog to complete the calculation. Conclusion: The odds ratio is 8.8. We are 95% confident that the true value lies between 2.14 and 36.3.

  36. fin

More Related