---
title: Bayesian Data Analysis Using Stan/Torsten for Pharmacometric Applications
description: "Stan (http://mc-stan.org/) is a widely used, open-source, probabilistic programming language\nand Bayesian inference engine. Its primary inference engine is the NUTS algorithm, an HMC\nsampler with adaptive adjustment of tuning parameters, often used in pharmacometrics (PMX) applications."
image: https://news.metrumrg.com/hubfs/Metrum%20-April2017/images/header-image.jpg
---

[![Metrum research group](https://news.metrumrg.com/hs-fs/hubfs/Metrum%20-April2017/images/logo.png?width=235&height=55&name=logo.png "logo.png")](https://www.metrumrg.com/) [![](https://news.metrumrg.com/hs-fs/hubfs/Metrum%20-April2017/images/footer-logo%20(1).png?width=137&height=33&name=footer-logo%20(1).png "logo.png")](https://www.metrumrg.com/)

[Contact](https://info.metrumrg.com/contact) <https://news.metrumrg.com/blog/bayesian-data-analysis-using-stan/torsten-for-pharmacometric-applications#search>

- [About](https://www.metrumrg.com/about/)
- [Services](https://www.metrumrg.com/services/)
- [Metworx](https://www.metrumrg.com/solution/metworx/)
- [Open Science](https://www.metrumrg.com/open-science/)
- [Publications](https://www.metrumrg.com/publications/)
- [Blog](https://news.metrumrg.com/blog)
- [Events](https://www.metrumrg.com/events/)
- [Careers](https://www.metrumrg.com/careers/)

- [About](https://www.metrumrg.com/about/)
- [Services](https://www.metrumrg.com/services/)
- [Metworx](https://www.metrumrg.com/solution/metworx/)
- [Open Science](https://www.metrumrg.com/open-science/)
- [Publications](https://www.metrumrg.com/publications/)
- [Blog](https://news.metrumrg.com/blog)
- [Events](https://www.metrumrg.com/events/)
- [Careers](https://www.metrumrg.com/careers/)

Enter Search Item

Enter Search Item

# News

## Bayesian Data Analysis Using Stan/Torsten for Pharmacometric Applications

Posted by [William R. Gillespie](https://news.metrumrg.com/blog/author/william-r-gillespie) on May 17, 2018 4:37:37 PM

- [Tweet](https://twitter.com/share)

William Gillespie, Ph.D. presented at the Midwest Biopharmaceutical Statistics Workshop on May 15, 2018. See presentation [**here**](https://www.metrumrg.com/wp-content/uploads/2018/05/BayesianPmetricsMBSW2018.pdf). 

Stan ([http://mc-stan.org/](http://mc-stan.org/)) is a widely used, open-source, probabilistic programming language  
and Bayesian inference engine. Its primary inference engine is the NUTS algorithm, an HMC  
sampler with adaptive adjustment of tuning parameters. NUTS is usually more efficient than the Metropolis-Hasting and Gibbs samplers, particularly for complex hierarchical models often used in pharmacometrics (PMX) applications.

Torsten ([https://github.com/metrumresearchgroup/Torsten](https://github.com/metrumresearchgroup/Torsten)) is a library of Stan functions specific to PMX applications. Current Torsten functions provide convenient methods for specifying compartmental PK and PD models and schedules of events like dosing and observations. I will present examples of the use of Torsten/Stan for popPK and popPKPD applications. I will discuss the pros and cons of the use of Stan and Torsten relative to alternatives such as BUGS variants (WinBUGS, OpenBUGS, JAGS) and NONMEM. Stan and Torsten are the subjects of very active development programs, so I will close with a glimpse of things to come.

 Topics: [Methodology, Tools, and Computation](https://news.metrumrg.com/blog/topic/methodology-tools-and-computation), [Bayesian](https://news.metrumrg.com/blog/topic/bayesian)

## We love to share!

Please take advantage of the content we provide here. Our goal is to help, encourge, and inspire you in your own work! If you have suggestions for blog topics, or would like to co-author a blog post with us, [let us know](https://info.metrumrg.com/contact)!

### Posts by Topic

- [Metrum News (38)](https://news.metrumrg.com/blog/topic/metrum-news)
- [Employee Spotlight (14)](https://news.metrumrg.com/blog/topic/employee-spotlight)
- [Methodology, Tools, and Computation (13)](https://news.metrumrg.com/blog/topic/methodology-tools-and-computation)
- [Community Outreach (11)](https://news.metrumrg.com/blog/topic/community-outreach)
- [Open Science (11)](https://news.metrumrg.com/blog/topic/open-science)
- [Neurodegenerative Diseases (3)](https://news.metrumrg.com/blog/topic/neurodegenerative-diseases)
- [Confidence Intervals (2)](https://news.metrumrg.com/blog/topic/confidence-intervals)
- [Oncology (2)](https://news.metrumrg.com/blog/topic/oncology)
- [P-values (2)](https://news.metrumrg.com/blog/topic/p-values)
- [Scientific Writing (2)](https://news.metrumrg.com/blog/topic/scientific-writing)
- [Significance (2)](https://news.metrumrg.com/blog/topic/significance)
- [AI (1)](https://news.metrumrg.com/blog/topic/ai)
- [Alzheimer's (1)](https://news.metrumrg.com/blog/topic/alzheimers)
- [Bayesian (1)](https://news.metrumrg.com/blog/topic/bayesian)
- [Bone Health (1)](https://news.metrumrg.com/blog/topic/bone-health)
- [Breast Cancer (1)](https://news.metrumrg.com/blog/topic/breast-cancer)
- [CEO (1)](https://news.metrumrg.com/blog/topic/ceo)
- [Infectious Diseases (1)](https://news.metrumrg.com/blog/topic/infectious-diseases)
- [Machine Learning (1)](https://news.metrumrg.com/blog/topic/machine-learning)
- [Mental Health (1)](https://news.metrumrg.com/blog/topic/mental-health)
- [Other (1)](https://news.metrumrg.com/blog/topic/other)
- [Pediatrics (1)](https://news.metrumrg.com/blog/topic/pediatrics)
- [Rare Disorders (1)](https://news.metrumrg.com/blog/topic/rare-disorders)
- [Service (1)](https://news.metrumrg.com/blog/topic/service)
- [Statistics (1)](https://news.metrumrg.com/blog/topic/statistics)
- [Women's Health (1)](https://news.metrumrg.com/blog/topic/womens-health)

see all

### Subscribe to Email Updates

### Recent Posts

[![Metrum research group ](https://news.metrumrg.com/hs-fs/hubfs/Metrum%20-April2017/images/footer-logo.png?width=145&height=35&name=footer-logo.png "footer-logo.png")](https://www.metrumrg.com/)

[Privacy](https://www.metrumrg.com/privacy-policy/)  |  2020 Metrum Research Group

<https://twitter.com/MetrumRG> <https://www.linkedin.com/company/metrum-research-group>