Skip to main content

Comparing multilevel and Bayesian spatial random effects survival models to assess geographical inequalities in colorectal cancer survival: a case study



Multilevel and spatial models are being increasingly used to obtain substantive information on area-level inequalities in cancer survival. Multilevel models assume independent geographical areas, whereas spatial models explicitly incorporate geographical correlation, often via a conditional autoregressive prior. However the relative merits of these methods for large population-based studies have not been explored. Using a case-study approach, we report on the implications of using multilevel and spatial survival models to study geographical inequalities in all-cause survival.


Multilevel discrete-time and Bayesian spatial survival models were used to study geographical inequalities in all-cause survival for a population-based colorectal cancer cohort of 22,727 cases aged 20–84 years diagnosed during 1997–2007 from Queensland, Australia.


Both approaches were viable on this large dataset, and produced similar estimates of the fixed effects. After adding area-level covariates, the between-area variability in survival using multilevel discrete-time models was no longer significant. Spatial inequalities in survival were also markedly reduced after adjusting for aggregated area-level covariates. Only the multilevel approach however, provided an estimation of the contribution of geographical variation to the total variation in survival between individual patients.


With little difference observed between the two approaches in the estimation of fixed effects, multilevel models should be favored if there is a clear hierarchical data structure and measuring the independent impact of individual- and area-level effects on survival differences is of primary interest. Bayesian spatial analyses may be preferred if spatial correlation between areas is important and if the priority is to assess small-area variations in survival and map spatial patterns. Both approaches can be readily fitted to geographically enabled survival data from international settings.


The importance of understanding social inequalities in cancer survival is well recognized [1, 2], including the impacts of both residential area characteristics and individual-level risk factors [36]. Much of the interest in the impact of area-level effects on cancer outcomes has been driven by the emergence of statistical methods that are designed to model geographically-structured data, including multilevel discrete-time [7, 8] and more recently, Bayesian spatial [4, 5] survival models. Since practical usage of these terms can differ, in our context we define “multilevel” structure as having a clear hierarchical one-to-many relationship between area and individual-level variables [9].

Multilevel discrete-time survival models [7, 8] are designed to account for the nested structure of individuals within geographical areas. They allow the simultaneous estimation of individual and area-level effects by modelling complex sources of variation at different hierarchical levels [9, 10]. In this multilevel framework, observations from one geographical area are assumed to be statistically independent of those in another area, so any spatial associations between geographical areas are ignored [11].

In contrast, Bayesian spatial methods were developed to explicitly incorporate spatial associations between geographical areas while describing the geographical patterns across areas. Survival in this context can be modelled either at the individual-level [12, 13] or by aggregating the unit-record data across area and covariates of interest [4, 5]. Area-level spatial effects are captured through modelled random terms for which an uncertainty distribution (the “prior” distribution) are specified [14]. This approach incorporates information from adjacent regions to help overcome data sparseness and account for between-area spatial associations. To date the widespread application of spatial models using large unit record datasets has been limited, since they usually require more advanced programming skills than typically required for standard statistical software packages and are computationally demanding [12, 13]. With a view to considering applications to large population-based cancer registry data, we chose instead to estimate the spatial survival inequalities by fitting generalised linear spatial models [15] to aggregated data. These models can be readily implemented with freely available software packages [4, 5].

Since the multilevel discrete-time and aggregated Bayesian spatial survival approaches require the researcher to ignore either the spatial or multilevel effects, respectively, the possibility that both effects may be simultaneously present in geographically structured data is overlooked. Hence multilevel models have been criticized in some instances for their inability to account for spatial dependencies of health outcomes [11, 16, 17]. The potential implications of adjusting solely for either multilevel or spatial effects in the context of geographical inequalities in health have however not been widely explored.

The literature on incorporating a spatial perspective into the multilevel setting is sparse and limited to small-scale studies [1821]. For example multilevel membership models use additional random terms to model spatial clustering of neighboring areas with separate random terms used for each neighboring unit for each observation from a specific region [19, 22]. However the sheer number of random terms makes it computationally intractable to estimate these models when there are large cohorts covering a multitude of geographic areas. Alternatively the multilevel framework has been combined with regression approaches specifically designed to account for the spatial dependency of the area-level residuals [20, 21]. These also have limitations, including their complexity, lack of statistical stability, computational demands and difficulties in the interpretation of resultant estimates, each of which pose conceptual and technical challenges to their widespread implementation. We were unable to find any literature on integrated multilevel-spatial survival models. Nor, to our knowledge, have there been any studies that have used a case-study approach to explore the implications of using multilevel discrete-time and Bayesian spatial survival models on the same cohort.

In our case study we apply the two analytical methods of multilevel discrete-time and Bayesian spatial survival models to a population-based cohort of colorectal cancer (CRC) patients and examine the relative merits of the two approaches. Our focus is not on statistically comparing the estimates obtained [23], but rather comparing the interpretation of the output generated by the two approaches, and to discuss the differing data transformations, model assumptions and parameterization required for both approaches, in addition to specific software and computing considerations. Given the increasing popularity of both methods to assess geographical disparities in health, and the increasing interest in using large, population-based administrative datasets to examine these disparities, this case study aimed to improve understanding of the relative merits of the two approaches.


Approval for this study was obtained from the University of Queensland Social and Behavioral Sciences Ethical Review Committee and Queensland Health.

Study cohort

Histologically verified cases of invasive CRC (ICD-O3: C18-C20, C21.8) among individuals aged 20–84 years diagnosed between January 1, 1997 and December 31, 2007 with complete address information who survived for at least one day after diagnosis (n = 22,727) was acquired from the state-wide population-based Queensland Cancer Registry [24]. Information extracted from pathology forms was used to obtain the American Joint Committee on Cancer categories [25] for the stage at diagnosis and surgical margins as described previously [3].

