NoLimits.jl: Flexible and Composable Nonlinear Mixed-Effects Modeling in Julia

· Source: stat.ML updates on arXiv.org · Field: Science & Research — Life Sciences & Biology, Mathematics & Computational Sciences, Health & Medical Research · Depth: Expert, extended

Summary

NoLimits.jl is an open-source Julia package designed for flexible and composable nonlinear mixed-effects (NLME) modeling, addressing limitations in existing software regarding model structures and inference methods. It provides a macro-based language to build observation and latent-state models using diverse components like ordinary differential equations, Markov models, and neural networks. The package supports flexible, covariate-dependent observation and random-effects distributions, including normalizing flows, and offers a unified interface for frequentist inference (Laplace approximation, SAEM, MCEM, MLE) and Bayesian Markov chain Monte Carlo methods via Turing.jl. Demonstrated on warfarin pharmacokinetics, pharmacodynamics with learnable concentration-effect functions, and fish growth using normalizing flows, NoLimits.jl version 0.1.0 expands the scope of NLME models that can be specified, estimated, and compared within a single framework.

Key takeaway

For Research Scientists or Data Scientists analyzing complex longitudinal data, NoLimits.jl provides a powerful open-source Julia framework to overcome limitations of traditional NLME software. You should consider it when your projects require integrating mechanistic models with neural networks, using flexible random-effects distributions like normalizing flows, or switching seamlessly between frequentist and Bayesian inference. This framework allows you to uncover subtle data structures that rigid parametric assumptions might obscure, enhancing your model's descriptive power.

Key insights

NoLimits.jl unifies diverse nonlinear mixed-effects model components and inference methods within an open-source Julia framework.

Principles

Method

Define a model with the @Model macro, bind it to data as a DataModel, fit using fit_model with an estimator, then compute uncertainty and diagnostics.

In practice

Topics

Code references

Best for: AI Scientist, Research Scientist, Data Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by stat.ML updates on arXiv.org.