Skip to main content
  • Technical advance
  • Open access
  • Published:

A note on obtaining correct marginal predictions from a random intercepts model for binary outcomes

Abstract

Background

Clustered data with binary outcomes are often analysed using random intercepts models or generalised estimating equations (GEE) resulting in cluster-specific or ‘population-average’ inference, respectively.

Methods

When a random effects model is fitted to clustered data, predictions may be produced for a member of an existing cluster by using estimates of the fixed effects (regression coefficients) and the random effect for the cluster (conditional risk calculation), or for a member of a new cluster (marginal risk calculation). We focus on the second. Marginal risk calculation from a random effects model is obtained by integrating over the distribution of random effects. However, in practice marginal risks are often obtained, incorrectly, using only estimates of the fixed effects (i.e. by effectively setting the random effects to zero). We compare these two approaches to marginal risk calculation in terms of model calibration.

Results

In simulation studies, it has been seen that use of the incorrect marginal risk calculation from random effects models results in poorly calibrated overall marginal predictions (calibration slope <1 and calibration in the large ≠ 0) with mis-calibration becoming worse with higher degrees of clustering. We clarify that this was due to the incorrect calculation of marginal predictions from a random intercepts model and explain intuitively why this approach is incorrect. We show via simulation that the correct calculation of marginal risks from a random intercepts model results in predictions with excellent calibration.

Conclusion

The logistic random intercepts model can be used to obtain valid marginal predictions by integrating over the distribution of random effects.

Peer Review reports

Background

Clustered data arise often in medical research, for example when patients are clustered within hospitals or general practises. It is well known [1] that a standard regression model which ignores clustering provides incorrect standard errors for the estimates of the regression coefficients. Random effects models (also known as ‘mixed models’) and Generalised Estimating Equations (GEE) are two popular approaches for analysing clustered data; they account for clustering and provide, respectively, cluster-specific (conditional) and population-average (marginal) inference [2]. For a continuous outcome, the fit from a linear regression mixed model and GEE estimate the same population quantities (regression coefficients), but for a binary outcome a logistic regression mixed model and GEE estimate different quantities [1]. In this paper we focus on binary outcomes.

For example, Bouwmeester et al. [3] focused on the use of a logistic mixed model with random intercepts to obtain conditional risk predictions using estimates of the fixed and random effects. This type of prediction may be used to predict the probability of an event for a new member of an existing cluster, i.e. a cluster that belongs to the dataset that was used to fit the random effects model. They found that conditional risk predictions provided better discrimination than marginal risk predictions. They used the same random intercepts model to produce marginal predictions, by simply setting the random effects to zero. Skrondal et al. [4] had earlier noted that this incorrect type of marginal prediction is not unusual in applied research (e.g. Rose [5] ), and was shown to result in a small loss in predictive accuracy when the intra-cluster correlation (ICC) was small. Bouwmeester et al. [3] used the incorrect marginal risk calculation and found that it produced mis-calibrated predictions with ICC as small as 0.15. The amount of mis-calibration was found to increase with the degree of clustering.

We clarify the reasons for this mis-calibration and explain how to obtain correct marginal predictions from a logistic random intercepts model.

Methods

Marginal predictions for clustered data

Let Y ij and X ij  = (Xij,1, Xij,2, …, Xij,p) denote the binary outcome and the p-dimensional vector of covariates for the jth member of the ith cluster, i = 1, …, K; j = 1, …, N i .

A logistic random intercepts model can be written as:

$$ \mathrm{logit}\ \left(P\left({Y}_{ij}=1\Big|{\boldsymbol{X}}_{ij}={\boldsymbol{x}}_{ij},{u}_i\right)\right)={\alpha}_{RE}+{u}_i+{\displaystyle \sum_{m=1}^p}{x}_{ij,m}\ {\beta}_{RE,m}, $$
(1)

where a RE and β  = (β,1, β,2, …, β,m) are the conditional regression parameters (fixed effects), and u i is the random effect for the ith cluster. Usually it is assumed that u i  ~ N(0, σ 2 u ).

The linear combination of predictor values, regression coefficients and random effect, \( {\alpha}_{RE}+{u}_i+{\displaystyle \sum_{m=1}^p}{x}_{ij,m}{\beta}_{RE,m} \), is known as linear predictor, risk score or predicted log-odds.

