Support for non-equal MCMC chain lengths

未关闭
#449 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
r
领域
data

调研方向

首先检查 posterior 包目前如何存储等长的 MCMC 链,以及现有工具如何使用这些抽样结果。比较三种拟议方法—thinning、NA padding 和原生不等长存储;只有在选定一种方法并定义其存储和工具行为后,工作才算完成。

由索引模型根据 Issue 内容生成。

描述

Background

Some MCMC samplers produce chains of unequal length (e.g., WALNUTS). Currently, the posterior package does not support this case. This issue outlines some initial ideas for how to handle it.

Proposed options
  • Option 1: Thin chains to equal length Automatically thin longer chains to match the shortest chain length.
  • Option 2: Equal-length storage with NA padding Store chains in the existing equal-length format but pad shorter chains with NA values. New utility functions or arguments would be added to support working with padded draws.
  • Option 3: Native support for non-equal chain lengths Support natively stored chains of different length.
主要语言
R
星标
172
派生
27
平均合并
5 天 12 小时
30 天内合并 PR
5

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stan-dev/posterior 的其他 Issue

查看 stan-dev/posterior 的全部 Issue

相似的 Issue

更多 R Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。