SearcharxivSearch

arXiv subjects

Joshua F. Wiley

Publications and source records attributed to Joshua F. Wiley.

3 recordsLinked to original sources

Bayesian multilevel compositional data analysis: introduction, evaluation, and application

Multilevel compositional data are data that are repeatedly measured or clustered within groups and are non-negative and sum to a constant value. These data arise in various settings, such as intensive, longitudinal studies using ecological momentary assessments and wearable devices. Examples include 24h sleep-wake behaviours, sleep architecture, and macronutrients. This article presents a novel method for analysing multilevel compositional data using Bayesian inference. We describe the theoretical details of the data and the models, and outline the steps necessary to implement this method. We introduce the R package multilevelcoda to facilitate the application of this method and illustrate using a real data example. An extensive parameter recovery simulation study verified the robust performance of the method. Across all conditions investigated in the simulation study, the fitted models had minimal convergence issues (convergence rate > 99%) and achieved excellent quality parameter estimates and inference, with an average bias of 0.00 (range -0.09, 0.05) and coverage of 0.95 (range 0.93, 0.97). We conclude the article with recommendations on the use of the Bayesian multilevel compositional data analysis. We hope to promote wider application of this method to gain novel and robust answers to scientific questions.

stat.ME

Bayesian multilevel compositional data analysis with the R package multilevelcoda

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 modelling 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 paper outlines the statistical theory underlying the Bayesian compositional multilevel modelling approach and details the implementation of the functions available in multilevelcoda, using an example dataset of compositional daily sleep-wake behaviours. This innovative method can be used to gain robust answers to scientific questions using the increasingly available multilevel compositional data from intensive, longitudinal studies.

stat.ME

Variability as a Predictor: A Bayesian Variability Model for Small Samples and Few Repeated Measures

Whilst most psychological research focuses on differences in means, a growing body of literature demonstrates the value of considering differences in intra-individual variability. Compared to the number of methods available for analyzing mean differences, there is a paucity of methods available for analyzing intra-individual variability, particularly when variability is treated as a predictor. In the present article, we first reviewed methods of analyzing intra-individual variability as an outcome, including the individual standard deviation (ISD) and some recent methods. We then introduced a novel Bayesian method for analyzing intra-individual variability as a predictor. To make this method easily accessible to the research community, we developed an open source R package, VARIAN. To compare the accuracy of parameter estimates using the proposed Bayesian analysis against the ISD as a predictor in a regression, we carried out a simulation study. We then demonstrated, using empirical data, how the estimated intra-individual variability derived from the proposed Bayesian analysis can be used to answer the following two questions: (1) is intra-individual variability in daily time-in-bed associated with subjective sleep quality? (2) does subjective sleep quality mediate the association between time-in-bed variability and depressive symptoms? We concluded with a discussion of methodological and practical considerations that can help guide researchers in choosing methods for evaluating intra-individual variability.

stat.AP