Residential address at diagnosis was geocoded and assigned to a Statistical Local Area (SLA) [3]. SLAs are administrative units that cover the whole state with no gaps or overlaps, and are typically responsible for local infrastructure and thus deemed to be socio-economically relevant to their residents. There were 478 SLAs in Queensland in 2006 with a median population of 5,810 (range 7: 77,523) and median area of 14 km2 (range 0.3:106,188). Geographic remoteness at CRC diagnosis was classified according to the 2006 Australian Standard Geographical Classification Remoteness Index [26] and area-level disadvantage measured by the Index of Relative Socioeconomic Advantage and Disadvantage [27].

Survival data

Patients were followed for all-cause mortality status until 31st December 2010 with annual matching to the Registrar of Births, Deaths and Marriages and the (Australian) National Death Index [24]. Survival was calculated in years from date of diagnosis to death or the study end point. Survival times were truncated at 5 years of follow up to allow efficient computation of the complex survival models and to be consistent with previous studies [3, 4].

Statistical analysis

Multilevel analysis was carried out with MLwiN version 2.26 [28] (University of Bristol, UK) that requires a once-off purchase while spatial modelling was performed using the freely accessible WinBUGS version 1.4 [29]. Both packages carry out Markov chain Monte Carlo (MCMC) estimations, provide diagnostic tests and plots to visually assess convergence of resulting chains and allow specification of random effects, and can be interfaced with Stata (Statacorp LP, TX, USA), as well as R [30]. However WinBUGS allows greater flexibility in the number of chains and choice of priors specified by the user whereas MCMC models in MLwiN can only be fitted with default priors and run on a single chain.

Multilevel discrete-time survival

While continuous time approaches are most commonly used for survival analysis there are several advantages to discrete-time models, especially in multilevel settings with large public health data sets [3, 8]. Fitting multilevel survival models requires an initial data restructuring in which a record is created for each time point that an individual survives. Generating such an expanded person-time dataset using months or days rather than years would increase the original dataset by 12 to 300-fold. Given the size of our initial cohort and available computational resources it was not feasible to implement this additional expansion. Hence multilevel discrete-time survival models that employ years as the time variable considerably reduce both the size of the expanded dataset and the computational demands for the subsequent survival analysis. In addition, parameter estimates from multilevel discrete-time and continuous-time Cox survival models have been shown to be comparable in a number of studies [3, 8]. Thus discrete-time survival models are preferred in the multilevel framework [3, 8].

Multilevel discrete-time survival models were fitted to an expanded person-period file containing a sequence of binary responses for each individual from each year [8]. The data file specifically incorporates censoring into the analysis, in that a censored individual will have a sequence of zero’s for each year whereas one who dies has a value of one for the year of death and zero for previous years (Appendix 1). Multilevel discrete-time survival models estimate the unexplained variation within- and between-SLAs with the residuals for different areas assumed to be independent of each other. The hazard function from the multilevel discrete-time survival model describes the conditional probability of death in interval t given they were still alive in the previous interval [8]. When modeling the hazard with the logit link; the exponentiated coefficients are interpreted as odds ratios (OR).

Multilevel discrete-time survival model specification

The discrete-time hazard function (h tij ) for follow-up interval t and individual i in the jth SLA is defined as the probability of a death (e tij ) occurring during the follow-up interval t, given that no death has occurred in a previous year, i.e.:

