 Research article
 Open Access
 Published:
Network metaanalysis of survival data with fractional polynomials
BMC Medical Research Methodology volume 11, Article number: 61 (2011)
Abstract
Background
Pairwise metaanalysis, indirect treatment comparisons and network metaanalysis for aggregate level survival data are often based on the reported hazard ratio, which relies on the proportional hazards assumption. This assumption is implausible when hazard functions intersect, and can have a huge impact on decisions based on comparisons of expected survival, such as costeffectiveness analysis.
Methods
As an alternative to network metaanalysis of survival data in which the treatment effect is represented by the constant hazard ratio, a multidimensional treatment effect approach is presented. With fractional polynomials the hazard functions of interventions compared in a randomized controlled trial are modeled, and the difference between the parameters of these fractional polynomials within a trial are synthesized (and indirectly compared) across studies.
Results
The proposed models are illustrated with an analysis of survival data in nonsmallcell lung cancer. Fixed and random effects first and second order fractional polynomials were evaluated.
Conclusion
(Network) metaanalysis of survival data with models where the treatment effect is represented with several parameters using fractional polynomials can be more closely fitted to the available data than metaanalysis based on the constant hazard ratio.
Background
Healthcare decisionmaking requires comparisons of all relevant competing interventions. If the available evidence consists of a network of multiple randomized controlled trials (RCTs) involving treatments compared directly or indirectly or both, it can be synthesized by means of network metaanalysis [1–4]. Network metaanalysis of survival data is often based on the reported hazard ratio, which relies on the proportional hazards assumption.
The proportional hazards assumption that underlies current approaches of evidence synthesis of survival outcomes is not only often implausible, but can have a huge impact on decisions based on costeffectiveness analysis. In extreme cases survival curves intersect and the hazard ratio is not constant. Furthermore, even if survival functions do not intersect, the hazard functions might and the assumption is violated. For costeffectiveness evaluations of competing interventions that aim to improve survival, differences in expected survival between the competing interventions are of interest. Common practice is to assume a certain parametric survival function for the baseline intervention (e.g. Weibull) and apply the treatment specific constant hazard ratio obtained with the (network) metaanalysis to calculate a corresponding survival function enabling comparisons of expected survival. Since the tail of the survival function has a great impact on the expected survival, violations of the constant hazard ratio can lead to severely biased estimates. Hence, the proportional hazards assumption has become a source of concern in drug reimbursement based on costeffectiveness evidence.
As an alternative to a network metaanalysis of survival data in which the treatment effect is represented by a single parameter, i.e. the hazard ratio, a multidimensional treatment effect approach is presented. With fractional polynomials the hazard over time is modeled by which the treatment effect is represented with multiple parameters [5]. With this approach a network metaanalysis of survival can be performed with models that can be fitted more closely to the data. With these parametric hazard functions, expected survival can be calculated to facilitate costeffectiveness analysis. The method is illustrated with an example.
Methods
Fractional polynomials and the hazard function
Royston and Altman introduced fractional polynomials as an extension of polynomial models for determining the functional form of a continuous predictor [5]. These models are well suited for nonlinear data. In contrast to categorizing continuous predictors, the analysis is no longer dependent on the number and choice of cut points [6]. Fractional polynomials have been used in many applications including survival and metaregression analysis [7–9].
By transforming t, a continuous variable, in a linear model the firstorder fractional polynomial model is obtained:
The power p is chosen from the following set: 2. 1, 0.5, 0, 0.5, 1, 2, 3 with t ^{0} = log t
The second order fractional polynomial is defined as:
If p _{ 1 } = p _{ 2 } = p the model becomes a 'repeated powers' model:
Royston and Altman showed that by varying p _{ 1 } and p _{ 2 } and the parameters β _{0,} β _{1} and β _{2} a wide range of curve shapes can be obtained [5, 6, 8, 10, 11].
The first order fractional polynomial for the hazard at time t of a two arm treatment B versus A randomized controlled trial can be presented as follows:
where: h _{ kt } reflect the hazard with treatment k at time t. The vector reflects the parameters β _{0} and β _{1} of the 'baseline' treatment A, whereas the vector reflects the difference in β _{0} and β _{1} of the log hazard curve for treatment B relative to A. The parameter d _{ 0 } corresponds to the treatment effect with a proportional hazard model. Under the proportional hazards assumption d _{ 1 } equals 0. If d _{ 1 } ≠ 0, d _{1} reflects the change in the log hazard ratio over time. Hence, by incorporating d _{ 1 } in addition to d _{0} a multidimensional relative treatment effect is used rather than single parameter for the relative treatment effect.
Hazard functions can have different shapes, including a constant hazard over time, a linear increasing or decreasing hazard over time, and bathtub shaped. If in equation 4 β _{1} equals 0, a constant log hazard function is obtained, reflecting exponentially distributed survival times. If β _{1} ≠ 0 and p = 1 a linear hazard function is obtained which corresponds to a Gompertz survival function. If β _{1} ≠ 0 and p = 0 a Weibull hazard function is obtained, and reflects the difference in respectively the scale and shape of the Weibull log hazard curve for treatment B relative to A. Extending the firstorder fractional polynomial hazard function to a secondorder fractional polynomial increases the possible (differences in) shapes even further. Hence, modeling the hazard function of competing interventions with fractional polynomials provides a general framework that includes some of the commonly used parametric survival functions and does not rely on the constant hazard ratio assumption.
Network metaanalysis model for survival data using fractional polynomials
Network metaanalysis has been presented as an extension of traditional metaanalysis by including multiple different pairwise comparisons across a range of different interventions. Metaanalysis models for the comparison of treatment B versus A can be extended to models allowing simultaneous comparisons of B versus A as well as C versus A [1–4]. To appreciate the randomization of the different studies in the evidence synthesis, a study of a certain pairwise comparison has to be 'linked' to any of the other studies in the network. When the network consists of ABtrials, ACtrials, as well as BC trials, we have a mixture of direct and indirect comparisons and these analyses have been called mixed treatment comparisons (MTC) [3].
For a network metaanalysis, the similarity and consistency relation needs to hold regarding the estimated model parameters [3, 12, 13]. If AB trials and AC trials are comparable on effect modifiers (i.e. covariates that affect the relative treatment effect), then an indirect estimate for the relative effect of C versus B (d _{ BC } ) can be obtained from the estimates of the effect of B versus A (d _{ AB } ) and the effect of C versus A (d _{ AC } ): d _{ BC } = d _{ AC }  d _{ AB } . In essence, this implies that the same d _{ BC } is obtained as would have been estimated in a three arm randomized ABC trial. In general, for a model described by the function f _{ x } (t) where x = A, B, or C, we have: (f _{ C } (t) f _{ B } (t)) = (f _{ C } (t) f _{ A } (t))(f _{ B } (t) f _{ A } (t)). For a network metaanalysis of survival data, the comparison can be performed on the log hazard ratio, and this relation needs to apply to every timepoint t: ln(HR _{ BC } (t)) ln(HR _{ AC } (t)) ln(HR _{ AB } (t)) with HR _{ BC } (t) reflecting the hazard ratio of C relative to B at time t. Based on equation 4 it follows that:
Hence, the differences in the model parameters β _{0} and β _{1} of the first order fractional polynomials are independent of time. Furthermore, according to equation 5 the difference in β _{0} and β _{1} of the BC comparison can be described by the difference in these parameters for the AC comparison and AB comparison. Given this relation, a network metaanalysis can be performed based on the differences in β _{0} and β _{1} of log hazard curves across studies. Similarly, the transitivity assumption holds for fractional polynomials of any order.
Using a similar notation as Cooper et al. [13], the random effects model for a network metaanalysis of survival data based on a fractional polynomial of order M for k treatments labeled A, B, C, etc can be described as:
where h _{ jkt } reflects the underlying hazard rate in trial j for intervention k at time point t. The vectors are trialspecific and reflect the parameters β _{0}, β _{1},..., β _{ M } of the comparator treatment, whereas the vectors reflect the study specific difference in β _{0}, β _{1},..., β _{ M } of the log hazard curve for treatment k relative to comparator treatment b. and are drawn from a multivariate normal distribution with the pooled estimates expressed in terms of the overall reference treatment A with . For example, , , etc. Σ is the between study covariance matrix to reflect heterogeneity which is assumed constant for all treatment comparisons where σ _{ m } represent the variance for δ _{ mjbk } (i.e. the difference in β _{ m } ) and ρ _{01}, ρ _{02},..., ρ _{ M1,M }is the correlation between these parameters. Of key interest from the analyses are the pooled estimates of d _{ mAk } and estimates for the heterogeneity. Please note that the HR is changing over time once d _{m≥1} is different from 0.
Under a fixed effects model the multivariate normal distribution with the pooled estimates will be replaced with and as a result the between study covariance matrix does not need to be estimated. When only for d _{0Ak }heterogeneity is assumed, and the other effect parameters d _{1Ak },..., d _{ MAk } are fixed, then is replaced with δ _{0jbk }~Normal(d _{0Ak }d _{0Ab }, σ ^{2}) and .
A random effects model with only a heterogeneity parameter for d _{0Ak }implies that the between study variance of the log hazard ratios remains constant over time. Random effects models with (additional) heterogeneity parameters for d _{1Ak },..., d _{ MAk } have the flexibility to capture between study variance regarding changes in the log hazard ratios over time.
The random effects fractional polynomial model in equation 6 treats multiplearm trials (>2 treatments) without taking account of the correlations between the trialspecific δs that they estimate. Bayesian random effects fractional polynomials models with only a heterogeneity parameter for d _{0Ak }can be easily extended to fit trials with 3 or more treatment arms by decomposition of a multivariate normal distribution as a series of conditional univariate distributions [13]. If then the conditional univariate distributions for arm i given the previous 1,....(i1) arms are:
Different values for the powers p _{ 1 } and p _{ 2 } of the fractional polynomials correspond to different models. The best fitting model can be selected based on goodnessoffit comparisons. The goodness of fit can be computed as the difference between the deviance for the fitted model and the deviance for the saturated model (which fits the data perfectly). Within a frequentist framework the Akaike information criterion (AIC) can be used for model selection [14]. In a Bayesian framework the Bayesian information criterion (BIC) or deviance information criterion (DIC) can be used [15, 16].
Illustrative example
To understand how the analytical approach proposed can be applied in practice, an example is presented for oncology where trials are typically focused on overall (and progression free) survival.
Lung cancer is a leading cause of cancer mortality in both men as well as women, with nonsmall cell lung carcinoma (NSCLC) accounting for 80% of all cases [17]. Second line treatment for advanced NSCLC includes docetaxel and pemetrexed [18]. Gefitinib has been studied as second line treatment as well.
A literature search identified seven RCTs comparing docetaxel with bestsupportive care (1 study), gefitinib with bestsupportive care (1 study), docetaxel with gefitinib (4 studies), and docetaxel with pemetrexed (1 study) [19–25]. The network of RCTs is presented in Figure 1 and shows that for the comparisons of BSC, docetaxel and gefitinib both direct and indirect evidence is available. For each treatment arm in each study reported KaplanMeier curves were digitized (Engauge Digitaliser v4.1) In Figure 2 the scanned survival proportions are presented. This aggregate data was analyzed with fractional polynomial network metaanalysis models.
Whilst network metaanalysis can be performed with a frequentist or a Bayesian approach, for this manuscript the focus is on the Bayesian approach. Within the Bayesian framework, analyses consist of data, likelihood, parameters, a model, and prior distributions. More specifically, Bayesian analysis involves the formal combination of a prior probability distribution that reflects a prior belief of the possible values of the parameters of the model with a likelihood distribution of the model parameters based on the observed data in the different studies to obtain a posterior probability distribution of these [26–28].
The scanned survival curves can be divided into multiple consecutive intervals over the followup period. Extracted survival proportions were used to calculate the incident number of deaths for each interval and patients at risk at the beginning of that interval. A binomial likelihood distribution of the incident number of deaths for every interval [t,t+Δt] (Δt is the time from t to t+1) of the KaplanMeier curves can be described according to:
Where r _{ jkt } is the observed number of incident deaths in the interval [t,t+Δt] for study j and treatment k. n _{ jkt } Is the number of subjects alive at t, adjusted for the subjects censored in the interval [t,t+Δt]. p _{ jkt } is the observed cumulative incidence of deaths in the interval [t,t+Δt]. In the appendix more detail is provided how a dataset for n _{ jkt } and r _{ jkt } can be obtained from the KaplanMeier curve taking into account censoring in the interval [t,t+Δt]. In Table 1 the incident deaths and patients at risk for every 2month period of the individual studies are presented. When the time interval is relatively short, the hazard rate can be assumed constant within the time interval, and the hazard rate h _{ jkt } is:
In this example fixed and random effects first and second order fractional polynomial models were used with powers chosen from the following set: 2. 1, 0.5, 0, 0.5, 1, 2, 3 with t ^{0} = log t according to eq. 6. Two different random effects second order fractional polynomial models were compared: one model with a heterogeneity parameter for d _{ 0 } , and one model with heterogeneity parameters for all three treatment parameters (d _{ 0 } , d _{ 1 } or d _{2}). Although random effects models with a heterogeneity parameter for only d _{ 1 } or d _{2} can be estimated as well, these were considered less appropriate because these models assume that heterogeneity in treatment effects only develop over time, and is not present at treatment initiation. In other words: heterogeneity is only a function of time, and not (also) a function of differences in patient characteristics across studies. If only one heterogeneity parameter is (to be) used, it should be for d _{ 0 } because it assumes constant variance for the complete followup period.
The noninformative prior distributions as used for the parameters of the random effects secondorder fractional polynomial model with heterogeneity corresponding to d _{ 0 } , d _{ 1 } and d _{2} are presented (according to equation 6):
For a first order fractional polynomial model these 3dimensional multivariate prior distributions are reduced to bivariate normal distributions. With a random effects model, where only for d _{ 0 } a heterogeneity parameter is used, the corresponding prior distribution can be defined as σ ~ uniform(0,2). When all relative effects parameters are assumed fixed, there is no heterogeneity to be estimated, and no such prior distribution needs to be defined.
The parameters of the different models were estimated using a Markov Chain Monte Carlo (MCMC) method as implemented in the WinBUGS software package [29]. (See appendix for the code.) The WinBUGs sampler, using two chains, was run for 30000 iterations for the models and these were discarded as 'burnin' and the model was run for a further 50 000 iterations on which inferences were based. Convergence of the chains was confirmed by the GelmanRubin statistic.
The DIC was used to compare the goodnessoffit of different fixed and random effects models with first and second order fractional polynomials with different powers. DIC provides a measure of model fit that penalizes model complexity according to [16]. is the posterior mean residual deviance [15], pD is the 'effective number of parameters' and is the deviance evaluated at the posterior mean of the model parameters. The model with the lowest DIC, is the model providing the 'best' fit to the data. For every combination of p1 and p2 the DIC was determined. The powers p1 and p2 corresponding to the best fitted fixed effects models were also used to evaluate corresponding random effects models.
Results
Illustrative example
The model fit statistics for the different models are presented in Table 2. The fixed effects Weibull model (p1 = 0) was one of the worst regarding goodnessoffit. Of the first order fractional polynomial models, the model with power p1 = 2 was the best fit. Adding a second time related effect to this first order fractional polynomial model dramatically improved the model fit. Although the model with p1 = 2 and p2 = 1 has the lowest DIC of all the fixed effects models evaluated, the model with p1 = 2 and p2 = 2 and the model with p1 = 2 and p2 = 3 deserve consideration as well because these are within 12 points of the "best" model [16]. However, the modeled hazard function with p2 = 1 is not as sensitive to small sample fluctuations near the end of the followup of each study as the models with p2 = 2 or p2 = 3. To facilitate the extrapolation of the survival curves beyond the trial period, the model with p1= 2 and p2 = 1 was considered the most appropriate fixed effects model. The corresponding random effects models showed similar values for the DIC, and as such the random effects models were considered more appropriate. The model with a heterogeneity parameter for d _{ 0 } only showed more stable parameter estimates than the random effects model with heterogeneity parameters for d _{ 0 } , d _{ 1 } and d _{2}. Given the similar fit of these random effect models, the model with one heterogeneity parameter was used.
Table 3 provides parameter estimates for the fixed effects first and second order fractional polynomial models with p1 = 2 and p2 = 1, as well as the corresponding random effects model with a heterogeneity parameter for d _{ 0 } . Based on the pooled relative treatment effects regarding β _{0}, β _{1} and β _{2} of each intervention relative to docetaxel (d _{0Ak }, d _{1Ak }, and d _{2Ak }with k = B,C,D corresponding to respectively gefitinib, BSC, and pemetrexed) the corresponding hazards ratios as a function of time were obtained: ln(HR _{ Ak } ) = d _{ 0Ak } + d _{1Ak }· t ^{2} + d _{2Ak }· t. The hazard ratios over time obtained with the random effects model are presented in Figure 3. It is obvious that the assumption of constant hazards ratio does not apply to any comparison with BSC involved. Although for the comparison of gefitinib relative to docetaxel a constant hazard ratio over time might be defended, the additional indirect evidence via BSC for this comparison clearly does not allow this assumption. Based on this observation, one can argue that d _{ 1 } and d _{2} for gefitinib and pemetrexed relative to docetaxel can be set to zero, and that d _{ 1 } and d _{2} only need to be estimated for BSC versus docetaxel. However, it has to be realized that by making that assumption the uncertainty regarding the proportional hazards assumption for gefitinib and pemetrexed is no longer taken into consideration.
In the example there is both direct evidence (i.e. headtohead studies) and indirect evidence (via BSC) for the comparison of gefitinib versus docetaxel. As such, the network metaanalysis combining both direct and indirect comparisons uses more information than a pairwise metaanalysis of the 4 gefitinib versus docetaxel studies. In Figure 4, the hazard ratio over time is presented for the pairwise metaanalysis of gefitinib versus docetaxel based on 4 studies, as well as the mixed treatment comparison. The estimates of the two analyses are comparable (at least from month 3 onwards) suggesting that inconsistency between direct and indirect estimates is not an issue of concern. However, the uncertainty of the hazard ratio over time is greater with the pairwise metaanalysis of 4 studies than the network metaanalysis of 6 studies. By incorporating indirect evidence the parameters of the fractional polynomial can be estimated more precisely in this example.
By using the average of study specific estimates for β _{0}, β _{1} and β _{2} with docetaxel as the reference, the expected β _{0}, β _{1} and β _{2} for the other interventions were calculated using the relative treatment effects d _{0Ak }, d _{1Ak }, and d _{2Ak }. (See Table 4) The corresponding hazard and survival functions for each of the four interventions are presented in Figure 5 and 6A. With these parametric survival curves it is now possible to calculate the expected survival (i.e. the area under the curve) which is presented in Table 4 as well.
When, as is common practice for costeffectiveness analysis, a constant hazards ratio in combination with a Weibull distribution was assumed, the DIC of the model was 959.1. The fitted survival curves for docetaxel, gefitinib, BSC, and pemetrexed are presented in Figure 6B. The expected survival was respectively 15.1, 14.5, 8.0, and 15.2 months, and shows the overestimate relative to the random effects second order fractional polynomial model. The greatest difference is observed for the BSC survival curve, and the tails of the active interventions. To illustrate that the fractional polynomials produce a visibly better fit to the data than a simple model like the Weibull with a proportional hazards assumption, these models are presented for 3 studies in Figure 7. For the other 4 studies, the difference between the fractional polynomial curves and Weibull curves was not as great.
Discussion
In this paper a method for (network) metaanalysis of survival data using a multidimensional treatment effect is presented as an alternative to synthesis of the constant hazards ratio. With first or second order fractional polynomials the hazard functions of the interventions compared in a trial are modeled and the difference in the parameters of these fractional polynomials within a trial are considered the multidimensional treatment effect and synthesized (and indirectly compared) across studies. In essence, with this approach the treatment effects are represented with multiple parameters rather than a single parameter or outcome.
Metaanalysis of survival data using the constant hazards ratio can be considered a special case of the model presented here. When in equation 6 d _{1Ak }, d _{2Ak }, ...d _{ MAk } equal 0, only the time independent parameters β _{0jk }can be different across treatments within a trial and accordingly d _{0Ak }reflect the constant log hazard ratio of treatment k relative to A. (Please note that the baseline hazard can still be modelled with multiple β _{1jk }, β _{2jk }, ..., β _{ Mjk } that can be different from 0, but these are constant across all interventions within a trial. With a Cox proportional hazards model the baseline hazard is unconstrained and not described by parametric distribution or function.) The advantage of the approach presented here is that it does not rely on the proportional hazards assumption and as a result the model used can be more closely fitted to available survival data. In a situation, where the violation of the proportional hazard ratio is less clear due to limitations of the data, it still can be considered useful modeling a multidimensional treatment effect to express the uncertainty in the violation of the assumption of proportional hazards.
For network metaanalysis it is important that for the relative effect measure of interest the transitivity assumption holds [3, 12, 13]. Although the transitivity assumption holds for the constant (log) hazards ratio, violations of the proportional hazards assumption within or across trials, can result in biased indirect and mixed treatment comparisons of relative survival over time. By incorporating additional parameters for the treatment effect, the proportional hazards assumption is relaxed and therefore indirect and mixed treatment comparisons are arguably less likely to result in biased indirect estimates.
With a (network) metaanalysis the value of randomization only holds within a trial, and not across trials [3, 12, 13]. In other words, patients are randomly assigned to treatments within a trial, but patients are not randomly assigned to different trials. As a result there is the risk that patients assigned to the different trials are not comparable. If the distribution of patient and study level characteristics that modify the relative treatment effects is not similar across trials indirectly compared results will be affected by confounding bias [13]. In the models presented in this paper, treatment effect estimates will be biased if there is an imbalance in the distribution of treatment*covariate interactions across studies regarding the multidimensional treatment effect. Hence, it is suggested to expand the current models by incorporating treatment*covariate interactions. An additional advantage is that it can explain heterogeneity and facilitates the prediction of expected survival for subgroups [13].
In the example analysis, aggregate level data, i.e. scanned KaplanMeier curves, were used for all interventions compared. However, the models can also be used in combination with individual patient level data, using a different likelihood. Patientlevel analyses have the advantage that no (conservative) assumption has to be made regarding the censoring process. Furthermore, patientlevel network metaanalyses have greater power to estimate metaregression models thereby reducing inconsistency and providing the opportunity to explore differences in effect among subgroups. However, obtaining patientlevel data for all RCTs in the network may be considered infeasible. As an alternative one could use patientlevel data when available, and aggregate level data for studies in the network for which such data is not available thereby improving parameter estimation over aggregatedataonly models.
Drug coverage decisionmaking is often informed by costeffectiveness analysis where expected costs and expected outcomes are compared. When the main objective of the competing interventions is to improve survival, the primary outcome of interest is expected survival or forqualityoflife adjusted expected survival. Unfortunately, given the available followup in the clinical trials, survival data is often censored and therefore the expected survival cannot be obtained without extrapolation of the data over time. Standard practice is to extrapolate the available survival data for the reference treatment using a parametric survival function (e.g. Weibull, lognormal or loglogistic). This baseline hazard function is multiplied with the constant hazard ratio for each of the competing interventions relative to this baseline to obtain hazard functions for the interventions of interest. The assumption of a constant hazards function implies that only the scale of these parametric functions is affected by treatment, and accordingly all the competing interventions have the same shape. Since the tail of the survival function has a great impact on the expected survival this assumption may lead to biased or at least highly uncertain estimates regarding differences in expected survival and therefore costeffectiveness estimates. Given the multidimensional treatment effect of the approach presented in this paper, the parametric hazards functions of the competing interventions can be different regarding all of their parameters. As a result the extrapolated survival functions for all the interventions are more closely fitted to the available data and expected survival is less likely to be over or underestimated. An additional advantage of the use of fractional polynomials is that models can be fitted that go to asymptotes, and are therefore far more stable at the ends than, say, standard polynomials or splines. Although the proposed models constitute a substantial liberalization for evidence synthesis of survival curves from RCTs, there is still a danger of understating the uncertainty in extrapolating the curves because the choice of fractional polynomials is based on model fit criteria. In order to reflect model uncertainty, it might be of interest to estimate the powers of the fractional polynomials as well.
Conclusions
(Network) metaanalysis of survival data is commonly performed with models represented with one parameter for the relative treatment effect: the constant hazard ratio. When the proportional hazards assumption does not hold, models in which the treatment effect is represented by several parameters using fractional polynomials can be more closely fitted to the available data. The models allow straightforward estimation of expected survival to facilitate costeffectiveness analysis.
Appendix
Extraction of data from survival curves to use in the network metaanalysis model
According to the KaplanMeier curve, the proportion of people alive at time point t S _{ t } that die between time point t and time point t + 1 is equal to (S _{ t }  S _{ t+1})/S _{ t } and can be described by binomial likelihood distribution: r _{ t } ~ bin(p _{ t } , n _{ t } ). Where is the number of deaths r _{ t } in the interval [t,t+1]. n _{ t } is the number of subjects at risk in that interval, and p _{ t } is the underlying risk.
In the absence of censoring for the interval [t,t+1], n _{ t } is the number at risk at the beginning of the interval and r _{ t } can be obtained by multiplying n _{ t } with (S _{ t } S _{ t+1})/S _{ t }.
The number at risk for a particular interval might be provided below the KaplanMeier graph; if not reported, it can be obtained according to starting at the time point where n _{ t } is provided below the graph.
In the case of censoring, the overlap of the sequence of censoring and deaths within the time interval [t,t+1] is unclear, and it is not possible to derive the exact number of deaths and censoring in the interval. As extreme cases we can assume that, on the one hand, censoring occurs after the deaths within the interval, or, on the other hand, all censoring occurs before the deaths. In the first scenario n _{ t } is the number at risk at the beginning of the interval, whereas in the second scenario n _{ t } is the number at risk at the beginning of the interval minus the number of censored subjects. With the second scenario it is clear that n _{ t } and r _{ t } are smaller given (S _{ t }  S _{ t+1})/S _{ t } resulting in more uncertainty regarding the estimate p _{ t } . To not underestimate the uncertainty we opted for the second scenario. Under the assumption that all censoring occurs before the deaths occur, n _{ t } can again be obtained by with n _{ t+1 }reported below the graph, or based on the same calculation for the interval [t+1, t+2], etc.
Winbugs code for second order fractional polynomial random effects network metaanalysis model
Model{
for (i in 1:N){ # N number of datapoints in dataset
# time is expressed in months and transformed according powers of fractional polynomial P1 and P2
time_transf1[i]<(equals(P1,0)*log(time[i]) + (1equals(P1,0))*pow(time[i],P1))
time_transf2[i]<((1equals(P2,P1))*(equals(P2,0)*log(time[i]) + (1equals(P2,0))*pow(time[i],P2)) + equals(P2,P1)*(equals(P2,0)*log(time[i])*log(time[i]) + (1equals(P2,0))*pow(time[i],P2) *log(time[i])))
# likelihood
# hazard over interval [t,t+dt] expressed as deaths per personmonth
# r is deaths in interval, n is number at risk, h is hazard
r[i]~ dbin(p[i],n[i])
p[i]<1exp(h[i]*dt) # cumulative hazard over interval [t,t+dt] expressed as deaths per personmonth
# random effects model
# loop over datapoints
# s refers to study, k is intervention k, b is comparator
log(h[i])<Beta[i,1]+ Beta[i,2]*time_transf1[i]+ Beta[i,3]* time_transf2[i]
Beta[i,1]<mu[s[i],1]+delta[s[i],1]*(1equals(k[i],b[i]))
Beta[i,2]<mu[s[i],2]+delta[s[i],2]*(1equals(k[i],b[i]))
Beta[i,3]<mu[s[i],3]+delta[s[i],3]*(1equals(k[i],b[i]))
}
# loop over studies
# NS is number of studies
# ks is intervention k, bs is comparator
for(m in 1:NS){
delta[m,1:3]~dmnorm(md[k,1:3],omega[1:3,1:3])
md[m,1]<d[ks[m],1]d[bs[m],1]
md[m,2]<d[ks[m],2]d[bs[m],2]
md[m,3]<d[ks[m],3]d[bs[m],3]
}
# priors
# NT is number of treatments
d[1,1]<0
d[1,2]<0
d[1,3]<0
for(j in 2:NT){
d[j,1:3] ~ dmnorm(mean[1:3],prec2[,])
}
for(k in 1:NS){
mu[k,1:3] ~ dmnorm(mean[1:3],prec2[,])
}
omega[1:3, 1:3] ~ dwish(R[1:3,1:3],3)
# output SD and correlation based on estimated covariance matrix
sigma.theta[1:3,1:3] < inverse(omega[1:3,1:3])
rho[1,2] <sigma.theta[1,2]/sqrt(sigma.theta[1,1]*sigma.theta[2,2])
rho[1,3] <sigma.theta[1,3]/sqrt(sigma.theta[1,1]*sigma.theta[3,3])
rho[3] <sigma.theta[3]/sqrt(sigma.theta[2,2]*sigma.theta[3,3])
sd[1]<sqrt(sigma.theta[1,1])
sd[2]<sqrt(sigma.theta[2,2])
sd[3]<sqrt(sigma.theta[3,3])
# output hazard ratio for month 1 to 60
# NT is number of treatments, c is reference treatment, k is treatment of interest, l is month
for (c in 1:(NT1)) {
for (j in (c+1):NT) {
for (l in 1:60) {
t1[l]<(equals(P1,0)*log(l) + (1equals(P1,0))*pow(l,P1))
t2[l]<((1equals(P2,P1))*(equals(P2,0)*log(l) + (1equals(P2,0))*pow(l,P2)) + equals(P2,P1)*(equals(P2,0)*log(l)*log(l) + (1equals(P2,0))*pow(l,P2) *log(l)))
log(hazard_ratio[c,j,l])<d[j,1]d[c,1]+(d[j,2]d[c,2])*t1[l]+(d[j,3]d[c,3])*t2[l]
}}}
}
WInbugs data structure
s[] study identifier
r[] incident cases in interval
n[] at risk at beginning of interval
k[] treatment
b[] comparator
time[] interval number/time point
s[] r[] n[] k[] b[] time[]
1 7 81 2 1 1
1 5 74 2 1 2
1 7 69 2 1 3
1 6 62 2 1 4
. . . . . .
. . . . . .
. . . . . .
7 53 134 3 1 3
7 70 160 3 1 4
7 12 90 3 1 5
7 22 78 3 1 6
END
# comparison by study (only used for random effects model)
ks[] bs[]
2 1
3 2
2 1
2 1
4 1
2 1
3 1
END
Abbreviations
 AIC:

