### Choosing statistical tests

This table is one that I think every public health student should be able to generate after taking statistics. Unfortunately it is not presented this way

Dependent/outcome |
|||

Independent/predictor |
Dichotomous |
Categorical |
Continuous |

Dichotomous |
Chi-square | Chi-square | t-test |

Categorical |
Chi-square | Chi-square | ANOVA |

Continuous |
Logistic regression | ??? | Correlation or regression |

Caveat: This ignores study design. In real analyses it is common to adjust for covariates, use repeated measures or do something else that requires different tests. Nevertheless, it shows the basic test underlying what you will use.