How to compute odds-ratios
A two-by-two table is a very common design. The column variable is some type of treatment or intervention. For example, older (over 65 years of age) people who either lived in a nursing home or who did not. Your row variable is some categorical outcome. For example, they either lived or died. You create a…