Related Experiment Video
Updated: May 3, 2026

A Computational Method to Quantify Fly Circadian Activity
Published on: October 28, 2017
A 'how-to' guide for estimating animal diel activity using hierarchical models
Fabiola Iannarilli1,2, Brian D Gerber3, John Erb4
1Department of Migration, Max Planck Institute of Animal Behavior, Constance, Germany.
Abstract:
Animal diel activity patterns can aid understanding of (a) how species behaviourally adapt to anthropogenic and natural disturbances, (b) mechanisms of species co-existence through temporal partitioning, and (c) community or ecosystem effects of diel activity shifts. Activity patterns often vary spatially, a feature ignored by the kernel density estimators (KDEs) currently used for estimating diel activity. Ignoring this source of heterogeneity may lead to biased estimates of uncertainty and misleading conclusions regarding the drivers of diel activity. Thus, there is a need for more flexible statistical approaches for estimating activity patterns and testing hypotheses regarding their biotic and abiotic drivers. We illustrate how trigonometric terms and cyclic cubic splines combined with hierarchical models can provide a valuable alternative to KDEs. Like KDEs, these models accommodate circular data, but they can also account for site-to-site and other sources of variability, correlation amongst repeated measures, and variable sampling effort. They can also more readily quantify and test hypotheses related to the effects of covariates on activity patterns. Through empirical case studies, we illustrate how hierarchical models can quantify changes in activity levels due to seasonality and in response to biotic and abiotic factors (e.g. anthropogenic stressors and co-occurrence). We also describe frequentist and Bayesian approaches for quantifying site-specific (conditional) and population-averaged (marginal) activity patterns. We provide guidelines and tutorials with detailed step-by-step instructions for fitting and interpreting hierarchical models applied to time-stamped data, such as those recorded by camera traps and audio recorders. We conclude that this approach offers a viable, flexible, and effective alternative to KDEs when modelling animal activity patterns.
More Related Videos
05:57Long-term Video Tracking of Cohoused Aquatic Animals: A Case Study of the Daily Locomotor Activity of the Norway Lobster Nephrops norvegicus
Published on: April 8, 2019
04:35Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020