Akaike information criterion
 BSC:

bestsupportive care
 DIC:

deviance information criterion
 NSCLC:

nonsmall cell lung carcinoma
 RCT:

randomized controlled trial
References
 1.
Higgins JPT, Whitehead A: Borrowing strength from external trials in a metaanalysis. Statistics in Medicine. 1996, 15: 27332749. 10.1002/(SICI)10970258(19961230)15:24<2733::AIDSIM562>3.0.CO;20.
 2.
Lumley T: Network metaanalysis for indirect treatment comparisons. Statistics in Medicine. 2002, 21: 23132324. 10.1002/sim.1201.
 3.
Lu G, Ades AE: Combination of direct and indirect evidence in mixed treatment comparisons. Statistics in Medicine. 2004, 23: 31053124. 10.1002/sim.1875.
 4.
Caldwell DM, Ades AE, Higgins JPT: Simultaneous comparison of multiple treatments: combining direct and indirect evidence. British Medical Journal. 2005, 331: 897900. 10.1136/bmj.331.7521.897.
 5.
Royston P, Altman DG: Regression using fractional polynomials of continuous covariates: parsimonious parametric modelling (with discussion). Applied Statistics. 1994, 43: 429467. 10.2307/2986270.
 6.
Lambert PC, Smith LK, Jones DR, Botha JL: Additive and multiplicative covariate regression models for relative survival incorporating fractional polynomials for timedependent effects. Statistics in Medicine. 2005, 24: 38713885. 10.1002/sim.2399.
 7.
