## 25.6 Example: Pet birds

A study examined people with lung cancer, and a matched set of controls who did not have lung cancer, and compared the proportion in each group that kept pet birds . One RQ of the study was:

What is the odds ratio of keeping a pet bird, comparing people with lung cancer (cases) compared to people without lung cancer (controls)?

The parameter is the population OR, comparing the odds of keeping a pet bird, for adults with lung cancer to adults who do not have lung cancer.

The data, compiled in a $$2\times2$$ contingency table, are given in Table 25.3. The numerical summary (Table 25.4) contains percentages, odds and the odds ratios; some of these may need to be computed manually from the data. The graphical summary (Fig. 25.5) shows a difference between the two groups in the sample.

Software computes the CI for the population odds ratio (jamovi: Fig. 25.6; SPSS: Fig. 25.7) based on the sample. The sample OR is 2.257, and the 95% CI is from 1.605 to 3.174.

We write:

Based on the sample, a 95% CI for the OR of keeping a pet bird is from 1.605 to 3.174 (comparing people with lung cancer to those without lung cancer).

That is, the plausible values for the population OR that could have produced the sample OR are between 1.605 and 3.174.

TABLE 25.3: The pet bird data