A marginal model (not conditional on random effects) can be written as:

$$ \mathrm{logit}\left(P\left({Y}_{ij}=1\Big|{\boldsymbol{X}}_{ij}={\boldsymbol{x}}_{ij}\right)\right)={\alpha}_M+{\displaystyle \sum_{m=1}^p}{x}_{ij,m}\ {\beta}_{M,m}, $$
(2)

where a M and β M  = (βM,1, βM,2, …, βM,m) are the marginal regression coefficients. Model (2) can be fitted using standard Maximum Likelihood Estimation (MLE) ignoring the clustering. This results in estimators \( {\widehat{\alpha}}_{\mathrm{standard}} \) and \( {\widehat{\boldsymbol{\beta}}}_{\mathrm{standard}} \).

Ideally, the within-cluster correlation should be accounted for, and model (2) be fitted using GEE with a suitable ‘working’ correlation matrix, giving rise to estimators \( {\widehat{\alpha}}_{\mathrm{GEE}} \) and \( {\widehat{\boldsymbol{\beta}}}_{\mathrm{GEE}} \). Both \( \left({\widehat{\alpha}}_{\mathrm{standard}},{\widehat{\boldsymbol{\beta}}}_{\mathrm{standard}}\right) \) and \( \left({\widehat{\alpha}}_{\mathrm{GEE}},{\widehat{\boldsymbol{\beta}}}_{\mathrm{GEE}}\right) \) are consistent estimates of (α M β M ) (i.e. converge to the true value (α M β M ) as the sample size tends to infinity) provided that any missing data are covariate-dependent MCAR (Missing Completely at Random) [6]. Note that \( \left({\widehat{\alpha}}_{\mathrm{standard}},{\widehat{\boldsymbol{\beta}}}_{\mathrm{standard}}\right)=\left({\widehat{\alpha}}_{\mathrm{GEE}},{\widehat{\boldsymbol{\beta}}}_{\mathrm{GEE}}\right) \) when the independence working correlation matrix is used.

Importantly, Zeger et al. [7] noted that the fixed effects in a random intercepts model are larger (in absolute value) than the corresponding regression parameters from a marginal model. That is,

$$ \left|{a}_{RE}\left|\ge \Big|{a}_M\right|,\ \right|{\beta}_{RE,m}\left|\ge \Big|{\beta}_{M,m}\right|\ \forall\ m, $$
(3)

with the equality holding if and only if a RE  = 0 or β RE,m  = 0.

Also, the difference between the marginal and conditional coefficients increases as the variance of the random effects (i.e. the degree of clustering) increases. In particular, an approximation [7] of (α M β M ) from (α RE , β RE ) is

$$ {\alpha}_{M,m} \approx \frac{\alpha_{RE,m\ }}{\sqrt{\ \left({c}^2{\sigma}_u^2+1\right)}},\ {\beta}_{M,m} \approx \frac{\beta_{RE,m\ }}{\sqrt{\ \left({c}^2{\sigma}_u^2+1\right)}},\ c=\frac{16\sqrt{3}}{15\pi }\ . $$
(4)

Bouwmeester et al. [3] calculated marginal risk predictions from the random intercepts model using only the fixed effects, i.e. by setting the random effects equal to their mean value, zero:

$$ P\left({Y}_{ij}=1\Big|{\boldsymbol{X}}_{ij}={\boldsymbol{x}}_{ij}\right)={\widehat{\pi}}_{ij}(0)=\frac{1}{1+ \exp \left(-\left[{\widehat{a}}_{RE}+{\displaystyle {\sum}_{m=1}^p}{x}_{ij,m}\ {\widehat{\beta}}_{RE,m}\right]\ \right)}\ . $$
(5)

However, as noted by Skrondal et al. [4] the correct way to obtain marginal risk predictions from a random intercepts model is to integrate over the distribution of random effects:

$$ P\left({Y}_{ij}=1\Big|{\boldsymbol{X}}_{ij}={\boldsymbol{x}}_{ij}\right)={\widehat{\pi}}_{ij}(int)={\displaystyle \underset{-\infty }{\overset{\infty }{\int }}}\frac{1}{1+ \exp \left(-\left[{\widehat{a}}_{RE}+u+{\displaystyle {\sum}_{m=1}^p}{x}_{ij,m}\ {\widehat{\beta}}_{RE,m}\ \right]\right)}f(u)\ du, $$
(6)