Bossard N, Descotes F, Bremond AG, Bobin Y, De Saint Hilaire P, Golfier F, et al: Keeping data continuous when analyzing the prognostic impact of a tumor marker: an example with cathepsin D in breast cancer. Breast Cancer Research and Treatment. 2003, 82: 4759. 10.1023/B:BREA.0000003919.75055.e8.
 8.
Berger U, Schafer J, Ulm K: Dynamic Cox modelling based on fractional polynomials: timevariations in gastric cancer prognosis. Statistics in Medicine. 2003, 22: 11631180. 10.1002/sim.1411.
 9.
Bagnardi V, Zambon A, Quatto P, Corrao G: Flexible metaregression functions for modeling aggregate dose response data, with an application to alcohol and mortality. American Journal of Epidemiology. 2004, 159: 10771086. 10.1093/aje/kwh142.
 10.
Sauerbrei W, Royston P: Building multivariable prognostic and diagnostic models: transformation of the predictors by using fractional polynomials. JRSSA. 1999, 162: 7194.
 11.
Sauerbrei W, Royston P, Look M: A new proposal for multivariable modelling of timevarying effects in survival data based on fractional polynomial timetransformation. Biom J. 2007, 9: 453473.
 12.
Lu G, Ades AE: Assessing evidence inconsistency in mixed treatment comparisons. J Am Stat Assoc. 2006, 101: 447459. 10.1198/016214505000001302.
 13.
