mlstats

An R package for multilevel descriptive statistics and data preparation

Mobile Media & Communication
Author

Felix Dietrich

Published

September 25, 2026

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/.

References

Dietrich, F. (2026). Mlstats : An R package for multilevel descriptive statistics and data preparation. Mobile Media & Communication, 20501579261491585. https://doi.org/10.1177/20501579261491585