where f(u) is the density function of the (prior) distribution of random effects. In this case it is the density function for a Normal distribution with mean zero and variance σ 2 u , which can be substituted by its estimate, \( {\widehat{\sigma}}_u^2 \).

We next design a simulation study to compare in terms of calibration the following 5 types of marginal predictions from:

  1. a)

    a marginal regression model (fitted using standard maximum likelihood) that ignores clustering (‘No clustering’).

  2. b)

    a random intercepts regression model with the random effects set to zero (‘RE-zero’).

  3. c)

    a random intercepts regression model after integrating over the estimated distribution of random effects (‘RE-integ’),

  4. d)

    a random intercepts regression model after rescaling the estimated conditional coefficients using the approximation of Zeger (‘RE-approx’),

  5. e)

    a marginal regression model fitted by GEE with exchangeable correlation structure (‘GEE’).

Simulation study

We designed a simulation to demonstrate that the correct approach to obtaining marginal predictions from a random intercepts model using equation (6) results in predictions with good calibration, regardless of the degree of clustering. We replicated the simulation study of Bouwmeester et. al. [3] (however, since the random number seed used in their simulation study was unknown to us, we have obtained slightly different results from those shown in their tables).

The simulation design was as follows. A source population of 100 centres was generated with varying cluster size, N i , for each cluster. In particular, N i  ~ Poisson(exp(λ i )), λ i  ~ N(5.7, 0.32), i = 1, …, 100. The total sample comprised 32502 patients and the median number of patients per centre was 312.

Six predictor variables were considered, three of which were continuous and were generated from Normal distributions with zero mean and standard deviations 1, 0.3, 0.2, respectively. The other three predictors were binary with prevalence 0.2, 0.3, 0.4, respectively, and were generated from a binomial distribution. The coefficients of all predictors were set to 1. The degree of clustering was varied by changing the variance σ 2 u of a latent variable u ~ N(0, σ 2 u ). The ICC is given by \( ICC=\frac{\sigma_u^2}{\pi^2/3+{\sigma}_u^2} \) [8], and so when σ 2 u  = 0.17, ICC = 0.05. The linear predictor and the probability of an event happening, respectively, were calculated using

$$ {\eta}_{ij}={u}_i+{x}_{ij,1}+{x}_{ij,2}+{x}_{ij,3}+{x}_{ij,4}+{x}_{ij,5}+{x}_{ij,6}\mathrm{and}\kern0.5em P\left({Y}_{ij}=1\right)={\left(1+ \exp \left(-{\eta}_{ij}\right)\right)}^{-1} $$

Finally, the binary outcome Y ij was randomly set equal to 1 with probability P(Y ij  = 1) and 0 otherwise.

Study samples were drawn from this source population using a two-stage sampling. First, 20 centres were drawn from the population of 100 clusters, and then 1000 members were drawn at random from the sampled centres. This two stage sampling procedure was repeated 100 times so 100 ‘training’ datasets were produced. The source population, each time after excluding the 20 clusters that were sampled for the training dataset, was taken to be the ‘test’ or ‘validation’ dataset for the corresponding training dataset. For each method for calculating marginal risks, the model was fitted to each of the training datasets, and its predictive performance was assessed on the corresponding validation dataset.

In addition, to investigate the sensitivity of the performance of the methods to differences between the distributions of cluster sizes in the training and validation datasets, we also considered a second method for constructing the training datasets. In this second method, each training dataset was generated using the same distribution of predictors as in the validation dataset, but the distribution of cluster sizes differed. In particular, each training dataset consisted of a total of 1000 observations in 20 clusters, and the cluster sizes were generated from a multinomial distribution with probabilities generated from a Dirichlet distribution with parameter equal to one for all clusters.

