Journal of Biological RhythmsNeurosciencePeer-reviewed journal article
How to deal with darkness: Modeling and visualization of zero-inflated personal light exposure data on a logarithmic scale
Abstract
Personal light exposure, the pattern of ocular light levels across time under free-living conditions measured with wearable devices, has become increasingly important in circadian and myopia research. Very small measurement values in light exposure patterns, especially zero, are regularly recorded in field studies. These zero-lux values are problematic for commonly applied logarithmic transformations, and should neither be dismissed nor be unduly influential in visualizations and statistical models. Common approaches used in zero-inflated data sets fail in at least one of these regards. We compare four ways to visualize such data on a linear, logarithmic, hybrid, or symlog scale and we model the light exposure patterns with a generalized additive model by removing zero-lux values, adding a very small or -1 log10 lux value to the dataset, or using the Tweedie error distribution. We show that a symlog-transformed visualization displays relevant features of light exposure across scales, including zero-lux, while at the same time reducing the emphasis on the small values (<1 lux). Symlog is well-suited to visualize differences in light exposure covering heavy-tailed negative values. The open-source software package LightLogR includes the symlog transformation for easy access. We further show that small but not negligible value additions to the light exposure data of -1 log10 lux for statistical modelling allow for acceptable models on a logarithmic scale, while very small values distort results. We also demonstrate the utility of the Tweedie distribution, which does not require prior transformations, models data on a logarithmic scale, and includes zero-lux values, capturing personal light exposure patterns satisfactorily. Data from field studies of personal light exposure requires appropriate handling of zero-lux values in a logarithmic context. Symlog scales for visualizations and an appropriate addition to input values for modelling, or the Tweedie distribution, provide a solid basis.
- Citations
- 6
- FWCI
- 5.08
- Field percentile
- top 4%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Analysis of human visual experience data
Johannes Zauner, Aaron Nicholls, … Manuel Spitschan·Journal of VisionPeer-reviewed·Jul 1, 2026
- The health-relevant architecture of the everyday light exposome
Johannes Zauner, Altuğ Didikoğlu, … Manuel Spitschan·bioRxiv·Sep 23, 2026
- Auxiliary data, quality assurance and quality control for wearable light loggers and optical radiation dosimeters
Johannes Zauner, Oliver Stefani, … Manuel Spitschan·npj Biological Timing and SleepPeer-reviewed·Mar 9, 2026
- Associations between habitual light exposure-related behaviors and sleep timing and sleep complaints in an international community sample
Ann-Sophie Loock, Rafael Lazar, … Christine Blume·Scientific ReportsPeer-reviewed·Jun 23, 2026
- Daily light exposure habits of youth with migraine: A prospective pilot study
Carlyn Patterson Gentile, Ryan Shah, … Geoffrey K. Aguirre·bioRxiv·Apr 30, 2025
- Collecting, detecting and handling non-wear intervals in longitudinal light exposure data
Carolina Guidolin, Johannes Zauner, … Manuel Spitschan·Behavior Research MethodsPeer-reviewed·Jan 12, 2026