mlstats : An R Package for Multilevel Descriptive Statistics and Data Preparation
Mobile research methods such as experience sampling, smartphone logging, and daily diary designs produce nested data, in which within-level fluctuations must be distinguished from between-level differences. Yet, there is no established convention for preparing and descriptively reporting such multilevel data. This paper introduces mlstats , an open-source R package that computes multilevel descriptive statistics—including intraclass correlation coefficients and within- and between-group correlations—in a single call, exports publication-ready tables, and decomposes variables for random effects within-between modeling. Supporting both frequentist and Bayesian estimation, mlstats is freely available on Comprehensive R Archive Network with extensive online documentation at https://felixdidi.github.io/mlstats/ .
Authors
- Felix Dietrich (ORCID: https://orcid.org/0000-0002-0696-3380)
Institutions
- Johannes Gutenberg University Mainz (DE)
Publication Details
- Journal
- Mobile Media & Communication
- Published
- 2026-09-25
- DOI
- https://doi.org/10.1177/20501579261491585
- Primary Topic
- Mental Health Research Topics
- Type
- article
- Field-Weighted Citation Impact
- 0.00