We examined the predictive performance of different methods to obtain marginal risks, in terms of calibration. Calibration in the large and calibration slope are calculated by fitting to the validation data two separate regression models. Calibration slope is the slope term in a logistic regression model where the estimated linear predictor (the inverse logit function of the predicted probability, also known as risk score and predicted log-odds) is regressed on the binary outcome. Calibration in the large is the intercept term in an intercept-only logistic regression model for the binary outcome with the linear predictor set as an offset term. A perfectly calibrated model should have a calibration in the large value equal to 0 (meaning that the average predicted probability is equal to the prevalence of the outcome) and a calibration slope value equal to 1. A calibration slope <1 indicates that the range of predictions is excessively wide and some shrinkage is necessary [9].

The simulations were carried out using R version 3.1. The logistic random intercepts models were fitted using the glmer function of the R package lme4. Population-average predictions, via numerical integration over the estimated distribution of random effects, were obtained by user-written code (see Additional file 1). The same computation can be carried out in Stata using built-in commands of the package gllamm.

Results

We now discuss the results of using the wrong form described by equation (5) for marginal predictions. Table 1 presents calibration in the large and calibration slopes (with standard errors) for the 5 methods above and for varying degrees of clustering. Use of marginal predictions by setting the random effects equal to zero (RE-zero) results in increasingly poorly calibrated predictions as the ICC becomes higher. For the highest ICC considered, ICC = 0.3, the calibration in the large is 0.14, which means that the average predicted risk was too low, and the calibration slope is 0.79, which indicates that the predicted risks are more widely dispersed than the actual risks. A calibration slope of less than one can be a symptom of overfitting [10] and in practice, values slightly less than one are expected due to minor overfitting. However, overfitting as a cause is ruled out here because in this simulation the number of events was large. Instead, it can be purely attributed to the incorrect approach used to obtain marginal predictions from a random intercepts model. As the regression coefficients of a random intercepts model are larger than the corresponding marginal ones, by just setting the random effects to zero we obtain an excessively wide range of predictions which leads to poor calibration slope (<1). Similarly, the mean of the predicted risks \( {\widehat{\pi}}_{ij}(0) \) is not equal to the mean of the predicted risks \( {\widehat{\pi}}_{ij}(int) \), which leads to poor calibration in the large (≠ 0). Note that the larger the intra-cluster correlation is, the larger is the ratio of |βRE,m| to |βM,m|, as can be easily seen from the approximation in (4). So, we would expect that for an ICC smaller than 0.3, the calibration slope for RE-zero would be closer to 1. Indeed, the results in Table 1, verify this intuition: when ICC = 0.05, RE-zero has a calibration slope of 0.95 and calibration in the large -0.03.

Table 1 Calibration results from the simulation study with 20 centres

These results replicate the findings of [3] that the incorrect marginal risk calculation, \( {\widehat{\pi}}_{ij}(0) \), obtained from a random intercepts model by setting the random effects equal to zero (RE-zero) results in poorly calibrated predictions for large ICCs. In contrast, the correct marginal risk calculation, \( {\widehat{\pi}}_{ij}(int) \), by integrating over the distribution of random effects (RE-integ), shows good calibration, comparable to that of standard MLE (Ignoring clustering) and GEE. Also, as speculated, the simple approximation (described by equation (4)) of marginal coefficients from the corresponding conditional ones (RE-approx) also results in good calibration in all cases. For the simulation scenario where the distribution of cluster sizes in the validation dataset differed from the distribution of cluster sizes in the training dataset the results and conclusions were similar (Additional file 1: Table S1).

Now we demonstrate graphically the difference between the predicted risks from each method. We show the predicted risk for a range of values of the first continuous predictor, while, without loss of generality, the other five predictors are set to zero. This is done for ICC = 0.05, 0.1, 0.15 or 0.3, and the results for ICC = 0.3 are shown in Fig. 1. The naïve marginal predictions, \( {\widehat{\pi}}_{ij}(0), \) tend to be more extreme than the predictions from the other methods, all of which are very similar. This is reflected by the calibration slope which is <1 for the naïve predictions but very close to one for the rest. As the ICC becomes smaller (graphs not shown) the naïve predictions approach the ones from the other methods.

Fig. 1
figure 1

Marginal predictions for a range of values of X1, while the other predictors are set to zero

Discussion

We have compared different approaches in terms of their ability to provide correctly calibrated marginal predictions for a new individual in a new cluster. However, conditional predictions for new patients in existing clusters may also be of interest and are discussed here, along with the possibility that the random effects are not independent either of the predictors or the cluster sizes.

