Know your variable types
What kind of number is each outcome?
The data type decides the test.
- Continuous, roughly normal: age, BMI, operative time in many samples
- Continuous, skewed: length of stay, cost, time to return to work
- Ordinal: pain scales, Kellgren-Lawrence grade, ASA class
- Categorical or binary: reoperation yes/no, sex, fracture type
- Time-to-event: time to revision or implant failure, where some patients have not had the event yet