DPelicit的学习.docx

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DPelicit的学习

DPelicit {DPpackage}R DocumentationPerforms a prior elicitation for the precision parameter of a DP priorDescriptionThis function performs a prior elicitation for the precision parameter of a DP prior. The function calculates:1) the expected value and the standard deviation of the number of clusters, given the values of the parameters of the?gamma?prior for the precision parameter,?a0?and?b0, or2) the value of the parameters?a0?and?b0?of the?gamma?prior distribution for the precision parameter,?alpha, given the prior expected number and the standard deviation of the number of clusters.UsageDPelicit(n,method=JGL,a0=NULL,b0=NULL,mean=NULL,std=NULL)Argumentsnnumber of observations which distribution follows a DP prior.methodthe method to be used. See?details.a0hyperparameter for the?Gamma?prior distribution of the precision parameter of the Dirichlet process prior,alpha ~ Gamma(a0,b0).b0hyperparameter for the?Gamma?prior distribution of the precision parameter of the Dirichlet process prior,alpha ~ Gamma(a0,b0).meanprior expected number of clusters when?alpha ~ Gamma(a0,b0).stdprior standard deviation for the number of clusters when?alpha ~ Gamma(a0,b0).DetailsThe methods supported by these functions are based on the fact that a priori?E(alpha) = a0/b0?and?Var(alpha) = a0/b0^2, and an additional approximation based on Taylor series expansion.The default method,?JGL, is based on the exact value of the mean and the variance of the number of clusters given the precision parameter alpha (see, Jara, Garcia-Zatera and Lesaffre, 2007).The Method?KMQ?is base on the Liu (1996) approximation to the expected value and the variance of the number of clusters given the precision parameter alpha (see, Kottas, Muller and Quintana, 2005).Given the prior judgement for the mean and variance of the number of clusters, the equations are numerically solve for?a0?and?b0. With this objective, the Newton-Raphson algorithm and the forward-difference approximation to Jacobian are used.Author(s)A

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档