Conditional predictions

Marginal predictions would be of interest for individuals who belong to clusters that were not included in the training dataset. In addition, however, predictions for new individuals who belong to clusters that were included in the training dataset may also be required. Estimates (e.g. empirical Bayes estimates) of the random effects for these clusters can be obtained during the model fitting process, and then these estimates can used to make prediction for these new individuals. This is ‘conditional’ (as opposed to marginal) prediction. In such cases, conditional predictions can be obtained by incorporating in the calculation the estimated random effects of the cluster, or, more correctly as noted by Skrondal et al. [4], by integrating over the posterior distribution of the random effects (see detailed expressions in the Additional file 1).

We performed additional simulations to compare the performance of these two approaches for obtaining conditional predictions in terms of calibration, and their performance was very similar (full results in the Additional file 1: Table S2 and Table S3).

Associations between the random effects and either a predictor or the cluster size

A random intercepts model for clustered data assumes that the predictors and the cluster sizes are independent of the random effects, but either of these conditions may be violated. When a cluster-varying predictor is not independent of the random effects, ‘confounding by cluster’ [11, 12] arises. Although use of a standard random intercepts model results in a biased estimate for the effect of the predictor that is correlated with the random effect, Bouwmeester et al. [3] explained that, in fact, this correlation is beneficial in terms of prediction and particularly calibration, because inclusion of that predictor partly explains differences in prevalence between clusters. This was verified by their simulation studies, where the calibration of the models when a predictor, X, was correlated with the random intercept, appeared to be better than when there was no correlation between the predictor and the random intercept. Properly dealing with confounding, as described by Seaman et al. [11] and illustrated by Skrondal et al [4], by including the cluster-mean of X, as well as X itself, in a random intercepts model, will remove any residual confounding and produce a model suitable for prediction for patients in a new or an existing cluster. Seaman et al. [11] reviewed approaches to detect confounding by cluster. Similarly, if cluster size is not independent of the random effects, ‘informative cluster size’ [11, 13] arises. Including cluster size as a predictor will remove informative cluster size and produce a model suitable for prediction in patients in new or existing clusters.

Conclusion

In this article we have explained why the incorrect calculation of marginalised risks from a logistic random intercepts model by setting the random effects to zero results in mis-calibrated population-average predictions. Via simulation we have shown that the correct marginalisation by integrating over the distribution of random effects solves this problem. The method of obtaining predicted risks by approximating the coefficients of the marginal model from the corresponding conditional ones also worked well. Either of the two methods could be used to compute population-average predictions, if this is desired. Although GEE would be a direct approach to obtain marginal inference, use of a random effects model would still be preferred when, for example, the covariate-dependent MCAR assumption required by GEE is likely to be violated, or when conditional predictions are required. Random effect models are consistent when data are MAR, i.e. missingness in Y is independent of Y given X and u [2] (provided that missingness does not cause any empty clusters, i.e. clusters with no observed outcomes).

Arguably, in the context of clustered data where patients are clustered within hospitals, the ICC rarely exceeds 0.15. In those cases the mis-calibration of the incorrect marginalised predictions will be small. In settings where the ICC is greater than 0.15 the mis-calibration of the incorrect predictions will be a more serious issue.

In conclusion, both population-average and conditional predictions have their own use in guiding clinical decisions in different settings. In practice, a population-average prediction may be used to provide an estimate of the risk of the event for an individual that does not belong to one of the clusters used in model development. For a new individual in a cluster that was used in the model development, conditional predictions which incorporate centre-specific information by using the estimated random effect for the cluster can provide a more accurate prediction for the particular individual.

Abbreviations

GEE:

Generalised estimation equations

ICC:

Intra-cluster correlation coefficient

MLE:

Maximum likelihood estimator

MCAR:

Missing Completely at Random

MAR:

Missing at random