Cooper NJ, Sutton AJ, Morris D, Ades AE, Welton NJ: Addressing betweenstudy heterogeneity and inconsistency in mixed treatment comparisons: Application to stroke prevention treatments in individuals with nonrheumatic atrial fibrillation. Stat Med. 2009, 28: 186181. 10.1002/sim.3594.
 14.
Akaike H: Information theory and an extension of the maximum likelihood principle. Second International Symposium on Information Theory. 1973, 1: 267281.
 15.
Dempster AP: The direct use of likelihood for significance testing. Statistics and Computing. 1997, 7: 247252. 10.1023/A:1018598421607.
 16.
Spiegelhalter DJ, Best NG, Carlin BP, van der Linde A: Bayesian measures of model complexity and fit. Journal of the Royal Statistical Society, Series B. 2002, 64: 583639. 10.1111/14679868.00353.
 17.
Molina JR, Yang P, Cassivi SD, Schild SE, Adjei AA: Nonsmall cell lung cancer: epidemiology, risk factors, treatment, and survivorship. Mayo Clin Proc. 2008, 83: 58494. 10.4065/83.5.584.
 18.
De Lima Araújo LH, Ferreira CG: Platinumbased secondline treatment in nonsmallcell lung cancer: an old new kid on the block?. J Clin Oncol. 2010, 10 (28): e245.
 19.
