HDI?
还没有人认领这个 Issue。
评估
调研方向
从现有的 summarise_draws 用法以及 issue 中提到的基于百分位数的区间支持入手。确定 HDI 区间和众数摘要应如何适配所请求的输出,然后使用示例 draws 验证结果。issue 没有指定文件或测试,因此定位相关实现并定义预期行为也是这项工作的一部分。
由索引模型根据 Issue 内容生成。
描述
Would it be in the scope of posterior to provide support for HDI's in contrast with quantile-based intervals? For example, say I wanted to quickly summarize my draws by their modes and 95% intervals.
example_draws() %>%
summarise_draws(mode = Mode, ~ quantile(.x, probs = c(.025, .975)))
# A tibble: 10 × 4
variable mode `2.5%` `97.5%`
<chr> <dbl> <dbl> <dbl>
1 mu 5.91 -2.16 10.2
2 tau 1.74 0.174 14.6
3 theta[1] 5.67 -2.81 22.7
4 theta[2] 5.44 -3.24 14.9
5 theta[3] 5.52 -15.0 13.2
6 theta[4] 5.94 -4.64 14.8
7 theta[5] 4.26 -8.68 12.3
8 theta[6] 3.20 -6.80 12.8
9 theta[7] 4.46 -2.57 18.1
10 theta[8] 4.22 -6.53 14.8
There's great support for percentile-based intervals. Is there support for HDI's?
- 主要语言
- R
- 星标
- 172
- 派生
- 27
- 平均合并
- 5 天 12 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stan-dev/posterior 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Use testthat 3e可能已有人在做 @mcol 于 7 天前认领。 未关闭good first issue test
难度 3/5 1-2 天 新手友好度 65/100
-
难度 5/5 一周以上 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 25/100
查看 stan-dev/posterior 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
cran-task-views/Spatial#127 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Add two cautions to the `simulate_dyad_responses()` help可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭documentation priority: low
难度 2/5 1-3 小时 新手友好度 70/100
Pascal-Kueng/dyadMLM#179 ·
维护者通常 1 天内回复
-
Consider changes未关闭
难度 2/5 1-3 小时 新手友好度 68/100
OHDSI/OmopSketch#618 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
GSK-Biostatistics/tfrmt#854 ·