Bayesian Multilevel Compositional Data Analysis with the R Package multilevelcoda

3Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Multilevel compositional data, such as data sampled over time that are non-negative and sum to a constant value, are common in various fields. However, there is currently no software specifically built to model compositional data in a multilevel framework. The R package multilevelcoda implements a collection of tools for modeling compositional data in a Bayesian multivariate, multilevel pipeline. The user-friendly setup only requires the data, model formula, and minimal specification of the analysis. This article outlines the statistical theory underlying the Bayesian compositional multilevel modeling approach and details the implementation of the functions available in multilevelcoda, using an example dataset of compositional daily sleep-wake behaviors. This innovative method can be used to robustly answer scientific questions from the increasingly available multilevel compositional data from intensive, longitudinal studies.

Cite

CITATION STYLE

APA

Le, F., Dumuid, D., Stanford, T. E., & Wiley, J. F. (2026). Bayesian Multilevel Compositional Data Analysis with the R Package multilevelcoda. Multivariate Behavioral Research, 61(1), 192–210. https://doi.org/10.1080/00273171.2025.2565598

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free