Table 3

The margin of error and number of predictors that can be estimated given a sample size of 1100 participants, based on four sample size requirements outlined by Riley et al46

Step 1: To produce a precise estimate (margin of error <0.05)
 Outcome proportion†0.10.2
 Margin of error0.0180.024
Step 2: To produce predicted values with a small mean error across all individuals (mean absolute prediction error=0.05)
 Outcome proportion†0.10.2
 Number of parameters4431
Step 3: To produce a small required shrinkage of predictor effects (shrinkage=0.1)
 R2Nagelkerke*0.10.20.50.10.20.5
 Outcome proportion†0.10.10.10.20.20.2
 Number of parameters6123381647
Step 4: To produce a small optimism in apparent model fit (optimism=0.05)
 R2Nagelkerke*0.10.20.50.10.20.5
 Outcome proportion†0.10.10.10.20.20.2
 Number of parameters272830363742
  • *In absence of existing studies for a similar target population, Riley et al46 suggest an R2Nagelkerke value between 0.1 and 0.2 for prediction models of health-related outcomes. When direct or mechanistic measurements are included, the R2Nagelkerke may be closer to 0.5.

  • †Based on existing research that examines healthcare use among homeless adults, we expect the outcome proportion will be greater than in the general population.2