# Difference between revisions of "Eleisha's Segment 33: Contingency Tables Protocols and Exact Fisher Test"

(Created page with "<b>To Calculate </b> 1. How many distinct m by n contingency tables are there that have exactly N total events? 2. For every distinct 2 by 2 contingency table containing exa...") |
|||

Line 5: | Line 5: | ||

2. For every distinct 2 by 2 contingency table containing exactly 14 elements, compute its chi-square statistic, and also its Wald statistic. Display your results as a scatter plot of one statistic versus the other. | 2. For every distinct 2 by 2 contingency table containing exactly 14 elements, compute its chi-square statistic, and also its Wald statistic. Display your results as a scatter plot of one statistic versus the other. | ||

− | <b> To Think About <b> | + | <b> To Think About </b> |

1. Suppose you want to find out of living under power lines causes cancer. Describe in detail how you would do this (1) as a case/control study, (2) as a longitudinal study, (3) as a snapshot study. Can you think of a way to do it as a study with all the marginals fixed (protocol 4)? | 1. Suppose you want to find out of living under power lines causes cancer. Describe in detail how you would do this (1) as a case/control study, (2) as a longitudinal study, (3) as a snapshot study. Can you think of a way to do it as a study with all the marginals fixed (protocol 4)? |

## Revision as of 22:20, 6 April 2014

**To Calculate **

1. How many distinct m by n contingency tables are there that have exactly N total events?

2. For every distinct 2 by 2 contingency table containing exactly 14 elements, compute its chi-square statistic, and also its Wald statistic. Display your results as a scatter plot of one statistic versus the other.

** To Think About **

1. Suppose you want to find out of living under power lines causes cancer. Describe in detail how you would do this (1) as a case/control study, (2) as a longitudinal study, (3) as a snapshot study. Can you think of a way to do it as a study with all the marginals fixed (protocol 4)?

2. For an m by n contingency table, can you think of a systematic way to code "the loop over all possible contingency tables with the same marginals" in slide 8?

** Back To: ** Eleisha Jackson