Chang A, Parikh P, Thongprasert S, Tan E, Perng R, Ganzon D, et al: Gefitinib IRESSA in patients of Asian origin with refractory advanced nonsmall cell lung cancer: subset analysis from the ISEL study. Journal of thoracic oncology: official publication of theInternational Association for the Study of Lung Cancer. 2006, 1: 84755.
 20.
Cufer T, Vrdoljak E, Gaafar R, Erensoy I, Pemberton K, SIGN Study Group: Phase II, openlabel, randomized study SIGN of singleagent gefitinib IRESSA or docetaxel as secondline therapy in patients with advanced stage IIIb or IV nonsmallcell lung cancer. Anticancer drugs. 2006, 17: 4019. 10.1097/01.cad.0000203381.99490.ab.
 21.
Hanna N, Shepherd FA, Fossella FV, Pereira JR, De Marinis F, von Pawel J, et al: Randomized phase III trial of pemetrexed versus docetaxel in patients with nonsmallcell lung cancer previously treated with chemotherapy. J Clin Oncol. 2004, 22: 158997. 10.1200/JCO.2004.08.163.
 22.
Kim E, Hirsh V, Mok T, Socinski M, Gervais R, Wu Y, et al: Gefitinib versus docetaxel in previously treated nonsmallcell lung cancer INTEREST: a randomised phase III trial. Lancet. 2008, 372: 180918. 10.1016/S01406736(08)617584.
 23.
