Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T04:24:48.169Z Has data issue: false hasContentIssue false

Opinion: on the importance of maintaining the functional form of explanatory variables

Published online by Cambridge University Press:  04 August 2022

Florian Zapf
Affiliation:
Cardiac Intensive Care Unit, The Royal Children’s Hospital, Melbourne, Victoria, Australia
Warwick Butt
Affiliation:
Cardiac Intensive Care Unit, The Royal Children’s Hospital, Melbourne, Victoria, Australia Clinical Sciences, Murdoch Children’s Research Institute, Melbourne, Victoria, Australia Department of Paediatrics, University of Melbourne, Melbourne, Victoria, Australia Department of Critical Care, University of Melbourne, Melbourne, Victoria, Australia
Siva P. Namachivayam*
Affiliation:
Cardiac Intensive Care Unit, The Royal Children’s Hospital, Melbourne, Victoria, Australia Clinical Sciences, Murdoch Children’s Research Institute, Melbourne, Victoria, Australia Department of Paediatrics, University of Melbourne, Melbourne, Victoria, Australia Department of Critical Care, University of Melbourne, Melbourne, Victoria, Australia
*
Author for correspondence: Siva P. Namachivayam, FCICM, MBios, Cardiac Intensive Care Unit, The Royal Children’s Hospital, Melbourne, Victoria, Australia. E-mail: siva.namachivayam@rch.org.au
Rights & Permissions [Opens in a new window]

Abstract

In medical research, continuous variables are often categorised into two or more groups before being included in the analysis; this practice often comes with a cost, such as loss of power in analysis, less reliable estimates, and can often leave residual confounding in the results. In this research report, we show this by way of estimates from a regression analysis looking at the association between acute kidney injury and post-operative mortality in a sample of 194 neonates who underwent the Norwood operation. Two models were developed, one using a continuous measure of renal function as the main explanatory variable and second using a categorised version of the same variable. A continuous measure of renal function is more likely to yield reliable estimates and also maintains more statistical power in the analysis to detect a relation between the exposure and outcome. It also reveals the true biological relationship between the exposure and outcome. Categorising a continuous variable may not only miss an important message, it can also get it wrong. Additionally, given a non-linear relationship is commonly encountered between the exposure and outcome variable, investigators are advised to retain a predictor with a linear term only when supported by data. All of this is particularly important in small data sets which account for the majority of clinical research studies.

Information

Type
Original Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Table 1. Patient characteristics (n = 194)

Figure 1

Figure 1. Locally weighted scatter plot smoothing curve to show the relationship between peak percent creatinine change and hospital death.The above graph provides a visual confirmation of a satisfactory linear relationship between peak percent creatinine change and death in hospital. The smoothed value for the response variable for each subject is a weighted average of the values of the outcome variable over all subjects. The weight of each subject is a continuous decreasing function of the distance of the covariate under consideration from the value of the covariate for all other cases (Reference: Applied Logistic Regression (3rd edition) Hosmer, Lemeshow & Sturdivant). Other than a minor wiggle around peak percent creatinine change value of 50 the plotted line appears relatively linear and there is no reason to suspect that the risk of death is not linear with peak percent creatinine change.

Figure 2

Table 2. Peak percent creatinine change and mortality in hospital: fractional polynomial comparisons

Figure 3

Table 3. Multivariable logistic regression models studying the association between peak percent creatinine change (as a continuous and categorical variable) and death in hospital following stage 1 operation

Figure 4

Figure 2. Relationship between peak percent creatinine change and log-odds for death in hospital estimated using a categorical (red spike) and linear (blue dots) functional form for peak percent creatinine change.(a) Categorical relationship is represented as a step function with each step representing a category. It is clear from the figure that the relationship is constant within each category and the corresponding linear relationship within each category shows substantial variability in the log-odds for death in hospital. (b) The plotted log-odds are adjusted for other covariates.

Supplementary material: File

Zapf et al. supplementary material

Zapf et al. supplementary material

Download Zapf et al. supplementary material(File)
File 22.8 KB