Stan is a powerful probabilistic programming language designed mainly for Bayesian data analysis. Torsten is a collection of Stan functions that handles the events (e.g., dosing events) and solves the ODE systems that are frequently present in pharmacometric models. To perform a Bayesian data analysis, most models in pharmacometrics require Markov Chain Monte Carlo (MCMC) methods to sample from the posterior distribution. However, MCMC is computationally expensive and can be time-consuming, enough so that people will often forgo Bayesian methods for a more traditional approach. This paper shows how to speed up the sampling process in Stan by within-chain parallelization through both multi-threading using Stan's reduce_sum() function and multi-processing using Torsten's group ODE solver. Both methods show substantial reductions in the time necessary to sufficiently sample from the posterior distribution compared with a basic approach with no within-chain parallelization.
Download full-text PDF |
Source |
---|---|
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11706427 | PMC |
http://dx.doi.org/10.1002/psp4.13238 | DOI Listing |
Genetics
January 2025
Institute of Forest Sciences (ICIFOR-INIA), CSIC, Ctra. De la Coruña km 7.5, 28040 Madrid, Spain.
We present a new hierarchical Bayesian method using multilocus genotypes to estimate recent seed and pollen migration rates in a spatially explicit framework that incorporates distance effects separately for each type of dispersal. The method additionally estimates population allelic frequencies, population divergence values, individual inbreeding coefficients, individual maternal and paternal ancestries, and allelic dropout rates. We conduct a numerical simulation analysis that indicates that the method can provide reliable estimates of seed and pollen migration rates and allow accurate inference of spatial effects on migration, at affordable sample sizes (25-50 individuals/population) when population genetic divergence is not low (FST≥0.
View Article and Find Full Text PDFFront Nutr
January 2025
Department of Endocrinology, First Hospital of Shanxi Medical University, Taiyuan, China.
Background: The 2021 Global Burden of Disease (GBD) study shows a continuous increase in the burden of chronic kidney disease due to diabetes mellitus type 2 (CKD-T2DM) from 1990 to 2021. This study examines the influence of dietary risk factors across various populations and socioeconomic groups.
Methods: Utilizing the 2021 GBD data, we analyzed age-standardized CKD-T2DM metrics-including mortality, disability-adjusted life years (DALY), and age-standardized rates (ASR)-stratified by age, gender, and region.
Life Med
December 2023
Tsinghua Shenzhen International Graduate, Tsinghua University, Shenzhen 518055, China.
Recurrent spontaneous abortion (RSA) affects 2%-5% of couples worldwide and remains a subject of debate regarding the effectiveness of lymphocyte immunotherapy (LIT) due to limited retrospective studies. We conducted a comprehensive Bayesian analysis to assess the impact of LIT on RSA. Using data from the Shenzhen Maternity and Child Healthcare Hospital (2001-2020, = 2316), a Bayesian generalized linear model with predictive projection feature selection was employed.
View Article and Find Full Text PDFExpert Opin Drug Saf
January 2025
Department of Pharmacy, Nanchuan Hospital of Chongqing Medical University, Chongqing, China.
Background: Pimavanserin is a new non-dopamine neurotransmitter antipsychotic drug. This study aimed to conduct a post-marketing pharmacovigilance study of pimavanserin, through data mining technology using the FDA Adverse Event Reporting System (FAERS) database.
Research Design And Methods: We analyzed adverse event reports for patients using pimavanserin.
J Hazard Mater
January 2025
Dept. of Science Education, Ewha Womans University, Seoul 03760, South Korea. Electronic address:
Although sulfur-bearing minerals are valuable resources, they pose significant environmental risks to river ecosystems by releasing hazardous leachate. Accurately tracing these sources is crucial but challenging due to overlapping chemical signatures and pollutant transport dynamics in river systems. This study investigates seasonal and spatial variations in sulfate (SO) and trace element contributions in mining districts of the upper Nakdong River basin, South Korea.
View Article and Find Full Text PDFEnter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!