Review | Open | Open Peer Review | Published:
The current application of the Royston-Parmar model for prognostic modeling in health research: a scoping review
Diagnostic and Prognostic Researchvolume 2, Article number: 4 (2018)
Prognostic models incorporating survival analysis predict the risk (i.e., probability) of experiencing a future event over a specific time period. In 2002, Royston and Parmar described a type of flexible parametric survival model called the Royston-Parmar model in Statistics in Medicine, a model which fits a restricted cubic spline to flexibly model the baseline log cumulative hazard on the proportional hazards scale. This feature permits absolute measures of effect (e.g., hazard rates) to be estimated at all time points, an important feature when using the model. The Royston-Parmar model can also incorporate time-dependent effects and be used on different scales (e.g., proportional odds, probit). These features make the Royston-Parmar model attractive for prediction, yet their current uptake for prognostic modeling is unknown. Thus, the objectives were to conduct a scoping review of how the Royston-Parmar model has been applied to prognostic models in health research, to raise awareness of the model, to identify gaps in current reporting, and to offer model building considerations and reporting suggestions for other researchers.
Five electronic databases and gray literature indexed in web sources from 2001 to 2016 were searched to identify articles for inclusion in the scoping review. Two reviewers independently screened 1429 articles, and after applying exclusion criteria through a two-step screening process, data from 12 studies were abstracted.
Since 2001, only 12 studies were identified that used the Royston-Parmar model in some capacity for prognostic modeling, 10 of which used the model as the basis for their prognostic model. The restricted cubic spline varied across studies in the number of interior knots (range 1 to 6), and only three studies reported knot placement. Three studies provided details about the baseline function, with two studies using a figure and the third providing coefficients. However, no studies provided adequate information on their restricted cubic spline to permit others to validate or completely use the model.
Despite the advantages of the Royston-Parmar model for prognostic models, they are not widely used in health research. Better reporting of details about the restricted cubic spline is needed, so the prognostic model can be used and validated by others.
The protocol was registered with Open Science Framework (https://osf.io/r3232/).
Prediction models are used in health research to relate pieces of information (i.e., predictors) to identify the probability of a state (i.e., outcome), such as whether a specific disease or condition currently exists, which is known as diagnosis, or the probability the state will occur in the future, which is known as prognosis [1, 2]. In health research, prognostic models are used for predicting the risk of the future event (i.e., probability), such as the onset of disease (i.e., incidence), disease progression or mortality over a specified time period in individuals, or subgroups of the population . While prognostic models can be constructed using various techniques (e.g., neural networks, classification trees), regression modeling is the most commonly used technique to develop, validate, and update prediction models in health research . When regression modeling is used for prognostic models, survival analysis is a common regression model type because it accounts for the relationship between the predictor(s) and the outcome(s) and the time until the occurrence of the outcome(s) [4, 5]. While predictions are often presented for a specific time point, prognostic models based on survival analysis enable predictions to be a function of study follow-up time, which increases the application of the model for different contexts. Examples of prognostic models that use regression modeling for individual risk prediction are the Framingham risk score and the Gail model [6, 7], which measure the future risk of cardiovascular disease and breast cancer development, respectively. Prognostic models can also be used for predicting the risk of disease at the population level , one example being a tool that predicts the population risk for diabetes to aid health services planning and delivery .
For some prognostic models, the framework for survival analysis is based on the Cox proportional hazards (PH) model . First described in 1972 , the Cox PH model is widely used due to its ease of calculating the relative effects of hazards between groups (i.e., hazard ratio (HR)) without needing to estimate the baseline hazard function. The Cox PH model treats the baseline hazard function as a nuisance parameter, so the partial likelihood function is maximized, which permits estimation of the regression parameters, but not the baseline hazard function. As a result, absolute measures of effects (e.g., survival probability, hazard rates) can only be estimated at the event times, which results in a step function where the estimate at one event is held constant and carried forward until the time of the next event. Two common semi-parametric methods to estimate the survival function post hoc from the Cox PH model are the Breslow estimator, which is a generalization of the Nelson-Aalen estimator of the cumulative hazard , and the Kalbfleisch-Prentice estimator, which is an extension of the Kaplan-Meier estimator of survival . The distance between steps can be reduced by using data with large sample sizes and many observed events across the study period, which permits risk prediction at many time points. Another solution is to use a smoothing method (e.g., locally weighted smoothing) on the survival curves. However, the optimal approach for prognostic models would be to utilize the baseline hazard function for the continuous mathematical estimation of the absolute measures of effect.
Parametric survival models permit direct estimation of absolute measures of effect because an underlying distribution is specified mathematically. Parametric survival models specify the baseline hazard (h0(t)), and a common specification is the Weibull distribution, which is a function of a scale parameter (λ), a shape parameter (γ), and time (t), defined as:
where the scale and shape parameters must both be greater than 0. The shape parameter defines the shape of the Weibull function, which generally is a monotonically increasing (γ > 1) or decreasing (γ < 1) hazard. The exception is when the shape parameter equals one (γ = 1), in which case the baseline hazard is reduced to an exponential distribution with a constant hazard. In situations where the underlying hazard is monotonically increasing, monotonically decreasing, or constant, the Weibull distribution can provide accurate predictions for absolute measures of effect . However, when the hazard function has a more complex shape (e.g., bathtub shape, J shape), specifying a Weibull distribution will lead to inaccurate predictions and/or model convergence issues.
In 2002, Royston and Parmar published a paper in Statistics in Medicine describing the Royston-Parmar model, a type of flexible parametric survival model . This model features a restricted cubic spline, which solves issues encountered when using the Cox PH and parametric PH survival models. The restricted cubic spline permits estimation of a continuous function instead of a step function. As well, more complex shapes can be modeled, which avoid inaccurate predictions and model convergence issues. In the PH context, the Royston-Parmar model can be thought of as a generalization of the Weibull distribution where a general function for the baseline log cumulative hazard function on the log timescale is modeled instead of a linear function (as is the case when a Weibull distribution is pre-specified). The log cumulative hazard function on the log timescale for a Weibull distribution is:
where the first two terms—ln(λ) and γ ln(t)—describe the linear baseline function with respect to log time, and the third term—βx i —represents a vector of covariates, each weighted by a coefficient. This linear baseline function could be generalized and re-written as:
where ln[H0(t)] represents a general baseline log cumulative hazard function. Royston and Parmar proposed to model the general baseline log cumulative hazard function on the log timescale as a restricted cubic spline. A spline is a piecewise function in which the boundaries of each sub-function are defined by knots. The knots at either end of the spline are called boundary knots, and all knots between the boundary knots are called interior (aka internal) knots. Constraints are used to ensure the sub-functions are connected at the knots in a smoothed fashion so that the spline function, its first derivative, and its second derivative are continuous. A cubic spline is a spline in which all sub-functions are cubic curves. A restricted cubic spline (aka natural cubic spline) is a cubic spline with an additional restriction where the first and last sub-functions beyond the boundary knots are linear functions instead of cubic functions. A restricted cubic spline can be expressed as :
where K is the number of knots, zi are derived variables, and ηi are the coefficients for the derived variables. The derived variables can be calculated as:
where ki represents the position of the ith knot and ϕj = (kK − kj)/(kK − k1). It is possible for the derived variables to be correlated, so the derived variables can be orthogonalized using the Gram-Schmidt orthogonalization . When the intercept is not considered, the degrees of freedom are equal to the number of interior knots plus one. The Royston-Parmar model under a PH context can be expressed mathematically as:
where s(ln(t)| η, k0) is a restricted cubic spline that is a function of the coefficients of the derived variables (η) and the number of knots (k0) (Eq. 4). The restricted cubic spline permits baseline log cumulative hazard functions with complex shapes to be fit, including functions with multiple increasing and/or decreasing regions. The boundary knots are placed at the extreme uncensored survival times, which improve the stability of the fitted function [14, 17]. Specifying the number and placement of the interior knots defines the shape of the baseline log cumulative hazard function. More interior knots increase the flexibility of the fitted function at the risk of overfitting the model; conversely, fewer interior knots decrease the flexibility of the fitted function at the risk of underfitting the model. When no interior knots are specified, the restricted cubic spline reduces to a linear function (i.e., the Weibull distribution). Knot placement is also important. Interior knots spaced further apart will capture the overall shape of the function at the risk of missing the nuances of the function; conversely, interior knots spaced closer together will capture more nuances at the risk of modeling random noise. While previous work has shown the number and placement of knots to be robust for modeling the baseline function [14, 18,19,20], varying the number and placement of knots in a sensitivity analysis helps ensure the baseline function is well specified. Sensitivity analysis can also be performed to examine the fit of the restricted cubic spline on other scales (i.e., the proportional odds (PO) scale as an extension for the log-logistic distribution, or the probit scale as an extension for the log-normal distribution) because the Royston-Parmar model was developed within the Aranda-Ordaz family of link functions . Since 2002, Royston-Parmar models have been extended to relative survival models in 2007 . In the context of mortality, relative survival models compare the observed all-cause survival for a group of individuals (e.g., cancer patients) (S(t)) relative to the expected survival of a comparable group representing the general population (S*(t)) to obtain an estimate of relative survival (R(t)). The corresponding hazard function describes the excess hazard rate associated with the group of interest (δ(t)) as the difference between the observed hazard rate for the group of interest (h(t)) and the expected hazard for the general population (h*(t)).
Relative survival indicates how much worse (or better) the survival is for the group of interest relative to the general population and is used when the cause of death is inaccurate or unknown. Recently, the Royston-Parmar model has been extended to the cure model (2011) [17, 21], a relative survival model where the excess hazard becomes zero over time (δ(t) = 0) for individuals who are still alive; cause-specific competing risks where individuals are at-risk for more than one outcome, and the occurrence of one outcome prevents or alters the probability of another outcome occurring (2013) ; and joint modeling of longitudinal and survival data (2011) .
In the PH context, Royston-Parmar model can be thought of as a hybrid approach of the parametric survival model and the Cox PH model. Modeling the baseline log cumulative hazard function as a restricted cubic spline is similar to the parametric survival model, but the complexities of the baseline function can be modeled without sacrificing model fit. The restricted cubic spline can also be reported mathematically as a function of derived variables and their coefficients and the number of knots (Eq. 4). This expression permits the continuous estimation absolute and relative measures of effect and their uncertainty, which is an advantage versus the Cox PH model combined with an estimator. Continuous estimation of absolute measures of effect (e.g., hazard rates, differences in survival probability, standardized survival function, population-averaged survival function) increases the applicability the prognostic model because time-specific predictions can be made by the user. Despite these advantages of the Royston-Parmar over the Cox PH model (with an estimator) and parametric survival models for prognostic modeling, the use of the model in health research for prognostic models is unknown. Thus, a scoping review of the application of the Royston-Parmar model for prognostic models in health research was conducted to document its current use, to raise awareness of the model, to identify gaps in current reporting, and to offer recommendations for future reporting.
Scoping review framework
To achieve our objective of documenting the current use of the Royston-Parmar model for prognostic models in health research, we chose the scoping review framework proposed by Arksey and O’Malley and refined by the Joanna Briggs Institute [24, 25]. A scoping review is a knowledge synthesis strategy that provides a broad overview of a topic by mapping the breadth and depth of its evidence. Like a systematic review, a scoping review uses a systematic, predefined search strategy to comprehensively search the literature; however, scoping reviews seldom critically appraise the quality of the literature using a scoring instrument or include a meta-analysis.
The study question follows the Population, Concept and Context elements which have a broader scope and aligns better with a scoping review than the traditional Population, Intervention, Comparison, Outcome elements used for systematic reviews . The specific question of this study was “To date, how have Royston-Parmar models been applied for prognostic modeling in health research?”. The scoping review protocol was registered with Open Science Framework (https://osf.io/r3232/).
A search strategy consisting of three approaches—indexed databases, gray literature, and manual searches—was undertaken (specific details provided in Additional file 1: Appendix 1). The first approach was a comprehensive search of published literature indexed in six indexed, electronic databases (MEDLINE, EMBASE, CINAHL, Scopus, Web of Science, and the Cochrane Library). With the guidance of a librarian, a search string consisting of subject headings and keywords related to the research question was created. Specifically, subject headings for survival analysis and health research (e.g., epidemiology, medicine, public health, health services research) were identified and combined with keywords for the Royston-Parmar model, the model’s features (e.g., restricted cubic splines), and statistical software commands used for estimating Royston-Parmar models (e.g., Stata sptm2 command). Where appropriate, plurality, alternative spelling, and synonyms (e.g., flexible parametric model) were used. The search string was tailored to each electronic database’s syntax.
The second approach searched the gray literature indexed in web sources with limits that restricted the search to relevant hits. Search strings related to the Royston-Parmar model and flexible parametric survival models applied in Google Scholar and limited to the first 200 hits. Additionally, web searches using the Google search engine were performed and limited to the first 30 search results—one for the Royston-Parmar model and a second for flexible parametric survival models. If the result was a web page instead of a publication, the result was explored for publications and/or publication lists. The cutoff limit was different between the two searches because the relevancy of the hits varied by search type. All Google-related searches were conducted on October 26, 2016.
The third approach was manual searches for potentially missing documents. A citation search was used, which looks for a key article in the reference list of documents. In this review, a citation search using PubMed was conducted using selected foundational articles relating to the creation and methodological development of the Royston-Parmar model [14, 18,19,20, 22, 23, 26,27,28,29] as the key articles. Finally, all articles listed on the personal websites of selected primary authors that published on the creation and development of the Royston-Parmar model were also searched (i.e., Paul C. Lambert, Patrick Royston, and Mahesh K.B. Parmar).
Each approach was restricted to studies involving human subjects, disseminated in the English language, and published from 2001 to 2016. While the seminal article describing the Royston-Parmar model was published in 2002 , a companion technical article describing the estimation of the Royston-Parmar model with Stata was published earlier in 2001 .
Study inclusion criteria
This scoping review focused on documents that described the application of the Royston-Parmar model in the development and/or validation of a prognostic model for a health-related outcome. This requirement led to the exclusion of:
Methodology articles where the main aim was to describe a methodological development related to the Royston-Parmar model, including articles in which the methodology was demonstrated using real-world or simulated data;
Technical reports describing how to model data with the Royston-Parmar model within statistical software (e.g., Stata);
Associational studies and description of trend studies where the main aim was to examine the association between risk (/protective) factor(s) and time-to-event outcomes, rather than for risk prediction.
Articles were also excluded if the outcome was unrelated to clinical health, population health, or the social determinants of health. Articles with only an abstract (e.g., conference proceedings) were excluded because of the lack of reported methodological detailed regarding the Royston-Parmar model. Both univariable and multivariable prognostic models were considered.
After combining all documents and removing duplicates using the Mendeley reference management software, 1429 articles were eligible for inclusion (Fig. 1). Exclusion criteria were applied at two levels of assessment: a first screening based on the title and abstract (1116 articles excluded) followed by a second screening of the full text for remaining documents (301 excluded). Both assessments were conducted independently by two reviewers (KK and RN) and logged into a standardized, piloted relevance form. Disagreements between the two reviewers were resolved through discussion against the inclusion criteria. After the assessments, 12 articles were eligible for abstraction [30,31,32,33,34,35,36,37,38,39,40,41].
Data abstraction and synthesis
Data were abstracted using a standardized, piloted abstraction form. Data were abstracted by one reviewer and verified by the second reviewer; disagreements were resolved through discussion. The data were abstracted and synthesized according to three themes—study characteristics, specifications of the Royston-Parmar model, and factors corresponding to the application of the Royston-Parmar model to prognostic modeling of health-related outcomes—described briefly below. If the article described more than one prognostic model constructed using the Royston-Parmar model, details from each model were abstracted. The prognostic model described in most detail was identified as the main prognostic model, and its characteristics are presented with the other models presented as sensitivity analyses in relation to the main model.
General study characteristics, such as author, year of publication, and subject area (e.g., cancer, cardiovascular, aging); and
Study methods, such as cohort details (e.g., study location, study setting, study size), prognostic factors, and outcomes.
Royston-Parmar model specifications, such as number of knots, placement of knots, sensitivity analysis of the number and placement of knots, software used, and model extensions (e.g., relative survival, competing risk);
Application of the Royston-Parmar model to prognostic models of health-related outcomes
Development and validation details, such as measures of overall performance (e.g., R2), discrimination (e.g., Harrell’s C statistic), calibration (e.g., Hosmer-Lemeshow goodness of fit), and validation (e.g., internal, external validation);
Results reported from the Royston-Parmar model, including baseline hazard functions (equation or figure), hazard rates, survival rates, and cure proportions;
Sensitivity analysis and comparisons to other survival analysis methods including goodness of fit measures (e.g., Akaike information criterion (AIC)); and
The rationale reported for using a Royston-Parmar model, including its benefits and limitations.
There were 12 studies that applied the Royston-Parmar model for the development and/or validation of a prognostic model for health research [30,31,32,33,34,35,36,37,38,39,40,41]. Ten studies used the Royston-Parmar model as the main survival analysis method for their prognostic model [30,31,32,33,34,35, 37,38,39, 41]; the other two studies used it to complement their Cox PH-based prognostic model approach [36, 40]. In these two studies, the Royston-Parmar model was used in one instance to depict the unadjusted hazard function  and in the other to show the adjusted survival curve . Two of the studies had developers of the Royston-Parmar model as co-authors [34, 41].
Table 1 summarizes the study characteristics. All studies were published from 2012 onwards with the most published in 2016 (n = 4). The studies spanned eight countries with the largest number originating from the UK (n = 3), the country from where the model originated. The prognostic models were developed in six subject areas, with half the studies related to cancer (n = 6). Most prognostic models used either administrative data (n = 7) or clinical data (n = 3), with the study setting as specific as a hospital (n = 4) to as broad as a country (n = 3) and the sample sizes ranging from 185 to 870,878 individuals. The most common event measured was mortality (n = 10) and maximum follow-up time ranged from 0.5 to 21 years. All studies except one used calendar time as the timescale; the other used age.
Royston-Parmar model specifications
Table 2 summarizes the Royston-Parmar model specifications of included studies. Ten of the 12 studies used the Royston-Parmar model as the basis for their prognostic model, 4 of which used the model in a relative survival model, and 2 of which incorporated cure models; all relative survival models were for cancer studies. Only one of the 12 studies focused on the improvement in prognosis when biomarkers were added to the model . Eight of the 12 studies reported the number of knots. Studies were more likely to specify the number of knots in terms of degrees of freedom (n = 6) as opposed to the number of knots (n = 2). The number of interior knots used in the eight studies ranged from 1 to 6. Only three of these studies described the placement of knots, all of which spaced the knots evenly across the distribution of uncensored log event times. Five of the 12 studies reported conducting sensitivity analyses to check the number and/or placement of knots using AIC or Bayesian information criterion (BIC). Interestingly, four studies incorporated sensitivity analyses that looked at the fit of the restricted cubic spline on the PO and/or probit scales. One study compared the fit of the restricted cubic spline on the PO and PH scales and found that the PO scale led to the best fit. Three studies compared all three scales, and two found the probit scale provided the best fit while the other found the PH scale provided the best fit. Nine of the 12 studies used the PH scale for their Royston-Parmar model. No studies specified whether they orthogonalized their bases functions. Eleven studies reported conducting their analysis in Stata, five of which reported using the updated command for Royston-Parmar models, stpm2.
Application of the Royston-Parmar model to prognostic models of health-related outcomes
Of the ten studies that based their prognostic model on a Royston-Parmar model, six conducted internal validation (two used split-sample validation [30, 39], three used cross-validation [32, 35, 41], and one used bootstrap validation ), and two others conducted geographical external validation [32, 37]. Overall measures of performance to account for the variation explained using R2 was reported in three studies [30, 35, 41]. Discrimination—the ability to distinguish between individuals with and without the event—was reported in five studies [30, 32, 37, 39, 41]. The most commonly reported measure was Harrell’s c statistic (n = 4) [32, 37, 39, 41], a discrimination measure that represents the probability an individual is correctly identified as having a longer survival time than another random subject while considering censoring . One study reported the Royston and Sauerbrei’s D statistic —the separation between the survival distributions of two groups —and one reported discrimination (Yates) slopes —the separation in average predictions between subjects with and without the event . Calibration—the agreement between observed outcomes and predictions—was reported in six studies with five studies comparing observed results with predicted results using Kaplan-Meier plots [30, 32, 37, 39, 41]. One study compared predicted estimates to life table estimates , another study conducted Hosmer-Lemeshow tests , and a third study calculated scaled Brier scores . In the one study that examined the prognostic value of biomarkers , category-free net reclassification improvement and integrated discrimination improvement were used, which are two measures that examine how individuals are reclassified based on the addition of a new prognostic factor. All measures of performance used in the studies were the same as the measures of performance used in other survival analysis models (i.e., they did not need to be adapted to the flexible parametric survival model).
Across studies, 15 different estimates were reported from the prognostic models (Table 3). The most common estimates reported were survival-related estimates (n = 9) (i.e., survival, relative survival, net survival) and hazard rate-related estimates (n = 5) (i.e., hazard rate, excess hazard rate). Only three studies reported information related to a baseline function: two provided a figure of a baseline function (one was a survival curve , the other was a hazard function ), and the third provided the coefficients for the derived variables of the restricted cubic spline . No studies provided enough details for their restricted cubic spline to permit the reader to use the model for full prediction or to validate the model. Nine of the ten Royston-Parmar prognostic models reported at least one type of summary estimate for prediction: prediction table (n = 4) [31, 33, 35, 41], survival curve (n = 3) [30, 39, 41], score chart (n = 2) [32, 38], or a figure (n = 1) . The Cox proportionality assumption was considered in nine studies [30, 31, 33,34,35, 37,38,39,40,41]. Four of these studies tested for non-proportionality explicitly using either log-log plots (n = 1) , test for proportionality using Schoenfeld residuals (n = 1) , or interactions with time (n = 2) [38, 41]. Of the other five studies, one study assumed non-proportional hazards (n = 1), while the other four did not report formal testing (n = 4). Three of the nine studies included interaction terms to account for non-proportional hazards [31, 32, 37], two of which used a second restricted cubic splines to model the interaction (as opposed to a linear interaction term) [31, 32]; this restricted cubic spline is different than the spline used to model the baseline cumulative hazard. Of the two studies that used a restricted cubic spline to model the interaction, neither study reported enough details to allow the reader to reconstruct this other restricted cubic spline. Three other studies had violations of the proportionality assumptions [38, 39, 41], but they were not considered in the final prognostic model because the estimates and/or the model fit did not change when non-proportionality was considered in the model.
In four studies, the Royston-Parmar model was compared to another survival model (one to a Cox model , two to a Weibull model [35, 39], and one to two non-parametric approaches for estimating net survival, the period and hybrid approaches ).The two studies comparing the Royston-Parmar model to a Weibull model reported a better fit of the baseline hazard with the Royston-Parmar model, while the other two studies reported improved prediction accuracy using the flexible survival approach versus the Cox model and non-parametric approaches. Nine studies provided at least one benefit for using the Royston-Parmar model (Table 4) with the main reasons being that this model improved model accuracy (n = 5) [30, 31, 34, 35, 41] and that they allowed the baseline function to be modeled in a flexible manner (n = 4) [30, 32, 39, 41]. Two studies mentioned limitations of the Royston-Parmar model, which were the baseline hazard could be overfitted , and the difficulties of interpreting a model with multiple time-dependent effects because the hazard ratios are dependent on more than one covariate .
Our scoping review revealed that the application of the Royston-Parmar model for prognostic modeling is not commonly used. As of October 2016, only ten prognostic models were built using a Royston-Parmar model, even though this model was introduced in 2002 . A key advantage of Royston-Parmar model is the ability to model the baseline log cumulative hazard function flexibly with a restricted cubic spline so complex functions can be fit and used for continuous, mathematical risk prediction for a variety of measures like hazard rates, differences in survival probabilities, standardized survival functions, and cure proportions . In two instances, the developers of a Cox-based prognostic model utilized the Royston-Parmar to complement their Cox-based prognostic model; however, no reasons were provided as to why the Cox PH model was selected over the Royston-Parmar model.
The most common benefit described by the studies was that the Royston-Parmar model improved model accuracy (n = 5). Two studies referenced this benefit while the other three studies that made this claim provided evidence from their data by comparing the calibration of the Royston-Parmar model to other models (e.g., Cox PH model), two of which used apparent validation while the other used internal validation. While this potential benefit is based on a select, few studies, if the Royston-Parmar model does generally improve model calibration versus other survival models, this further advocates for the development of prognostic models using the Royston-Parmar model, especially because the model can easily estimate absolute measures of effect. Reporting comparisons of performance measures (i.e., calibration and discrimination) between the Royston-Parmar model and traditional models (e.g., Cox PH model) during model development in future studies would clarify this benefit. One study did not mention model accuracy as a benefit but did find better discrimination in the Royston-Parmar prognostic model versus the Cox PH prognostic model during external validation . More research is needed to understand how the predictive performance of the Royston-Parmar model compares to other survival models during validation, in particular for external validation which assesses the model’s generalizability.
The most surprising finding from this scoping review was the lack of complete reporting around the restricted cubic spline. The second most common strength of the Royston-Parmar model as found in this review was that it permitted the baseline function to be modeled in a more flexible manner compared to parametric PH survival models, which constrain the baseline function to specified distributions. This benefit implies that researchers were aware that prognostic models could provide continuous risk prediction. Despite this benefit, no study reported enough details to allow others to reconstruct the baseline function for future use. Two pieces of information related to the restricted cubic spline are required to mathematically predict risks from the Royston-Parmar model—the derived variables and their coefficients. None of the studies provided enough information to determine the derived variables, which can only be calculated if the values of the knot positions are provided explicitly. Only three of the studies mentioned the placement of the knots, all of which mentioned the interior knots were evenly spaced. However, this is not sufficient information to calculate the exact placement of the knots because the knot positions are dependent on the distribution of the uncensored log event times, which is data-specific. The coefficients of the derived variables are also required, yet only one study published them. There was also a lack of reporting as to whether orthogonalization was performed, which is not necessary for the post-estimation, but provides further details as to how the restricted cubic spline was specified. Possible reasons as to why the complete information was not published include lack of available space in the article or proprietary reasons. Unfortunately, by not reporting all of the model parameter estimates such as the restricted cubic spline used to fit the baseline log cumulative hazard function, not only is the ability for complete risk prediction prevented, but it stops other researchers from applying and validating the model in other settings. Validation was raised as a benefit by two of the studies, yet ironically, not enough information was provided in either study to permit validation of their complete prognostic model. However, nine of the studies did provide simplified methods for prediction. Based on the scoping review findings that construction of the baseline cumulative hazard functions were different between studies and that the reporting of the baseline function varied across studies, we present model-building considerations for the baseline cumulative hazard function and reporting suggestions for the Royston-Parmar model to help address concerns about overfitting and to increase the transparency of how this model is used in practice.
Model building considerations for the baseline cumulative hazard function
The main two considerations for modeling the baseline cumulative hazard function with a restricted cubic spline are the number of knots and their placement. While previous research suggests that the baseline cumulative hazard function of the Royston-Parmar model is generally robust to the number and placement of knots [14, 18, 19], we believe it is important to still examine the number of knots and their placement to ensure the specified restricted cubic spline fits the model well and to understand how robust the model is to different parameterizations of the restricted cubic spline. In terms of the number of knots, previous research on the general use of restricted cubic splines suggests that splines with more than five knots are seldom required . Based on this, we recommend that restricted cubic splines ranging from two to six knots (i.e., zero to four interior knots) should be examined, but up to eight knots (i.e., six interior knots) may be needed as evidenced by some studies included in this review. The two-knot model (i.e., zero interior knots) is equivalent to a parametric survival model with a Weibull distribution.
For a given number of knots, Royston and Parmar originally suggested placing the boundary knots at the smallest and largest uncensored log survival times and then to place the internal knots such that they divide log time into equal percentiles . This knot placement strategy is based on previous recommendations for knot placement when generally using restricted cubic splines . For example, a restricted cubic spline with three internal knots would have the internal knots positioned at the 25th, 50th, and 75th percentiles. One simulation study found that using this strategy, if a sufficient number of knots are used in a Royston-Parmar model, the fitted hazard functions are similar to the true function and that the estimated relative effects (i.e., HRs) are insensitive to the correct specification of the baseline function . Another strategy suggested by Royston is that for a given number of knots, the placement of the knots can be randomized many times, and the model in which the position of knots results in the best model fit as measured with an information criterion (e.g., AIC, BIC, both) is used . However, selecting knot position in this manner may result in overfitting, and no studies have examined this strategy on parameter estimation. A third strategy is that if the baseline function has been well-characterized in the literature (e.g., the model has been previously validated), the number of knots and their placement is based on this shape. Like the randomized knot strategy, no studies have looked at the effectiveness of this strategy.
Regardless of the strategy used, as our scoping review found, the fitted baseline cumulative hazard functions from different models can be compared with a measure of information criterion (e.g., AIC, BIC, both) or a plot of the baseline function. Plots can help identify issues of underfitting and overfitting. If the information criterion estimates are similar between models, we recommend selecting the model with fewer knots as using additional knots will improve discrimination and/or calibration during model development, but may lead to overfitting during model validation. Model fit can also be examined across different scales (i.e., PH, PO, probit), but we recommend the choice be guided by how the model will be used and interpreted. If the PH scale is chosen, the robustness of the predictor regression coefficients can be compared with the coefficients from a Cox PH model. There are many options available to implement the Royston-Parmar model. The most common option is the sptm2 command in Stata, which also includes easy-to-use post-estimation tools to measure absolute measures of effect such as hazard rates, cumulative hazard, population-averaged survival functions, and cure proportion. In R, the flexsurv and Rstpm2 packages are available for modeling, with Rstpm2 having the ability to model penalized splines. In SAS 14.1, PROC ICPHREG in SAS is an alternative as well. Lastly, general model building strategies for prediction models (e.g., missing data, variable selection, validation) should also be considered when using the Royston-Parmar model .
Reporting suggestions for the baseline cumulative hazard function
Not only is it important to correctly specify the baseline cumulative hazard function, it is also important to report details about the baseline function. Reporting all details about the baseline function will improve the transparency of the final model and permit other people to use and/or validate the model. The “Methods” section should describe in adequate detail the process of specifying the restricted cubic spline, including any strategies used to test the robustness of the restricted cubic spline such as whether the number of knots and/or the knot placements were varied, the types of scales examined (e.g., PH, PO, probit), and the model selection strategies used (e.g., information criterion and/or plots). Details about the restricted cubic spline used to model the final baseline cumulative hazard function should be reported including the number of knots and the exact placements of the knots on the log timescale (i.e., their values)—and not just their percentiles—so the derived variables can be determined. The coefficients of the derived variables should also be reported. If the derived variable functions were orthogonalized, this should also be reported. Ideally, this information is provided in the text of the article, but alternatives include a supplementary appendix or a statement that the information can be provided upon contact with the researchers. The code used to model the data should also be provided to increase transparency. The suggestions provided for reporting the baseline cumulative hazard function here should be used in conjunction with general reporting guidelines (e.g., TRIPOD, REMARK) for prognostic models so that all aspects of model development and/or validation (e.g., sources of data, participants, candidate predictors, missing data, statistical analysis methods, model development, model validation) are transparent [3, 48].
A feature of the Royston-Parmar model highlighted by the creators, but was only mentioned once in our review, was that the Royston-Parmar model permits flexible modeling of a time-dependent effect by including a second restricted cubic spline. Consideration of time dependency is especially important in studies with long follow-up time where violations of the proportionality assumption are more likely to occur. Two of the studies modeled time dependency using a second restricted cubic spline in their prognostic model. However, sufficient details for both the baseline and the time-dependent restricted cubic splines must be provided for time-dependent prediction. If time dependency is also modeled using restricted cubic splines, its details should be reported in a similar manner as the restricted cubic spline used to model the baseline cumulative hazard function. One limitation of using restricted cubic splines for time-dependent effects is that when there is more than one time-dependent effect, interpreting relative effects is difficult (e.g., HR); however, absolute measures of effect are more important for prognostic models, so the increased precision from modeling the time-dependent effects with restricted cubic splines may outweigh the interpretability of the relative effects. A solution to this limitation has been proposed where another flexible parametric survival model is used where the baseline log hazard function is modeled as a restricted cubic spline (as opposed to the log cumulative hazard function) . While modeling the baseline hazard function as a restricted cubic spline is not a new idea [50, 51], this model is more computationally intensive than the Royston-Parmar model .
To our knowledge, there are no subject headings in the indexed databases for Royston-Parmar models, so our search strategy relied on keyword searches. However, an inherent limitation of keyword searches is that it is limited to the title and abstract. In particular, this scoping review focused on a survival analysis method that is less likely to be described in the title and abstract compared to non-methodological content (e.g., interventions for disease prevention), which would reduce the accuracy of keyword searching. Thus, the search strategy may have missed articles resulting in an underestimation of the number of studies that applied the Royston-Parmar model for prognostic modeling. However, the Royston-Parmar model is a relatively novel survival analysis method, so it is more likely to be mentioned in an abstract compared to a traditional method like the Cox PH model. As well, three approaches were used in the search strategy to be comprehensive, including citation searches of all articles that were significant to the creation and methodological development of the Royston-Parmar model [14, 18,19,20, 22, 23, 26,27,28,29]. Despite this wide-ranging search strategy, there was at least one instance where an article was missed by our search strategy . In this instance, the abstract had no keywords listed in the search strategy, and the citation search did not identify the article even though the paper cited the original paper by Royston and Parmar.
The feature of the Royston-Parmar model to flexibly model the baseline log cumulative hazard function with a restricted cubic spline for continuous mathematical risk prediction of absolute measures of effect (e.g., hazard rates, survival function) makes it an ideal survival analysis method for prognostic modeling. However, this scoping review shows that this model has only been used a handful of times for prognostic modeling in a health context. The scoping review also showed that key pieces of information required to reconstruct the baseline restricted cubic spline are rarely reported (i.e., the exact placement of the knots across the uncensored log event times and the coefficients of the derived variables). We have provided model building considerations and reporting suggestions for prognostic models built using the Royston-Parmar model to address model overfitting, enhance transparency in model development, and aid model validation and adaptation by others.
Akaike information criterion
Bayesian information criterion
Steyerberg EW, Vickers AJ, Cook NR, Gerds T, Gonen M, Obuchowski N, et al. Assessing the performance of prediction models: a framework for traditional and novel measures. Epidemiology. 2010;21:128–38. https://doi.org/10.1097/EDE.0b013e3181c30fb2.
Steyerberg EW. Clinical prediction models. New York: Springer New York; 2009. https://doi.org/10.1007/978-0-387-77244-8.
Moons KGM, Altman DG, Reitsma JB, Ioannidis JP a, Macaskill P, Steyerberg EW, et al. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): explanation and elaboration. Ann Intern Med. 2015;162:W1–73. https://doi.org/10.7326/M14-0698.
Collins GS, Reitsma JB, Altman DG, Moons KGM. Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. Ann Intern Med. 2015;162:55–63. https://doi.org/10.7326/M14-0697.
Lemeshow S, Hosmer DW, Lemeshow S, May S. Applied survival analysis. Second. Hoboken: John Wiley & Sons, Inc.; 2008. https://doi.org/10.1002/9780470258019.
Anderson KM, Wilson PW, Odell PM, Kannel WB. An updated coronary risk profile. A statement for health professionals. Circulation. 1991;83:356–62. https://doi.org/10.1161/01.CIR.83.1.356.
Gail MH, Brinton LA, Byar DP, Corle DK, Green SB, Schairer C, et al. Projecting individualized probabilities of developing breast cancer for white females who are being examined annually. J Natl Cancer Inst. 1989;81:1879–86.
Manuel DG, Rosella LC, Hennessy D, Sanmartin C, Wilson K. Predictive risk algorithms in a population setting: an overview. J Epidemiol Community Health. 2012;66:859–65. https://doi.org/10.1136/jech-2012-200971.
Rosella LC, Manuel DG, Burchill C, Stukel TA. A population-based risk algorithm for the development of diabetes: development and validation of the Diabetes Population Risk Tool (DPoRT). J Epidemiol Community Health. 2011;65:613–20. https://doi.org/10.1136/jech.2009.102244.
D’Agostino RB Sr, Grundy S, Sullivan LM, Wilson P, for the CHD Risk Prediction Group. Validation of the Framingham coronary heart disease prediction scores. JAMA. 2001;286:180. https://doi.org/10.1001/jama.286.2.180.
Cox DR. Regression models and life-tables. J R Stat Soc Ser B. 1972;34:187–220.
Breslow N. Covariance analysis of censored survival data. Biometrics. 1974;30:89. https://doi.org/10.2307/2529620.
Kalbfleisch JD, Prentice RL. The statistical analysis of failure time data. Hoboken: John Wiley & Sons, Inc.; 2002. https://doi.org/10.1002/9781118032985.
Royston P, Parmar MKB. Flexible parametric proportional-hazards and proportional-odds models for censored survival data, with application to prognostic modelling and estimation of treatment effects. Stat Med. 2002;21:2175–97. https://doi.org/10.1002/sim.1203.
Durrleman S, Simon R. Flexible regression models with cubic splines. Stat Med. 1989;8:551–61.
Golub G, Loanvan C. Matrix computations. 3rd ed. Baltimore: John Hopkins University Press; 1996.
Andersson TML, Dickman PW, Eloranta S, Lambert PC. Estimating and modelling cure in population-based cancer studies within the framework of flexible parametric survival models. BMC Med Res Methodol. 2011;11:96. https://doi.org/10.1186/1471-2288-11-96.
Lambert PC, Royston P. Further development of flexible parametric models for survival analysis. Stata J. 2009:265–90.
Nelson CP, Lambert PC, Squire IB, Jones DR. Flexible parametric models for relative survival, with application in coronary heart disease. Stat Med. 2007;26:5486–98. https://doi.org/10.1002/sim.3064.
Rutherford MJ, Crowther MJ, Lambert PC. The use of restricted cubic splines to approximate complex hazard functions in the analysis of time-to-event data: a simulation study. J Stat Comput Simul. 2015;85:777–93. https://doi.org/10.1080/00949655.2013.845890.
Andersson TM-L, Dickman PW, Eloranta S, Lambe M, Lambert PC. Estimating the loss in expectation of life due to cancer using flexible parametric survival models. Stat Med. 2013;32:5286–300.
Hinchliffe SR, Lambert PC. Flexible parametric modelling of cause-specific hazards to estimate cumulative incidence functions. BMC Med Res Methodol. 2013;13:13. https://doi.org/10.1186/1471-2288-13-13.
Crowther MJ, Abrams KR, Lambert PC. Flexible parametric joint modelling of longitudinal and survival data. Stat Med. 2012;31:4456–71. https://doi.org/10.1002/sim.5644.
Arksey H, O’Malley L. Scoping studies: towards a methodological framework. Int J Soc Res Methodol. 2005;8:19–32. https://doi.org/10.1080/1364557032000119616.
The Joanna Briggs Institute. Joanna Briggs institute reviewers’ manual 2015—methodology for JBI scoping reviews. Adelaide; 2015. https://joannabriggs.org/assets/docs/sumari/Reviewers-Manual_Methodology-for-JBI-Scoping-Reviews_2015_v2.pdf.
Royston P. Flexible parametric alternatives to the Cox model, and more. Stata J. 2001;1:1–38.
Royston P, Lambert PC. Flexible parametric survival analysis using Stata: beyond the Cox model. College Station: Stata Press; 2011. http://www.stata-press.com/books/preview/fpsaus-preview.pdf.
Hinchliffe SR, Lambert PC. Extending the flexible parametric model for competing risks. Stata J. 2013;13:344–55.
Royston P. Flexible parametric alternatives to the Cox model: update. Stata J. 2004;4:98–101.
Miladinovic B, Kumar A, Mhaskar R, Kim S, Schonwetter R, Djulbegovic B, et al. A flexible alternative to the Cox proportional hazards model for assessing the prognostic accuracy of hospice patient survival. PLoS One. 2012;7:e47804.
Myklebust TÅ, Aagnes B, Møller B. An empirical comparison of methods for predicting net survival. Cancer Epidemiol. 2016;42:133–9. https://doi.org/10.1016/j.canep.2016.04.006.
Fox R, Berhane S, Teng M, Cox T, Tada T, Toyoda H, et al. Biomarker-based prognosis in hepatocellular carcinoma: validation and extension of the BALAD model. Br J Cancer. 2014;110
Baade PD, Youlden DR, Andersson TM-L, Youl PH, Kimlin MG, Aitken JF, et al. Estimating the change in life expectancy after a diagnosis of cancer among the Australian population. BMJ Open. 2015;5:e006740.
Andersson TML, Eriksson H, Hansson J, Månsson-Brahme E, Dickman PW, Eloranta S, et al. Estimating the cure proportion of malignant melanoma, an alternative approach to assess long term survival: a population-based study. Cancer Epidemiol. 2014;38:93–9. https://doi.org/10.1016/j.canep.2013.12.006.
Ramezani Tehrani F, Mansournia MA, Solaymani-Dodaran M, Steyerberg E, Azizi F. Flexible parametric survival models built on age-specific antimullerian hormone percentiles are better predictors of menopause. Menopause. 2016;23:676–81. https://doi.org/10.1097/GME.0000000000000599.
Sanchis J, Bonanad C, Ruiz V, Fernández J, García-Blas S, Mainar L, et al. Frailty and other geriatric conditions for risk stratification of older patients with acute coronary syndrome. Am Heart J. 2014;168:784–91. https://doi.org/10.1016/j.ahj.2014.07.022.
Csordas A, Fuchs D, Frangieh AH, Reibnegger G, Stähli BE, Cahenzly M, et al. Immunological markers of frailty predict outcomes beyond current risk scores in aortic stenosis following transcatheter aortic valve replacement: role of neopterin and tryptophan. IJC Metab Endocr. 2016;10:7–15. https://doi.org/10.1016/j.ijcme.2015.11.002.
Castillo JJ, Winer ES, Olszewski AJ. Population-based prognostic factors for survival in patients with Burkitt lymphoma: an analysis from the surveillance, epidemiology, and end results database. Cancer. 2013;119:3672–9. https://doi.org/10.1002/cncr.28264.
Li B, Cairns JA, Robb ML, Johnson RJ, Watson CJE, Forsythe JL, et al. Predicting patient survival after deceased donor kidney transplantation using flexible parametric modelling. BMC Nephrol. 2016;17 https://doi.org/10.1186/s12882-016-0264-0.
Eyre DW, Walker AS, Wyllie D, Dingle KE, Griffiths D, Finney J, et al. Predictors of first recurrence of Clostridium difficile infection: implications for initial management. Clin Infect Dis. 2012;55(Suppl 2):S77–87. https://doi.org/10.1093/cid/cis356.
Baade PD, Royston P, Youl PH, Weinstock MA, Geller A, Aitken JF. Prognostic survival model for people diagnosed with invasive cutaneous melanoma. BMC Cancer. 2015;15:27. https://doi.org/10.1186/s12885-015-1024-4.
Harrell FE, Lee KL, Califf RM, Pryor DB, Rosati RA. Regression modelling strategies for improved prognostic prediction. Stat Med. 1984;3:143–52. https://doi.org/10.1002/sim.4780090503.
Royston P, Parmar MKB, Sylvester R. Construction and validation of a prognostic model across several studies, with an application in superficial bladder cancer. Stat Med. 2004;23:907–26. https://doi.org/10.1002/sim.1691.
Yates JF. External correspondence: decompositions of the mean probability score. Organ Behav Hum Perform. 1982;30:132–56. https://doi.org/10.1016/0030-5073(82)90237-9.
Stone CJ, Koo CY. Additive splines in statistics. Proc Stat Comput Sect ASA. 1985:45–8.
Crowther MJ, Andersson TML, Lambert PC, Abrams KR, Humphreys K. Joint modelling of longitudinal and survival data: incorporating delayed entry and an assessment of model misspecification. Stat Med. 2016;35:1193–209. https://doi.org/10.1002/sim.6779.
Harrell FE. Regression modeling strategies. Cham: Springer International Publishing; 2015. https://doi.org/10.1007/978-3-319-19425-7.
Altman DG, McShane LM, Sauerbrei W, Taube SE. Reporting recommendations for tumor marker prognostic studies (REMARK): explanation and elaboration. PLoS Med. 2012;9:e1001216. https://doi.org/10.1371/journal.pmed.1001216.
Crowther MJ, Lambert PC. A general framework for parametric survival analysis. Stat Med. 2014;33:5280–97. https://doi.org/10.1002/sim.6300.
Herndon JE, Harrell FE. The restricted cubic spline hazard model. Comm Stat Th Meth. 1990;19:639–63. https://doi.org/10.1080/03610929008830224.
Herndon JE, Harrell FE. The restricted cubic spline as baseline hazard in the proportional hazards model with step function time-dependent covariables. Stat Med. 1995;14:2119–29. https://doi.org/10.1002/sim.4780141906.
Ensor J, Riley RD, Jowett S, Monahan M, Snell KIE, Bayliss S, et al. Prediction of risk of recurrence of venous thromboembolism following treatment for a first unprovoked venous thromboembolism: systematic review, prognostic model and clinical decision rule, and economic evaluation. Health Technol Assess (Rockv). 2016;20:1–191. https://doi.org/10.3310/hta20120.
We would like to acknowledge the expertise of Vincci Lui, a librarian at the Gerstein Science Information Centre, who was consulted for advice on developing and refining the search strategy. The authors also wish to thank the two peer reviewers for their constructive comments on an earlier draft of the paper.
This study was funded by the Canadian Institutes of Health Research Partnerships for Health System Improvement [FRN 141803], the Ontario Ministry of Health and Long-Term Care [Grant 6717], and Research Manitoba.
Availability of data and materials
All abstracted studies can be obtained from their respective publishers.
No additional authors’ information provided.
Ethics approval and consent to participate
Ethics approval and consent to participate was not required for this study.
Consent for publication
Consent for publication was not required for this study.
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix 1. Search string syntax, by electronic database and search approach. (DOCX 17 kb)