健康决策科学的c++微仿真建模教程。

IF 4.6 3区 医学 Q1 ECONOMICS
Aku-Ville Lehtimäki, Janne Martikainen
{"title":"健康决策科学的c++微仿真建模教程。","authors":"Aku-Ville Lehtimäki, Janne Martikainen","doi":"10.1007/s40273-025-01526-8","DOIUrl":null,"url":null,"abstract":"<p><p>Microsimulation models have become increasingly common in the field of decision modeling for health. Because microsimulation models are computationally more demanding than traditional Markov cohort models, the use of computer programming languages in their development has become more common. C++ is a programming language that has gained widespread recognition in computationally intensive fields, including systems modeling and performance-critical applications. It offers powerful tools for building high-performance microsimulation models, outpacing many traditional modeling software solutions, such as native R, in terms of speed and control over memory management. However, there is limited accessible guidance for implementing microsimulation models in C++. This tutorial offers a step-by-step approach to constructing microsimulation models in C++ and demonstrates its application through simplified but adaptable example decision models. We walk the reader through essential steps and provide generic C++ code that is flexible and suitable for adapting to a range of models. Finally, we present the standalone C++ models and their Rcpp counterparts run within R, and compare their performance to equivalent R implementations in terms of speed and memory efficiency.</p>","PeriodicalId":19807,"journal":{"name":"PharmacoEconomics","volume":" ","pages":""},"PeriodicalIF":4.6000,"publicationDate":"2025-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Microsimulation Modeling for Health Decision Sciences Using C++: A Tutorial.\",\"authors\":\"Aku-Ville Lehtimäki, Janne Martikainen\",\"doi\":\"10.1007/s40273-025-01526-8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>Microsimulation models have become increasingly common in the field of decision modeling for health. Because microsimulation models are computationally more demanding than traditional Markov cohort models, the use of computer programming languages in their development has become more common. C++ is a programming language that has gained widespread recognition in computationally intensive fields, including systems modeling and performance-critical applications. It offers powerful tools for building high-performance microsimulation models, outpacing many traditional modeling software solutions, such as native R, in terms of speed and control over memory management. However, there is limited accessible guidance for implementing microsimulation models in C++. This tutorial offers a step-by-step approach to constructing microsimulation models in C++ and demonstrates its application through simplified but adaptable example decision models. We walk the reader through essential steps and provide generic C++ code that is flexible and suitable for adapting to a range of models. Finally, we present the standalone C++ models and their Rcpp counterparts run within R, and compare their performance to equivalent R implementations in terms of speed and memory efficiency.</p>\",\"PeriodicalId\":19807,\"journal\":{\"name\":\"PharmacoEconomics\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":4.6000,\"publicationDate\":\"2025-07-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"PharmacoEconomics\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1007/s40273-025-01526-8\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ECONOMICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"PharmacoEconomics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1007/s40273-025-01526-8","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ECONOMICS","Score":null,"Total":0}
引用次数: 0

摘要

微观仿真模型在卫生决策建模领域已经变得越来越普遍。由于微仿真模型在计算上比传统的马尔可夫队列模型要求更高,因此在其开发中使用计算机编程语言变得更加普遍。c++是一种编程语言,在计算密集型领域获得了广泛的认可,包括系统建模和性能关键应用程序。它为构建高性能微仿真模型提供了强大的工具,在速度和内存管理控制方面超过了许多传统的建模软件解决方案,如原生R。然而,在c++中实现微仿真模型的指导是有限的。本教程提供了在c++中逐步构建微仿真模型的方法,并通过简化但适应性强的示例决策模型演示了其应用。我们引导读者完成基本步骤,并提供灵活且适合适应各种模型的通用c++代码。最后,我们介绍了在R中运行的独立c++模型及其对应的Rcpp模型,并将它们的性能与等效的R实现在速度和内存效率方面进行了比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Microsimulation Modeling for Health Decision Sciences Using C++: A Tutorial.

Microsimulation models have become increasingly common in the field of decision modeling for health. Because microsimulation models are computationally more demanding than traditional Markov cohort models, the use of computer programming languages in their development has become more common. C++ is a programming language that has gained widespread recognition in computationally intensive fields, including systems modeling and performance-critical applications. It offers powerful tools for building high-performance microsimulation models, outpacing many traditional modeling software solutions, such as native R, in terms of speed and control over memory management. However, there is limited accessible guidance for implementing microsimulation models in C++. This tutorial offers a step-by-step approach to constructing microsimulation models in C++ and demonstrates its application through simplified but adaptable example decision models. We walk the reader through essential steps and provide generic C++ code that is flexible and suitable for adapting to a range of models. Finally, we present the standalone C++ models and their Rcpp counterparts run within R, and compare their performance to equivalent R implementations in terms of speed and memory efficiency.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
PharmacoEconomics
PharmacoEconomics 医学-药学
CiteScore
8.10
自引率
9.10%
发文量
85
审稿时长
6-12 weeks
期刊介绍: PharmacoEconomics is the benchmark journal for peer-reviewed, authoritative and practical articles on the application of pharmacoeconomics and quality-of-life assessment to optimum drug therapy and health outcomes. An invaluable source of applied pharmacoeconomic original research and educational material for the healthcare decision maker. PharmacoEconomics is dedicated to the clear communication of complex pharmacoeconomic issues related to patient care and drug utilization. PharmacoEconomics offers a range of additional features designed to increase the visibility, readership and educational value of the journal’s content. Each article is accompanied by a Key Points summary, giving a time-efficient overview of the content to a wide readership. Articles may be accompanied by plain language summaries to assist readers who have some knowledge of, but not in-depth expertise in, the area to understand the scientific content and overall implications of the article.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信