Solved – Interpretation of the Fisher-exact test

fishers-exact-testinterpretationodds-ratior

I'm running some R code, where I would like to check if some data is independent. I could use a Chi-square test, which rejects independence. However I would like to use the Fisher-exact test. Once again p < 0.001 but how should I interpret this odds ratio?

The table consists of male 0 vs female 1 and overweight 1 versus no overweight 0.

> table(nhefs.adjust.nNA$overweight,
+       nhefs.adjust.nNA$sex,
+       dnn = c("overweight","sex"))
          sex
overweight   0   1
         0 407 535
         1 419 295
> fisher.test(table(nhefs.adjust.nNA$overweight,
+                   nhefs.adjust.nNA$sex,
+                   dnn = c("overweight","sex")))

Fisher's Exact Test for Count Data

data:  
p-value = 5.145e-10
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
 0.4376387 0.6554322
sample estimates:
odds ratio 
 0.5358085 

Response to Aaron Zeng's answers

          death
overweight   Y   N
         Y 156 558
         N 165 777

odds ratio 
  1.316281 

Should this then be interpreted as:

The odds of death on persons with overweight is about 32% more then on persons without overweight?

This seems somewhat weird since 156 vs 165 seems to imply less risk?

Best Answer

The fisher's exact test in R by default tests whether the odds ratio associated with the first cell being 1 or not.

That said, you can interpret the odds ratio 0.53 as: the odds of being male for a non-overwieght subject is 0.53 times that for an overweighted subject. Note the p-value is significant and the confidence interval doesn't contain 1. Therefore, you reject the null hypothesis of the odds ratio being 1.

However, you might want to exchange the columns and rows of the 2-by-2 contingency table, so that you could interpret "Sex" as an explanatory variable and "Overweight or not" as the response, which seems more nature. In this case, the estimate of the odds ratio should still be 0.53. But you can more naturally interpret it as: the odds of being non-overweight for a male person is 0.53 times that for a female person.