Expose `get_range_from_quantile()` to the user
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从内部的 scoringutils:::get_range_from_quantile() 入口点开始,检查如何将其向用户公开。根据 issue 中的备选方案确定函数命名,然后验证所选的公共函数接受一个分位数水平,并返回相应的对称中心区间范围。
由索引模型根据 Issue 内容生成。
描述
Sometimes it is useful to obtain the interval range to which a given quantile level corresponds to. For example, a 5% quantile forms the lower bound of a 90% symmetric central prediction interval.
We have an internal function scoringutils:::get_range_from_quantile() that takes in a quantile level and returns the symmetric central interval range (in percent) to which that quantile level would correspond. Some users might like that function so we should export it.
The name is not ideal, because a) "range" maybe isn't very clear and b) it's the quantile level, not the quantile that is used as an input.
Other ideas:
get_corresponding_intervalThe connection to the quantile level would be clear as it isget_corresponding_interval(quantile_level).get_interval_from_quantile_level(). Clear, but very long.get_interval(). Maybe a bit too concise.get_quantile_interval()get_symmetric_range()
- 主要语言
- R
- 星标
- 65
- 派生
- 24
- 平均合并
- 1 小时 24 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
epiforecasts/scoringutils 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
epiforecasts/scoringutils#1264 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
epiforecasts/scoringutils#1265 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
epiforecasts/scoringutils#1260 ·
维护者通常 1 天内回复
-
Incorrect guidance in `NEWS.md` re `add_relative_skill()`?可能已有人在做 @nikosbosse 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
epiforecasts/scoringutils#1226 · 1 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
get_pit_histogram(): unsorted breaks produce negative densities; num_bins = 1 returns an empty table可能已有人在做 @nikosbosse 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
epiforecasts/scoringutils#1219 ·
维护者通常 1 天内回复
查看 epiforecasts/scoringutils 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
waldronlab/bugphyzz#301 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 78/100
r-lib/tree-sitter-r#209 ·
-
难度 1/5 1 小时以内 新手友好度 67/100
-
难度 1/5 1 小时以内 新手友好度 79/100
cran-task-views/CausalInference#52 · 1 条评论 ·