How to Deal With Darkness: Modeling and Visualization of Zero-Inflated Personal Light Exposure Data on a Logarithmic Scale

Measuring and analyzing personal light exposure 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 modeling. We compare 4 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 log<sub>10</sub> lux value to the dataset, or using the Tweedie error distribution. We show that a <i>symlog</i>-transformed visualization, implemented in <i>LightLogR</i>, displays relevant features of light exposure across scales, including zero-lux, while reducing the emphasis on the small values (<1 lux). <i>Symlog</i> is well-suited to visualize differences in light exposure covering heavy-tailed negative values. We further show that small but not negligible value additions to the light exposure data of -1 log<sub>10</sub> lux for statistical modeling 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 require appropriate handling of zero-lux values in a logarithmic context. <i>Symlog</i> scales for visualizations and an appropriate addition to input values for modeling, or the Tweedie distribution, provide a solid basis. Beyond light exposure, other time-series data relevant to biological rhythms, such as accelerometry for ambulatory sleep scoring in humans or wheel-running in animal models, exhibit zero inflation and can benefit from the methods introduced here.

Authors

Institutions

Publication Details

Journal
Journal of Biological Rhythms
Published
2025-06-28
DOI
https://doi.org/10.1177/07487304251336624
Citations
5
Primary Topic
Impact of Light on Environment and Health
Type
article
Field-Weighted Citation Impact
5.53

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How to Deal With Darkness: Modeling and Visualization of Zero-Inflated Personal Light Exposure Data on a Logarithmic Scale

Johannes Zauner, Manuel Spitschan, Carolina Guidolin
5 citations
Journal of Biological Rhythms
Impact of Light on Environment and Health
5.53
article

How to Deal With Darkness: Modeling and Visualization of Zero-Inflated Personal Light Exposure Data on a Logarithmic Scale

Johannes Zauner, Manuel Spitschan, Carolina Guidolin
article en
5 citations

Abstract

Measuring and analyzing personal light exposure 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 modeling. We compare 4 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 log<sub>10</sub> lux value to the dataset, or using the Tweedie error distribution. We show that a <i>symlog</i>-transformed visualization, implemented in <i>LightLogR</i>, displays relevant features of light exposure across scales, including zero-lux, while reducing the emphasis on the small values (<1 lux). <i>Symlog</i> is well-suited to visualize differences in light exposure covering heavy-tailed negative values. We further show that small but not negligible value additions to the light exposure data of -1 log<sub>10</sub> lux for statistical modeling 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 require appropriate handling of zero-lux values in a logarithmic context. <i>Symlog</i> scales for visualizations and an appropriate addition to input values for modeling, or the Tweedie distribution, provide a solid basis. Beyond light exposure, other time-series data relevant to biological rhythms, such as accelerometry for ambulatory sleep scoring in humans or wheel-running in animal models, exhibit zero inflation and can benefit from the methods introduced here.

Journal of Biological RhythmsVol. 40(5)
Max Planck Institute for Biological Cybernetics (DE), Institute for Advanced Study (DE), Technical University of Munich (DE)
Wellcome Trust, European Partnership on Metrology
Decent work and economic growth
Openalex Percentile: Top 4%
Impact of Light on Environment and Health
5.53
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.