h t i j = Pr ( e t i j =1| e s i j =0,s<t

which is the standard response probability for a binary variable. Therefore multilevel discrete-time survival models are essentially logistic regression models with the response variable being the binary indicator e tij in the person-period file. We fitted a multilevel random-effects logistic model which was specified as:

e t i j ~ Bernoulli h t i j , log it h t i j = log h t i j / 1 h t i j = β 0 j + f t + x t i j β + ml _ u j ml _ μ j ~ N 0 , ml _ σ u 2 β 0 j = β 0 + ml _ u j

where β 0 is an intercept for the jth SLA that varies randomly across the SLAs, x tij is a vector of covariates with coefficient β which represents the effect of covariates on the hazard at follow up interval t for individuals in the reference (baseline) category of each variable (the baseline hazard), ml _u j is the random effect for each SLA j which is normally distributed with mean 0 and variance ml _σ2 u and f(t) is a function of follow-up interval used to model the baseline hazard on a logistic scale. A dummy variable was used for each time period: i.e. baseline logit hazard takes form f(t) = f 1D 1 + f 2D 2 + … + f 5D 5 [8]. Finally the model assumes constant hazards over each follow-up interval [8].

Bayesian spatial survival

We modified a previously described [4] Bayesian spatial Poisson model to analyse five year all-cause survival. This model is specified as:

d m t j ~ Poisson μ m t j log μ m t j = log y m t j + α t + x m t j β m + spat _ u j + spat _ v j

where d mtj is the observed number of deaths among the CRC cohort in the mth stratum [across all included covariates], tth follow-up interval and jth SLA. The value d mtj has a Poisson distribution with mean μ mtj , y mtj is person-time at risk, α t is a time-varying intercept, and β m represents the coefficients of the vector of covariates x, spat _u j is the unexplained spatial variation in the modeled count of deaths for each area j and spat _v j is the unexplained non-spatial variation in the modeled deaths [31]. The total variation is:

spat_ σ 2 =spat_ σ u m 2 +spat_ σ v 2

where spat_σ2 u(m) is the marginal variance for the spatial effect and spat_σ2 v is the variance for the non-spatial effect.

The input data are aggregated by each combination of individual and area-level covariates at the SLA level. A Poisson distribution is assumed for the modeled outcome (the observed mortality count in each stratum), while aggregated survival time is included as an offset variable in the model. This is a piecewise exponential model, where the follow-up time is divided into distinct intervals and the hazard is assumed constant across each interval. If the time intervals are split at the occurrence of each event (death), the Poisson survival model is equivalent to the Cox proportional hazards model [32, 33]. We selected annual time intervals due to the size of the dataset. Similar to the multilevel discrete-time model, for each individual and time interval, death (the response) is defined as 1 if the individual dies within that interval and 0 otherwise. However unlike the multilevel discrete-time model deaths are then aggregated across each stratum prior to being modelled. This Bayesian spatial model includes separate terms for the spatially correlated (spat _u j ) and the spatially uncorrelated unexplained variation (spat _v j ), where j is the SLA. The spatial term depends upon geographical location and implies that neighboring areas influence each other more than non-neighbors [34] whereas the spat_v j term accounts for variation which is independent of geographical location.

Estimation of the survival models

Multilevel discrete-time

Models were estimated with MCMC simulations [22] in MLwiN 2.26 [28] (University of Bristol, UK) interfaced with Stata 12.0 (StataCorp, Texas) [35]. Default non-informative uniform priors (Appendix 1) were used for the fixed parameters and an inverse gamma distribution for the between-area variance. Parameter estimates were obtained from 80,000 iterations after discarding an initial 40,000 iterations. The underlying hazard was described by a dummy variable for each year [8]. A three step modeling strategy was adopted as described previously [3]. Truncating survival times to five years allowed efficient MCMC estimation of the multilevel discrete-time models after expansion for this relatively large dataset.

Bayesian spatial

Models were fitted with the MCMC algorithm within WinBUGS 1.4 software [29] interfaced with Stata 12.0 [36]. After a burn-in period of 250,000 iterations a further 100,000 iterations were monitored. Models were developed systematically: first we fitted a null model with only random effects, then we added all the individual covariates before including area disadvantage and remoteness, first separately and then together for the final fully adjusted model.

The spatial variance (spat-u j ) was modeled with an intrinsic conditional autoregressive (CAR) prior [31] with the neighboring SLAs primarily defined based on common borders, as previously described [37]. Diffuse normal priors were chosen for the intercept and regression coefficients. Model specification was completed by assigning weakly informative hyperpriors to the two precision (inverse variance) parameters. Prior distributions and the associated sensitivity analyses are further described in Appendix 2. Model inferences were relatively insensitive to the choice of hyperpriors (Additional file 1).

Model practicalities

Since single chain MCMC simulations were the only option within MLwiN [22], they were used for all analyses.

MCMC chain convergence (for both approaches) was assessed by visual inspection of the trace, density and autocorrelation plots of the posterior distributions for monitored parameters. Default diagnostic tests in MLwiN [22, 38] were used for multilevel discrete-time models and the Geweke test (p <0.01 criteria for non-convergence) for Bayesian spatial models [39]. Model residuals (both approaches) were also graphically examined for goodness-of fit.

Model fit within the set of multilevel discrete-time or Bayesian spatial models was evaluated using the Bayesian deviance information criterion (DIC) [40] with smaller DIC values (≤7) indicating improved fit. As DIC values are sensitive to the underlying data structure [41], these were not used for comparisons between approaches but rather for comparing models within each approach.

Parameter estimates from multilevel and spatial Poisson models are presented as odds ratios (OR) and relative risks (RR), respectively, with 95% credible intervals (CrI).

Random effects

Multilevel discrete-time

The median odds ratio (MOR) [10] that expresses area-level variance from multilevel models on the odds ratio scale was used to quantify area-level survival variation (Appendix 1). The value of MOR is always ≥ 1 with larger values indicating greater geographical variation. The intraclass correlation coefficient (ICC) is often used to quantify the contribution of the area-level variance to the total variance in multilevel linear models. However, the use of such measures in the context of logistic regression is questionable and not recommended in standard multilevel literature due to problems in their computation and interpretation [10, 4244]. Alternative measures include the median odds ratio (MOR) [10] that expresses area-level variance from multilevel models on the odds ratio scale. This was used to quantify area-level survival variation in the present study.

Bayesian spatial

The relative contribution of the spatial component to the total variance was calculated using the spatial fraction [5] (Appendix 2). If the spatial fraction is close to 1 the spatial effect dominates, otherwise if close to 0 the unstructured component dominates [5]. This measure allows quantification of the extent to which the unexplained variation is associated with geographical location.

Differences between approaches

Table 1 summarizes the main features and differences between the multilevel discrete-time and Bayesian spatial approaches used in this case study. The assumptions, underlying concepts and interpretation of area-level effects for the two approaches are compared and contrasted in Table 2.

Table 1 A comparison of multilevel discrete-time and Bayesian spatial survival models used in this case study
Table 2 Assumptions, underlying concepts and interpretation of area-level effects: multilevel discrete-time and Bayesian spatial survival models


Study population

The final cohort had a median age at diagnosis of 68 years and median follow-up time of 5.0 years with unadjusted 5-year all-cause survival of 58.1% (95% CI: 57–58) (Table 3). All covariates in Table 3 had significant bivariate associations with survival outcomes (log rank test: 0.001 ≤ p <0.003).

Table 3 Cohort description and five year all-cause survival estimates for colorectal cancer patients, Queensland, 1997-2007

Statistical analysis

The fully-adjusted main-effects multilevel discrete-time model (Model 5; Additional file 2) had the smallest DIC value indicating it had the best fit to the data and so was the preferred multilevel model. Similarly, the best-fitting model for the Bayesian spatial analysis (out of Models 7–13) was Model 11 (Additional file 3) which simultaneously adjusted for all aggregated individual- and area-level covariates and included both random effects. Based on the MCMC diagnostic tools, all monitored parameters converged for both multilevel discrete-time and Bayesian spatial models. No problems with model fit were detected on visual inspection of model residuals for both approaches.

Full adjustment for all considered covariates substantially reduced the residual geographical variation in survival for both approaches (Tables 4 and 5). The final multilevel discrete-time model had for example a non-significant area-level effect (p = 0.118) with an associated MOR of 1.07 (Table 4). For the spatial analysis the final smoothed RR estimates for all-cause deaths ranged from 0.86 to 1.20 (median 0.99) with CrIs that generally overlapped the average value of 1.00 (Additional file 4). This illustrates that much of the geographical variability in survival was accounted for by the included covariates. Only 55% of the variance in the fully adjusted Bayesian spatial model was spatially structured, and the estimated spatial fraction had a wide 95% CrI (35–73; Table 5). As the spatial fraction is the ratio of the marginal spatial structured variance to the sum of the variance of both marginal spatial structured and unstructured random effects, a value close to the midpoint of 0.5 suggests that neither the spatial or the unstructured effect is dominant.

Table 4 Estimated area-level random effects from multilevel discrete-time survival models
Table 5 Estimated area-level random effects from Bayesian spatial survival models

The observed patterns for the main effect parameter estimates generated from the two modeling approaches were broadly similar (Table 6), although the CrI of the multilevel estimates were generally equal to or wider than those for the Bayesian spatial model. As expected, within those categories with large numbers of deaths (e.g. Stage IV cancers), there were large differences in the OR and RRs estimates due to the violation of the rare disease assumption when using ORs to estimate RRs.

Table 6 Covariate fixed effects from multilevel discrete-time and Bayesian spatial survival models


To our knowledge this is the first report of a case-study approach to explore the implications of using multilevel discrete-time [7, 8] and Bayesian spatial survival models [4, 5] for the same population-based cohort. These complex models were estimated using MCMC methods to reduce estimation bias for multilevel discrete-time models [7] and produce more reliable small-area estimates for spatial analyses [14].

Through a systematic comparison of the two approaches this study highlights important differences between the multilevel and spatial perspectives in analyzing cancer survival including model specification, underlying concepts, assumptions regarding model-effects and interpretation of area-level random effects in the context of population-based data that typically cover numerous geographical areas and have long term follow-up.

While the fixed estimates from the two approaches cannot be compared directly [23], we found that adjusting for within- or between- area clustering had only a minimal impact on the broad patterns for the fixed estimates. For example, people from remote areas had poorer all-cause survival than those from major cities for both approaches. This is consistent with a recent simulation study that found fixed effects were similar for multilevel and spatial methods [17].

A key feature of the multilevel approach is its ability to relate the estimated geographical variation to the total survival differences between individual patients. A number of additional parameters have also been developed for multilevel logistic regression, such as the MOR, which uses the estimated area-level random effect to quantify the median variability in survival between two randomly selected patients from two different areas with identical individual-level characteristics [10, 44]. However there is a lack of well accepted and robust measures for reporting the magnitude and impact of small-area variation in survival from Bayesian spatial models in a meaningful manner [45]. Tango’s MEET [46] is a global clustering test that has been previously used to formally evaluate the significance of the modelled spatial variation in Bayesian spatial survival results [4, 37], but computational difficulties with the large number of variables in our models precluded this approach here.

An important strength of the Bayesian spatial models adopted for this case study is their ability to account for spatial associations while borrowing information from neighboring areas to enable stable small-area estimates. Using aggregated spatial models potentially also allows greater flexibility in incorporating more years whereas the multilevel model requires curtailing the data. Moreover, the Bayesian spatial model, unlike the multilevel discrete-time model, can be easily modified to conduct relative survival analyses [4, 5], the preferred approach when reporting population-based cancer survival estimates [47].

There are also limitations to both approaches. Multilevel discrete-time survival analysis requires an initial restructuring to the person-period format so that standard binary response regression can be carried out [8]. Given the size of our primary dataset, the additional expansion required for analyzing survival outcomes over the entire time period or with shorter time intervals (e.g. days, months) rather than years was not possible under our computing specifications. This is a key limitation of MLwiN, which, as the most widely used software for multilevel modeling, may make this approach computationally infeasible [48]. Parameter estimates from continuous time survival models have however been shown to be comparable to those from multilevel discrete-time survival models [3, 8, 49]. For the Bayesian spatial model, the estimates are based on data aggregated by geographical units; hence making inferences at the individual level are subject to the well-known ecological bias [14, 50]. Both models when run under the computationally intensive MCMC were very time-consuming. An alternative option could be to use the R package INLA (Integrated Nested Laplace Approximation) [51] to generate results instead. This method approximates fully Bayesian inference and generates within seconds or minutes rather than days, but is only available for selected models [52].

Given the differences between the two approaches, the choice of analytic methods will depend on the research questions of interest, data characteristics, and available computational resources. Multilevel models may be more appropriate if a clear hierarchical structure is apparent and the primary objective is to quantify the independent impact of individual and area-level factors on survival differences while accounting for the clustering at the different analytical levels. Spatial analyses may however be preferred if the spatial correlation between areas has a theorized impact on the observed inequalities, or if the goal is to study geographical variation in cancer survival at the small-area level and then create maps of the smoothed relative risk estimates to understand spatial patterns. Such maps can prove useful in identifying areas with lower survival (or elevated relative risk of mortality) relative to all other regions within the overall study area [4, 5] with the potential to guide targeted strategies for improving survival and allocating resources.

The approaches described in the current study are generalizable in terms of wider international settings, geographical units (i.e. not restricted to SLAs) and cancer sites that can be analysed. These models can be fitted to datasets from any population-based or hospital-based cancer registry provided that there is sufficient information to estimate survival and assign cases to a geographical unit. Finally these models can be readily extended to look at geographical inequalities in survival for other diseases and conditions than cancer.


As spatial models more accurately define the geographical composition with the study cohort by accounting for spatial proximity, perhaps the optimum approach would be to integrate these two approaches by combining the spatial structure and neighboring information with a multilevel survival model that retains the nested structure. Literature on incorporating a spatial perspective into the multilevel setting is comparatively rare [1821]. Various conceptual and technical challenges have limited the easy implementation of multilevel spatial models in practice including their inherent complexity, computational demands and concerns about the statistical stability and interpretation of model estimates [1921]. This may be a promising area for further research.

Appendix 1 Multilevel discrete-time survival analysis

Multilevel discrete-time survival models [8] were adopted to analyse geographical variations in five year all-cause survival for individual patients. As described elsewhere [3], this approach requires an initial expansion of the dataset to allow survival models to be specified as multilevel binary response models.

Data expansion

We used the death or censoring time, r ij , and an indicator δ ij which was 0 if death had not occurred and 1 if death had occurred by five-years for each individual i in the jth SLA in the original data, to create for each follow-up interval t (years) up to r ij a binary response e tij which was coded as:

e t i j = 0 t < r i j 0 t = r i j , δ i j = 0 1 t = r i j , δ i j = 1

Hence if an individual died during the third year after diagnosis their discrete responses were (e1ij, e2ij, e3ij) = (0,0,1), while someone who was censored in the third year had response vector (0,0,0). This restructured dataset is often referred to as a person-period file[8].


The intercept and fixed parameters were assigned diffuse uniform priors (mean 0, variance 1.0). A weakly informative hyperprior of Gamma (0.1, 1000) was used for the precision ml _τ u (inverse variance) on the area-level random effect ml _u j. These are the default prior distributions in MLwiN [22]. Given the large number of area level units (478 SLAs) inferences are unlikely to be sensitive to the choice of prior distributions for the area-level variance [53].

Median odds ratios

The median odds ratio (MOR) was calculated as described previously [10]:

MOR=exp Ζ 0.75 × 2 ml _ σ u 2

where Ζ0.75 is the 75th percentile of the normal distribution and ml _σ2 u is the estimated area-level variance from the MCMC simulations. A 95% credible interval for the MOR was generated from the posterior distribution of the variance [43].

Appendix 2 Bayesian spatial survival analysis


An exchangeable normal prior spat_v j  ~ N(0,spat_σ2 v ) was specified for the non-spatial random effect where spat _σ2 v is the variance. The spatial dependence (spat _u j ) across SLAs was estimated using an intrinsic conditional autoregressive (CAR) prior [31] defined as:

spat _ u j | spat _ u k , j k ~N k ω j k spat _ u k k ω j k , spat _ σ u 2

where ω jk =1 if j, k are adjacent SLAs and 0 otherwise and spat_σ2 u is the variance for the spatial effect. Neighbors were defined using an adjacency matrix as described previously [37]. Diffuse normal priors were used for the intercept and fixed effects and weakly informative Gamma hyperpriors for the precision parameters spat _τ u and spat_τ v .

Sensitivity analyses were conducted by specifying three different Gamma (Γ) distributions for spat _τ u and spat_τ v and two uniform (Unif) priors for the standard deviation (spat _σ u , spat _ σ v ) [4]:

  1. 1.

    spat _ τ u  ~ Γ(0.1, 100), spat _ τ v  ~ Γ(0.1, 100)

  2. 2.

    spat _ τ u  ~ Γ(0.5, 1000), spat _ τ v  ~ Γ(0.5, 1000)

  3. 3.

    spat _ τ u  ~ Γ(0.1, 10), spat _ τ v  ~ Γ(0.001, 1000)

  4. 4.

    spat _ σ u  ~ Unif(0, 10), spat _ σ v  ~ Unif(0, 10)

  5. 5.

    spat _ σ u  ~ Unif(0, 1000), spat _ σ v  ~ Unif(0, 1000)

Priors 1 to 2 had means and variances on the precisions of (10, 1000); (500, 500000); and for Prior 3, spat _τ u had (1, 10), while spat_τ v had (1, 1000), respectively. Priors 4 and 5 had means and variances on the standard deviations of (5, 8.3) and (500, 83333.3).

Models were compared in in terms of DIC statistics [40], cumulative distribution plots of deviance [54], summary measures of the posterior distribution of monitored parameters and convergence diagnostics.

Spatial fraction

If spat_σ2 u(m) is the marginal variance for the spatial effect and spat_σ2 v is the variance for the non-spatial effect then the spatial fraction (Ψ) [5] is:

ψ= spat _ σ u m spat _ σ u m + spa t σ v 2



Colorectal cancer


Confidence interval


Credible interval


Conditional autoregressive


Deviance information criterion


Markov chain Monte Carlo


Median odds ratio


Odds ratio


Relative risk


Statistical Local Area.


  1. Inequity in cancer care: a global perspective. 2011, Vienna: International Atomic Energy Agency

  2. Woods LM, Rachet B, Coleman MP: Origins of socio-economic inequalities in cancer survival: a review. Ann Oncol. 2006, 17: 5-19. 10.1093/annonc/mdj940.

    Article  CAS  PubMed  Google Scholar 

  3. Baade PD, Dasgupta P, Aitken JF, Turrell G: Geographic remoteness, area-level socioeconomic disadvantage and inequalities in colorectal cancer survival in Queensland: a multilevel analysis. BMC Cancer. 2013, 13: 493-10.1186/1471-2407-13-493.

    Article  PubMed Central  PubMed  Google Scholar 

  4. Cramb SM, Mengersen KL, Turrell G, Baade PD: Spatial inequalities in colorectal and breast cancer survival: premature deaths and associated factors. Health Place. 2012, 18: 1412-1421. 10.1016/j.healthplace.2012.07.006.

    Article  PubMed  Google Scholar 

  5. Fairley L, Forman D, West R, Manda S: Spatial variation in prostate cancer survival in the Northern and Yorkshire region of England using Bayesian relative survival smoothing. Br J Cancer. 2008, 99: 1786-1793. 10.1038/sj.bjc.6604757.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  6. Lian M, Schootman M, Doubeni CA, Park Y, Major JM, Stone RAT, Laiyemo AO, Hollenbeck AR, Graubard BI, Schatzkin A: Geographic Variation in Colorectal Cancer Survival and the Role of Small-Area Socioeconomic Deprivation: A Multilevel Survival Analysis of the NIH-AARP Diet and Health Study Cohort. Am J Epidemiol. 2011, 174: 828-838. 10.1093/aje/kwr162.

    Article  PubMed Central  PubMed  Google Scholar 

  7. Browne WJ, Steele F, Golalizadeh M, Green MJ: The use of simple reparameterizations to improve the efficiency of Markov chain Monte Carlo estimation for multilevel models with applications to discrete time survival models. J R Statist Soc A (Statistics in Society). 2009, 172: 579-598. 10.1111/j.1467-985X.2009.00586.x.

    Article  Google Scholar 

  8. Steele F: Event History Analysis: A National Centre for Research Methods Briefing Paper. 2005, UK: Centre for Multilevel Modelling, University of Bristol, [] []

    Google Scholar 

  9. Subramanian SV, Duncan C, Jones K: Multilevel perspectives on modeling census data. Environ Plann A. 2001, 33: 399-417. 10.1068/a3357.

    Article  Google Scholar 

  10. Larsen K, Merlo J: Appropriate assessment of neighborhood effects on individual health: integrating random and fixed effects in multilevel logistic regression. Am J Epidemiol. 2005, 161: 81-88. 10.1093/aje/kwi017.

    Article  PubMed  Google Scholar 

  11. Chaix B, Merlo J, Subramanian SV, Lynch J, Chauvin P: Comparison of a Spatial Perspective with the Multilevel Analytical Approach in Neighborhood Studies: The Case of Mental and Behavioral Disorders due to Psychoactive Substance Use in Malmö, Sweden, 2001. Am J Epidemiol. 2005, 162: 171-182. 10.1093/aje/kwi175.

    Article  PubMed  Google Scholar 

  12. Banerjee S, Wall MM, Carlin BP: Frailty modeling for spatially correlated survival data, with application to infant mortality in Minnesota. Biostatistics. 2003, 4: 123-142. 10.1093/biostatistics/4.1.123.

    Article  PubMed  Google Scholar 

  13. Sauleau EA, Hennerfeind A, Buemi A, Held L: Age, period and cohort effects in Bayesian smoothing of spatial cancer survival with geoadditive models. Stat Med. 2007, 26: 212-229. 10.1002/sim.2533.

    Article  PubMed  Google Scholar 

  14. Lawson AB: Bayesian Disease Mapping (2nd ed): Hierarchical Modeling in Spatial Epidemiology. 2013, Hoboken: CRC Press

    Google Scholar 

  15. Varin C, Høst G, Skare Ø: Pairwise likelihood inference in spatial generalized linear mixed models. Comput Stat Data Anal. 2005, 49: 1173-1191. 10.1016/j.csda.2004.07.021.

    Article  Google Scholar 

  16. Chaix B, Merlo J, Chauvin P: Comparison of a spatial approach with the multilevel approach for investigating place effects on health: the example of healthcare utilisation in France. J Epidemiol Community Health. 2005, 59: 517-526. 10.1136/jech.2004.025478.

    Article  PubMed Central  PubMed  Google Scholar 

  17. Xu H: Comparing Spatial and Multilevel Regression Models for Binary Outcomes in Neighborhood Studies. Sociol Methodol. 2014, 44: 229-272. 10.1177/0081175013490188.

    Article  PubMed Central  PubMed  Google Scholar 

  18. Arcaya M, Brewster M, Zigler CM, Subramanian SV: Area variations in health: A spatial multilevel modeling approach. Health Place. 2012, 18: 824-831. 10.1016/j.healthplace.2012.03.010.

    Article  PubMed Central  PubMed  Google Scholar 

  19. Bartolomeo N, Trerotoli P, Serio G: Lung cancer and COPD rates in Apulia: a multilevel multimember model for smoothing disease mapping. Int J Health Geogr. 2010, 9: 15-10.1186/1476-072X-9-15.

    Article  PubMed Central  PubMed  Google Scholar 

  20. Chen D-R, Truong K: Using multilevel modeling and geographically weighted regression to identify spatial variations in the relationship between place-level disadvantages and obesity in Taiwan. Appl Geogr. 2012, 32: 737-745. 10.1016/j.apgeog.2011.07.018.

    Article  CAS  Google Scholar 

  21. Park YM, Kim Y: A spatially filtered multilevel model to account for spatial dependency: application to self-rated health status in South Korea. Int J Health Geogr. 2014, 13: 6-10.1186/1476-072X-13-6.

    Article  PubMed Central  PubMed  Google Scholar 

  22. Browne WJ: MCMC Estimation in MLwiN, v2.26. 2012, UK: Centre for Multilevel Modelling, University of Bristol, [] []

    Google Scholar 

  23. Davies HTO, Crombie IK, Tavakoli M: When can odds ratios mislead?. BMJ. 1998, 316: 989-991. 10.1136/bmj.316.7136.989.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  24. Queensland Cancer Registry: Cancer in Queensland: Incidence, Mortality, Survival and Prevalence,1982 to 2007. 2010, Brisbane: QCR, Cancer Council Queensland and Queensland Health

    Google Scholar 

  25. Sobin LH, Wittlekind C: TNM Classification of malignant tumours (6th edition). 2002, New York: Wiley and Sons

    Google Scholar 

  26. AIHW: Rural, regional and remote health: A guide to remoteness classifications. 2004, Canberra: Australian Institute of Health and Welfare AIHW Cat. No. PHE 53

    Google Scholar 

  27. Australian Bureau of Statistics: Information Paper: An Introduction to Socio-Economic Indexes for Areas (SEIFA), 2006. 2008, Canberra: ABS

    Google Scholar 

  28. Rasbash J, Steele F, Browne WJ, Goldstein H: A Users Guide to MLwiN, v2.26. 2012, UK: Centre for Multilevel Modelling, University of Bristol, [] []

    Google Scholar 

  29. Lunn DJ, Thomas A, Best N, Spiegelhalter DJ: WinBUGS - a Bayesian modelling framework: concepts, structure, and extensibility. Stat Comput. 2000, 10: 325-337. 10.1023/A:1008929526011.

    Article  Google Scholar 

  30. R Development Core Team: R: A Language and Environment for Statistical Computing. 2010, Vienna, Austria: R Foundation for Statistical Computing

    Google Scholar 

  31. Besag J, York J, Mollie A: Bayesian image restoration, with two applications in spatial statistics. Ann Inst Stat Math. 1991, 43: 1-59. 10.1007/BF00116466.

    Article  Google Scholar 

  32. Royston P, Lambert PC: Flexible Parametric Survival Analysis Using Stata: Beyond the Cox Model. 2011, Texas: Stata Press

    Google Scholar 

  33. Whitehead J: Fitting Cox’s Regression Model to Survival Data using GLIM. J R Statist Soc C (Applied Statistics). 1980, 29: 268-275.

    Google Scholar 

  34. Lawson AB, Browne WJ, Vidal Rodeiro CL: Disease mapping with WinBUGS and MLwiN. 2003, John Wiley & Sons Ltd: Chichester

    Book  Google Scholar 

  35. Leckie G, Charlton C: runmlwin- A Program to Run the MLwiN Multilevel Modelling Software from within Stata. J Stat Softw. 2013, 52: 1-40.

    Google Scholar 

  36. Thompson J, Palmer T, Moreno S: Bayesian analysis in Stata using WinBUGS. Stata J. 2006, 6: 530-549.

    Google Scholar 

  37. Cramb SM, Mengersen KL, Baade PD: Developing the atlas of cancer in Queensland: methodological issues. Int J Health Geogr. 2011, 10: 9-10.1186/1476-072X-10-9.

    Article  PubMed Central  PubMed  Google Scholar 

  38. Raftery AE, Lewis SM: How many iterations in the Gibbs sampler?. Bayesian Statistics 4. Edited by: Bernardo JM, Berger J, Dawid AP, Smith AFM. 1992, Oxford: Oxford University Press, 765-776.

    Google Scholar 

  39. Geweke J: Evaluating the accuracy of sampling-based approaches to the calculation of posterior moments. Bayesian Statistics 4. Edited by: Bernardo JM, Berger J, Dawid AP, Smith AFM. 1992, Oxford: Oxford University Press, 169-193.

    Google Scholar 

  40. Spiegelhalter DJ, Best NG, Carlin BP, Van Der Linde A: Bayesian measures of model complexity and fit. J R Statist Soc B (Statistical Methodology). 2002, 64: 583-639. 10.1111/1467-9868.00353.

    Article  Google Scholar 

  41. Wheeler DC, Hickson DA, Waller LA: Assessing Local Model Adequacy in Bayesian Hierarchical Models Using the Partitioned Deviance Information Criterion. Comput Stat Data Anal. 2010, 54: 1657-1671. 10.1016/j.csda.2010.01.025.

    Article  PubMed Central  PubMed  Google Scholar 

  42. Goldstein H: Multilevel Statistical Models. 2010, Hoboken: Wiley, 4

    Book  Google Scholar 

  43. Merlo J, Chaix B, Ohlsson H, Beckman A, Johnell K, Hjerpe P, Rastam L, Larsen K: A brief conceptual tutorial of multilevel analysis in social epidemiology: using measures of clustering in multilevel logistic regression to investigate contextual phenomena. J Epidemiol Community Health. 2006, 60: 290-297. 10.1136/jech.2004.029454.

    Article  PubMed Central  PubMed  Google Scholar 

  44. Sanagou M, Wolfe R, Forbes A, Reid CM: Hospital-level associations with 30-day patient mortality after cardiac surgery: a tutorial on the application and interpretation of marginal and multilevel logistic regression. BMC Med Res Methodol. 2012, 12: 28-10.1186/1471-2288-12-28.

    Article  PubMed Central  PubMed  Google Scholar 

  45. Kulldorff M, Song C, Gregorio D, Samociuk H, DeChello L: Cancer map patterns: are they random or not?. Am J Prev Med. 2006, 30: S37-S49. 10.1016/j.amepre.2005.09.009.

    Article  PubMed Central  PubMed  Google Scholar 

  46. Tango T: A test for spatial disease clustering adjusted for multiple testing. Stat Med. 2000, 19: 191-204. 10.1002/(SICI)1097-0258(20000130)19:2<191::AID-SIM281>3.0.CO;2-Q.

    Article  CAS  PubMed  Google Scholar 

  47. Dickman PW, Sloggett A, Hills M, Hakulinen T: Regression models for relative survival. Stat Med. 2004, 23: 51-64. 10.1002/sim.1597.

    Article  PubMed  Google Scholar 

  48. Li B, Lingsma HF, Steyerberg EW, Lesaffre E: Logistic random effects regression models: a comparison of statistical packages for binary and ordinal outcomes. BMC Med Res Methodol. 2011, 11: 77-10.1186/1471-2288-11-77.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  49. Banerjee S, Carlin BP, Gelfand AE: Hierarchical Modeling and Analysis for Spatial Data. Chapman & Hall/CRC Monographs on Statistical and Applied Probability;. 2004, UK: Taylor and Francis

    Google Scholar 

  50. Merlo J, Viciana-Fernandez FJ, Ramiro-Farinas D, Res Grp L: Bringing the individual back to small-area variation studies: A multilevel analysis of all-cause mortality in Andalusia, Spain. Soc Sci Med. 2012, 75: 1477-1487. 10.1016/j.socscimed.2012.06.004.

    Article  PubMed  Google Scholar 

  51. Rue H, Martino S, Chopin N: Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations. J R Stat Soc B. 2009, 71: 319-392. 10.1111/j.1467-9868.2008.00700.x.

    Article  Google Scholar 

  52. Martins TG, Simpson D, Lindgren F, Rue H: Bayesian computing with INLA: New features. Comput Stat Data Anal. 2013, 67: 68-83.

    Article  Google Scholar 

  53. Lambert PC, Sutton AJ, Burton PR, Abrams KR, Jones DR: How vague is vague? A simulation study of the impact of the use of vague prior distributions in MCMC using WinBUGS. Stat Med. 2005, 24: 2401-2428. 10.1002/sim.2112.

    Article  PubMed  Google Scholar 

  54. Aitkin M, Liu CC, Chadwick T: Bayesian model comparison and model averaging for small-area estimation. Ann Appl Stat. 2009, 3: 199-221. 10.1214/08-AOAS205.

    Article  Google Scholar 

Download references


This work was supported by a research grant from the (Australian) National Health and Medical Research Council (NHMRC) (ID561700). Associate Professor Peter Baade is supported by an NHMRC Career Development Fellowship (ID1005334) and Professor Gavin Turrell is supported by an NHMRC Senior Research Fellowship (ID 1003710).

The NHMRC is an external funding agency that provided funds to conduct this research. They had no input into the content or conclusions of this paper.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Peter D Baade.

Additional information

Competing interest

The authors declare that they have no competing interests.

Authors’ contributions

PDB conceived the study. PD performed the analysis. PD, SMC and PDB drafted the manuscript. All authors contributed to, read and approved the final manuscript.

Electronic supplementary material


Additional file 1:Example of sensitivity analysis for Bayesian spatial survival models. Kernel density plots for estimated relative risks (RR) of all-cause death by area-level remoteness: A: major cities; B: inner cities and C: remote from Bayesian spatial survival models with Gamma priors specified for the precision (inverse of variance). of 1: τu ~ Γ(0.1, 10), τv ~ Γ(0.1, 10); 2: τu ~ Γ(0.5, 1000), τ v  ~ Γ(0.5, 1000); 3 : τu ~ Γ(0.1, 10) τv ~ Γ(0.001, 1000); or Uniform (Unif) priors on the standard deviation of : 4 : σu ~ Uniform(0, 10), σ v  ~ Unif(0, 10) or 5 : σ u  ~ Unif(0, 1000), σ v  ~ Unif(0, 1000). (PDF 88 KB)


Additional file 2:Model comparisons for multilevel discrete-time survival models. Table S1 shows Bayesian deviance information criterion (DIC) values for different models with smaller values (difference of at least 7 units) indicating better model-fit. Models with difference of 3–5 units can be weakly distinguished. The pD values represents the effective number of parameters. (XLSX 12 KB)


Additional file 3:Model comparisons for the Bayesian spatial survival models. Table S2 shows Bayesian deviance information criterion (DIC) values and pD values, which due to borrowing of strength from adjacent areas is often less than the total number of model parameters. Larger values indicate estimates have undergone less smoothing. (XLSX 12 KB)


Additional file 4:Median smoothed relative risk (RR) and credible intervals by statistical local areas (SLA). The median smoothed relative risk (RR) estimates from final Bayesian spatial model for all-cause survival by statistical local areas (SLAs) in Queensland. The black line is the RR, grey lines are the 95% credible intervals (CrI) and the red horizontal line indicates the Queensland average. (PDF 52 KB)

Rights and permissions

Open Access  This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.

The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

To view a copy of this licence, visit

The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Dasgupta, P., Cramb, S.M., Aitken, J.F. et al. Comparing multilevel and Bayesian spatial random effects survival models to assess geographical inequalities in colorectal cancer survival: a case study. Int J Health Geogr 13, 36 (2014).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: