Generalised linear models: logistic and probit regression for a binary outcome (yes/no, success/failure, event/no-event), and Poisson regression for a count outcome (number of events, visits, occurrences).

Note

These pages are a recognition index — organised by the shape of the analysis, not by which MCPower feature they show off. If your outcome is continuous, you want OLS; if your data is grouped or clustered, see GLMM.

Examples

Logistic, single and two-group

Logistic, adjusted and categorical

Logistic interactions

Count and probit outcomes

  • Poisson count regression: clinic visits predicted by treatment and age clinic_visits ~ treatment + age — a count outcome, log-link Poisson regression with a binary and a continuous predictor.
  • Probit regression: household income predicting voter turnout, controlling for region voted ~ income + region — a binary outcome via the probit link, one continuous predictor plus a categorical control.