Skip to main content
QUICK REVIEW

[Paper Review] Minimum Sample Size for Developing a Multivariable Prediction Model using Multinomial Logistic Regression

Alexander Pate, Richard D Riley|arXiv (Cornell University)|Jul 26, 2022
Advanced Statistical Modeling TechniquesComputer Science11 citations
TL;DR

This paper proposes three sample size criteria for developing multivariable prediction models using multinomial logistic regression, focusing on minimizing overfitting, preserving R² Nagelkerke discrimination, and ensuring precise risk estimation. It demonstrates through simulation and a clinical example that sample size should be based on the Cox-Snell R² of individual one-to-one sub-models rather than the overall model, with implementation code provided for R and Stata.

ABSTRACT

Multinomial logistic regression models allow one to predict the risk of a categorical outcome with more than 2 categories. When developing such a model, researchers should ensure the number of participants (n) is appropriate relative to the number of events (E.k) and the number of predictor parameters (p.k) for each category k. We propose three criteria to determine the minimum n required in light of existing criteria developed for binary outcomes. The first criteria aims to minimise the model overfitting. The second aims to minimise the difference between the observed and adjusted R2 Nagelkerke. The third criterion aims to ensure the overall risk is estimated precisely. For criterion (i), we show the sample size must be based on the anticipated Cox-snell R2 of distinct one-to-one logistic regression models corresponding to the sub-models of the multinomial logistic regression, rather than on the overall Cox-snell R2 of the multinomial logistic regression. We tested the performance of the proposed criteria (i) through a simulation study, and found that it resulted in the desired level of overfitting. Criterion (ii) and (iii) are natural extensions from previously proposed criteria for binary outcomes. We illustrate how to implement the sample size criteria through a worked example considering the development of a multinomial risk prediction model for tumour type when presented with an ovarian mass. Code is provided for the simulation and worked example. We will embed our proposed criteria within the pmsampsize R library and Stata modules.

Motivation & Objective

  • To address the lack of established sample size guidelines for multinomial logistic regression in multivariable prediction model development.
  • To ensure adequate sample size relative to predictor parameters and events per category to prevent overfitting and poor model performance.
  • To extend existing binary outcome sample size criteria to the multinomial setting, focusing on overfitting, discrimination (R² Nagelkerke), and risk estimation precision.
  • To provide practical, implementable criteria using simulation and a real-world clinical example for tumour type prediction in ovarian masses.
  • To integrate the proposed criteria into widely used statistical software via the pmsampsize R library and Stata modules.

Proposed method

  • Proposes three distinct sample size criteria: minimizing overfitting, minimizing difference between observed and adjusted R² Nagelkerke, and ensuring precise overall risk estimation.
  • For the overfitting criterion, derives required sample size based on the Cox-Snell R² of individual one-to-one logistic regression sub-models for each outcome category, not the overall multinomial model R².
  • Uses simulation studies to validate the performance of the overfitting criterion, assessing whether the resulting sample size achieves the target level of overfitting.
  • Extends established binary outcome sample size rules (e.g., 10 events per predictor, 20 events per predictor) to multinomial outcomes by adapting them to category-specific event counts and predictor parameters.
  • Provides a step-by-step worked example using a clinical dataset to predict tumour type from ovarian mass features, illustrating application of the criteria.
  • Develops and releases open-source code in R and Stata for implementing the sample size calculations, ensuring reproducibility and usability.

Experimental results

Research questions

  • RQ1What is the minimum sample size required to prevent overfitting in a multinomial logistic regression prediction model?
  • RQ2How can the difference between observed and adjusted R² Nagelkerke be minimized in multinomial logistic regression models?
  • RQ3What sample size ensures precise estimation of overall risk in multinomial prediction models?
  • RQ4How does the choice of R² metric (Cox-Snell vs. overall) affect sample size requirements in multinomial logistic regression?
  • RQ5Can existing binary outcome sample size rules be meaningfully extended to multinomial outcomes with appropriate adjustments?

Key findings

  • The sample size required to minimize overfitting should be based on the Cox-Snell R² of individual one-to-one sub-models for each outcome category, not the overall multinomial model R².
  • Simulation results confirmed that the proposed overfitting criterion successfully achieved the desired level of overfitting, validating its reliability.
  • The second and third criteria—minimizing R² Nagelkerke difference and ensuring precise risk estimation—are natural extensions of established binary outcome sample size rules.
  • The worked example demonstrated the practical application of the criteria in a real-world clinical scenario involving prediction of tumour type from ovarian mass features.
  • The proposed criteria are implemented and available in the pmsampsize R library and Stata modules, enhancing accessibility for researchers.
  • The study highlights the importance of considering category-specific event counts and sub-model performance when determining sample size for multinomial logistic regression.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.