Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-dfsvx Total loading time: 0 Render date: 2024-04-26T08:05:43.440Z Has data issue: false hasContentIssue false

8 - Hierarchical GLMMs

Published online by Cambridge University Press:  11 May 2017

Joseph M. Hilbe
Affiliation:
Jet Propulsion Laboratory, California Institute of Technology
Rafael S. de Souza
Affiliation:
Eötvös Loránd University, Budapest
Emille E. O. Ishida
Affiliation:
Université Clermont-Auvergne (Université Blaise Pascal), France
Get access

Summary

Overview of Bayesian Hierarchical Models/GLMMs

The Bayesian models we have discussed thus far in the book have been based on a likelihood, and the mixture of a likelihood and prior distribution. The product of a model likelihood, or log-likelihood, and a prior is called a posterior distribution. One of the key assumptions of a likelihood distribution is that each component observation in the distribution is independent of the other observations. This assumption goes back to the probability distribution from which a likelihood is derived. The terms or observations described by a probability distribution are assumed to be independent. This criterion is essential to creating and interpreting the statistical models we addressed in the last chapter.

When there is correlation or time series autocorrelation in the data caused by clustered, nested, or panel structured data, statisticians must make adjustments to the model in order to avoid bias in the interpretation of the parameters, especially the standard deviations. In maximum likelihood estimation this is a foremost problem when developing models, and an entire area of statistics is devoted to dealing with excess correlation in data.

In many cases the data being modeled is correlated by its structure, or is said to be structurally correlated. For instance, suppose we have data that is collected by individual observations over time or data that belongs to different sources or clusters, e.g., data in which the observations are nested into levels and so is hierarchically structured. Example data is provided in the tables. Table 8.1 gives an example of longitudinal data. Note that time periods (Period) are nested within each observation (id). Table 8.2 gives an example of hierarchical, grouped, or clustered data. This type of data is also referred to as cross sectional data. It is the data structure most often used for random intercept data. We pool the data if the grouping variable, grp, is ignored. However, since it may be the case that values within groups are more highly correlated than are the observations when the data is pooled, it may be necessary to adjust the model for the grouping effect. If there is more correlation within groups, the data is likely to be overdispersed. A random intercept model adjusts the correlation effect by having separate intercepts for each group in the data. We will describe how this works in what follows.

Type
Chapter
Information
Bayesian Models for Astrophysical Data
Using R, JAGS, Python, and Stan
, pp. 215 - 261
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

de Souza, R. S., J. M., Hilbe, B., Buelens, J. D., Riggs, E., Cameron, E. O., Ishida et al. (2015). “The overlooked potential of generalized linear models in astronomy III. Bayesian negative binomial regression and globular cluster populations”. Mon. Not. Roy. Astronom. Soc. 453, 1928–1940. DOI: 10.1093/mnras/stv1825. arXiv: 1506.04792 [astro-ph.IM].
Finch, W. H., J. E., Bolin, and K., Kelley (2014). Multilevel Modeling Using R. Chapman & Hall/CRC Statistics in the Social and Behavioral Sciences. Taylor & Francis.
Zuur, A. F., J. M., Hilbe, and E. N., Ieno (2013). A Beginner's Guide to GLM and GLMM with R: A Frequentist and Bayesian Perspective for Ecologists. Highland Statistics.

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×