Conference paper Open Access

Computing steady states with Stan's nonlinear algebraic solver

Margossian, Charles

Stan’s numerical algebraic solver can be used to solve systems of nonlinear algebraic equations with no closed form solutions. One of its key applications in scientific and engineering fields is the computation of equilibrium states (equivalently steady states). This case study illustrates the use of the algebraic solver by applying it to a problem in pharmacometrics. In particular, I show the algebraic system we solve can be quite complex and embed, for instance, numerical solutions to ordinary differential equations. The code in R and Stan are provided, and a Bayesian model is fitted to simulated data.

Code and data available at github.com/stan-dev/stancon_talks
Files (4.2 MB)
Name Size
AlgebraSolver.pdf
md5:d686b6863d312c4537a8097144e972e2
4.2 MB Download
262
148
views
downloads
All versions This version
Views 262262
Downloads 148148
Data volume 615.9 MB615.9 MB
Unique views 250250
Unique downloads 134134

Share

Cite as