References

  1. Diggle P, Heagerty P, Liang K-Y, Zeger S. Analysis of longitudinal data. Oxford University Press, Oxford; 2002.

  2. Molenberghs G, Verbeke G. Models for discrete longitudinal data. Springer, New York; 2005.

  3. Bouwmeester W, Twisk JW, Kappen TH, van Klei WA, Moons KG, Vergouwe Y. Prediction models for clustered data: comparison of a random intercept and standard regression model. BMC Med Res Methodol. 2013;13:19. doi:10.1186/1471-2288-13-19.

    Article  PubMed  PubMed Central  Google Scholar 

  4. Skrondal A, Rabe-Hesketh S. Prediction in multilevel generalized linear models. J R Stat Soc A Stat Soc. 2009;172(3):659–87. doi:10.1111/j.1467-985X.2009.00587.x.

    Article  Google Scholar 

  5. Rose CE, Hall DB, Shiver BD, Clutter ML, Borders B. A Multilevel Approach to Individual Tree Survival Prediction. Forest Sci. 2006;52(1):31–43.

    Google Scholar 

  6. Hedeker D, Gibbons RD. Longitudinal data analysis. John Wiley & Sons, New Jersey; 2006.

  7. Zeger SL, Liang KY, Albert PS. Models for longitudinal data: a generalized estimating equation approach. Biometrics. 1988;44(4):1049–60.

    Article  CAS  PubMed  Google Scholar 

  8. Eldridge SM, Ukoumunne OC, Carlin JB. The Intra-Cluster Correlation Coefficient in Cluster Randomized Trials: A Review of Definitions. Int Stat Rev. 2009;77(3):378–94. doi:10.1111/j.1751-5823.2009.00092.x.

    Article  Google Scholar 

  9. Steyerberg EW, Vickers AJ, Cook NR, Gerds T, Gonen M, Obuchowski N, et al. Assessing the Performance of Prediction Models A Framework for Traditional and Novel Measures. Epidemiology. 2010;21(1):128–38.

    Article  PubMed  PubMed Central  Google Scholar 

  10. Steyerberg EW, Eijkemans MJC, Habbema JDF. Application of Shrinkage Techniques in Logistic Regression Analysis: A Case Study. Stat Neerlandica. 2001;55(1):76–88.

    Article  Google Scholar 

  11. Seaman S, Pavlou M, Copas A. Review of methods for handling confounding by cluster and informative cluster size in clustered data. Stat Med. 2014;33(30):5371–87. doi:10.1002/sim.6277.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Neuhaus JM, McCulloch CE. Separating between- and within-cluster covariate effects by using conditional and partitioning methods. J R Stat Soc B. 2006;68(5):859–72. doi:10.1111/j.1467-9868.2006.00570.x.

    Article  Google Scholar 

  13. Neuhaus JM, McCulloch CE. Estimation of covariate effects in generalized linear mixed models with informative cluster sizes. Biometrika. 2011;98(1):147–62. doi:10.1093/biomet/asq066.

    Article  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

MP, GA and RO were supported by the MRC grant MR/J013692/1.SS was supported by the MRC programme grant U105260558.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Menelaos Pavlou.

Additional information

Competing Interests

The authors declared that they have no competing interest.

Author contributions

MP wrote the first draft of the article. All authors commented towards its final version. All authors read and approve the final manuscript.

Additional file

Additional file 1: Table S1.

Calibration in the large and calibration slope for varying degrees of ICC when the distribution of the cluster sizes differs between the training and validation datasets. (mean calibration over 100 simulated datasets). Table S2. Overall performance measures for cluster-specific predictions for new members in existing clusters. Mean calibration intercept (standard error), median calibration slope (standard error), mean C-statistic (standard error) over 100 simulations. RE(u): Prediction is obtained by plugging in the risk formula estimates of the fixed effects and the random effect. RE(u)-int: Prediction is obtained by integrating over the posterior distribution of the random effects. Table S3. Overall performance measures for marginal predictions for new members in existing clusters. Mean calibration intercept (standard error), median calibration slope (standard error), mean C-statistic (standard error) over 100 simulations RE(0): Prediction is obtained by using only the fixed effects. RE-int: Prediction is obtained by integrating over the estimated distribution of the random effects.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pavlou, M., Ambler, G., Seaman, S. et al. A note on obtaining correct marginal predictions from a random intercepts model for binary outcomes. BMC Med Res Methodol 15, 59 (2015). https://doi.org/10.1186/s12874-015-0046-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12874-015-0046-6

Keywords