跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 计算

arXiv:1602.02539 (stat)
[提交于 2020年8月11日]

标题:Just Another Gibbs Additive Modeller: Interfacing JAGS and mgcv

作者:Simon N Wood
查看论文《Just Another Gibbs Additive Modeller: Interfacing JAGS and mgcv》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The BUGS language offers a very flexible way of specifying complex statistical models for the purposes of Gibbs sampling, while its JAGS variant offers very convenient R integration via the rjags package. However, including smoothers in JAGS models can involve some quite tedious coding, especially for multivariate or adaptive smoothers. Further, if an additive smooth structure is required then some care is needed, in order to centre smooths appropriately, and to find appropriate starting values. R package mgcv implements a wide range of smoothers, all in a manner appropriate for inclusion in JAGS code, and automates centring and other smooth setup tasks. The purpose of this note is to describe an interface between mgcv and JAGS, based around an R function, `jagam', which takes a generalized additive model (GAM) as specified in mgcv and automatically generates the JAGS model code and data required for inference about the model via Gibbs sampling. Although the auto-generated JAGS code can be run as is, the expectation is that the user would wish to modify it in order to add complex stochastic model components readily specified in JAGS. A simple interface is also provided for visualisation and further inference about the estimated smooth components using standard mgcv functionality. The methods described here will be un-necessarily inefficient if all that is required is fully Bayesian inference about a standard GAM, rather than the full flexibility of JAGS. In that case the BayesX package would be more efficient.
评论: Submitted to the Journal of Statistical Software
主题: 计算 (stat.CO); 方法论 (stat.ME)
引用方式: arXiv:1602.02539 [stat.CO]
  (或者 arXiv:1602.02539v1 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.1602.02539
相关 DOI: https://doi.org/10.18637/jss.v075.i07

提交历史

来自:Simon Wood
[v1] 2020年8月11日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-08
切换浏览方式为:
stat
stat.ME

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站