首页    期刊浏览 2024年12月05日 星期四
登录注册

文章基本信息

  • 标题:Parallel and Other Simulations in R Made Easy: An End-to-End Study
  • 本地全文:下载
  • 作者:Marius Hofert ; Martin Mächler
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2016
  • 卷号:69
  • 期号:1
  • 页码:1-44
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:It is shown how to set up, conduct, and analyze large simulation studies with the new R package simsalapar (= simulations simplified and launched parallel). A simulation study typically starts with determining a collection of input variables and their values on which the study depends. Computations are desired for all combinations of these variables. If conducting these computations sequentially is too time-consuming, parallel computing can be applied over all combinations of select variables. The final result object of a simulation study is typically an array. From this array, summary statistics can be derived and presented in terms of flat contingency or LATEX tables or visualized in terms of matrix-like figures. The R package simsalapar provides several tools to achieve the above tasks. Warnings and errors are dealt with correctly, various seeding methods are available, and run time is measured. Furthermore, tools for analyzing the results via tables or graphics are provided. In contrast to rather minimal examples typically found in R packages or vignettes, an end-to-end, not-so-minimal simulation problem from the realm of quantitative risk management is given. The concepts presented and solutions provided by simsalapar may be of interest to students, researchers, and practitioners as a how-to for conducting realistic, large-scale simulation studies in R.
  • 关键词:R;simulation;parallel computing;data analysis
国家哲学社会科学文献中心版权所有