runjags(runjags)
runjags()所属R语言包:runjags
Run Bayesian MCMC Models in the BUGS syntax from Within R
在R运行贝叶斯MCMC模型中的错误语法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A set of functions to allow any user specified model to be run in JAGS from within R, returning the MCMC chains as R objects. Includes functions to read external WinBUGS type textfiles, and allows several ways of automatically specifying model data from existing R objects or R functions. Also includes functions to automatically calculate model run length, autocorrealtion and Gelman Rubin statistic diagnostics for all models to simplify the process of achieving chain convergence. Designed for maximum compatibility with WinBUGS syntax, although minor modification to existing .bug files will be required. Also provides functions for submission and retrieval of jobs (both JAGS runs and user-specified R code execution) to Apple Xgrid distributed computing clusters (Mac OS X machines only). Requires Just Another Gibbs Sampler (JAGS) for most functions, see: http://www-fis.iarc.fr/~martyn/software/jags/
一组函数允许任何用户指定的模型运行在R,在JAGS从返回MCMC链的R对象。包括函数来读取外部WinBUGS类型的文本文件,并允许自动指定从现有的R对象或R函数的模型数据的几种方法。此外,还包括自动计算模型的运行的长度,autocorrealtion和格尔曼·鲁宾统计诊断模型简化的过程中,实现链衔接的功能。专为最大的兼容性与WinBUGS类的语法,虽然将需要稍作修改现有的。错误文件。此外,还提供了苹果的Xgrid的分布式计算聚类(仅适用于Mac OS X的机器)提交和检索的作业(JAGS运行和用户指定的R代码执行)的功能。只需要一个吉布斯的采样(JAGS)的大部分功能,请参阅:http://www-fis.iarc.fr/~MARTYN /的软件/ JAGS /
Details
详细信息----------Details----------
JAGS is a program which allows analysis of Bayesian models using Markov chain Monte Carlo (MCMC) simulation, and was developed by Martyn Plummer to be an alternative to BUGS that ran on UNIX systems as well as Windows systems (see: http://www-fis.iarc.fr/~martyn/software/jags/ for more information). The R package rjags is a native R interface to the JAGS library, and allows a far greater level of control and analysis of compiled models, which is often more useful for model development. This package was intended to provide additional functions to help automate the process of running models, including interpretation of WinBUGS type text files including data and initial values, automated retrieval of objects within the working environment to be passed as data or initial values to the model, automated convergence diagnostics, and automated collation and plotting of results. The package also includes functions for running JAGS models, and any other user specified R code, over Xgrid distributed computing clusters from within R (requires Mac OS X and access to an Xgrid system).
JAGS是一个程序,它允许利用马尔可夫链蒙特卡罗(MCMC)模拟的贝叶斯模型的分析,是由马丁直立的替代品,运行在UNIX系统以及Windows系统的BUGS(见: fis.iarc.fr /马丁/软件/锯齿/信息)。的R包rjags的是原生的R接口的JAGS库,并允许更高级别的控制和分析的编译模型,这往往是更有用的模型开发。此方案的目的是,以提供额外的功能,以帮助自动化运行模型的过程中,包括WinBUGS类类型的文本文件,其中包括数据和初始值,在工作环境中,通过自动检索对象的数据或初始值的模型的解释,自动化的收敛诊断,并自动整理和策划的结果。该软件包还包括功能运行JAGS模型,和任何其他用户指定R代码,在分布式计算聚类在R Xgrid的需要Mac OS X和访问Xgrid的系统。
(作者)----------Author(s)----------
Matthew Denwood <a href="mailto:matthew.denwood@glasgow.ac.uk">matthew.denwood@glasgow.ac.uk</a>
参见----------See Also----------
run.jags for basic model runs
run.jags运行的基本模式
autorun.jags for automated running of models to convergence and automated calculation of necessary sample sizes
autorun.jags为自动运行模式,以收敛和自动计算所需的样本大小
run.jagsfile and autorun.jagsfile for running of local WinBUGS style text files, as well as methods of automating retrieval of data and initial values from local text files or character strings
run.jagsfile和autorun.jagsfile当地WinBUGS风格的文本文件,以及从本地文本文件或字符串自动检索的数据和初始值的方法
read.winbugs for translation of WinBUGS text files into JAGS compatible model, data and initial values files
read.winbugs WinBUGS类文本文件的翻译兼容模式JAGS,数据和初始值的文件
combine.mcmc and dump.format for MCMC related tools
combine.mcmc和dump.formatMCMC相关的工具
timestring, new_unique and ask for more general tools
timestring,new_unique和ask一般的工具
xgrid.run.jags and xgrid.submit.jags for use of Xgrid clusters to run JAGS models remotely
xgrid.run.jags和xgrid.submit.jags利用Xgrid的聚类运行JAGS模型遥控
xgrid.run and xgrid.submit for use of Xgrid clusters for remote execution of user specified R code
xgrid.run和xgrid.submit使用的Xgrid的聚类用户远程执行指定的R代码
jags.model in the rjags package for fine control over the JAGS libraries
jags.model在rjags包进行更好的控制JAGS的库
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|