Lee D, Park K, Kim J, Lee J, Shin S, Kang J, et al: Randomized Phase III trial of gefitinib versus docetaxel in nonsmall cell lung cancer patients who have previously received platinumbased chemotherapy. Clinical cancer research. 2010, 16: 130714. 10.1158/10780432.CCR091903.
 24.
Maruyama R, Nishiwaki Y, Tamura T, Yamamoto N, Tsuboi M, Nakagawa K, et al: Phase III study, V1532, of gefitinib versus docetaxel in previously treated Japanese patients with nonsmallcell lung cancer. Journal of clinical oncology: official journal of the AmericanSociety of Clinical Oncology. 2008, 26: 424452.
 25.
Shepherd FA, Dancey J, Ramlau R, et al: Prospective randomized trial of docetaxel versus best supportive care in patients with nonsmallcell lung cancer previously treated with platinumbased chemotherapy. J Clin Oncol. 2000, 18: 2095103.
 26.
Ades AE, Sculpher M, Sutton AJ, Abrams K, Cooper N, Welton N, Lu G: Bayesian Methods for Evidence Synthesis in CostEffectiveness Analysis. Pharmacoeconomics. 2006, 24: 119. 10.2165/0001905320062401000001.
 27.
Spiegelhalter DJ, Abrams KR, Myles JP: Bayesian approaches to clinical trials and healthcare evaluations. 2004, Chichester: John Wiley & Sons, 8085.
 28.
Spiegelhalter DJ, Abrams KR, Myles JP: Bayesian approaches to clinical trials and healthcare evaluations. 2004, Chichester: John Wiley & Sons, 286
 29.
Spiegelhalter D, Thomas A, Best N, Lunn D: WinBUGS User Manual: Version 1.4. 2003, MRC Biostatistics Unit: Cambridge
Prepublication history
The prepublication history for this paper can be accessed here:http://www.biomedcentral.com/14712288/11/61/prepub
Acknowledgements and funding
The research was performed without specific funding.
Author information
Affiliations
Corresponding author
Additional information
Competing interests
The author declares that they have no competing interests.
Authors' contributions
JJ is responsible for the development of the concept and methods, analysis of the example and writing of the manuscript
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Jansen, J.P. Network metaanalysis of survival data with fractional polynomials. BMC Med Res Methodol 11, 61 (2011). https://doi.org/10.1186/147122881161
Received:
Accepted:
Published:
Keywords
 Docetaxel
 Gefitinib
 Random Effect Model
 Pemetrexed
 Deviance Information Criterion