check_model() on more brms families
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先使用 performance::check_model() 重现 shifted_lognormal brms 示例,然后检查 check_model() 以及相关的模型族处理入口点。将失败的 check_model() 和 check_homogeneity() 路径与正常工作的 check_predictions() 和 check_outliers() 调用进行比较;当受支持的模型族不再报错,并且针对所报告案例存在回归覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Currently check_model() errors on some families, even though some plot could be produced (at least, a PP check)
m <- brms::brm(wt ~ mpg * hp, family = "shifted_lognormal", data = mtcars, refresh = 0)
#> Compiling Stan program...
#> Start sampling
# Doesn't work :'(
performance::check_model(m)
#> Error in get(family$family): object 'shifted_lognormal' not found
# Works
plot(performance::check_collinearity(m))
#> Warning: Model has interaction terms. VIFs might be inflated. You may check
#> multicollinearity among predictors of a model without interaction terms.

# plot(performance::check_heteroscedasticity(m))
# Works
performance::check_predictions(m)
#> Using 10 posterior draws for ppc type 'dens_overlay' by default.

# Doesn't work
performance::check_homogeneity(m)
#> Error in bartlett.test.default(x = mf[[1L]], g = mf[[2L]]): there must be at least 2 observations in each group
# Works
plot(performance::check_outliers(m))

Created on 2022-08-06 by the reprex package (v2.0.1)
- 主要语言
- R
- 星标
- 1.2k
- 派生
- 113
- 平均合并
- 9 小时 8 分钟
- 30 天内合并 PR
- 27
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
easystats/performance 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
easystats/performance#1038 ·
维护者通常 1 天内回复
-
Waiting for response :love_letter:
难度 3/5 1-2 天 新手友好度 62/100
easystats/performance#1005 · 1 条评论 ·
维护者通常 1 天内回复
-
misleading subtitle with check_heteroscedasticity with binomial data?可能已有人在做 @jmgirard 于 26 天前认领。 未关闭Consistency :green_apple: :apple: Docs :books:
easystats/performance#1003 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
`check_outliers()`: Cook's distances land on the wrong rows when the model skips or reorders rows未关闭3 investigators :grey_question::question: Bug :bug:
难度 4/5 3-5 天 新手友好度 22/100
easystats/performance#981 · 1 条评论 ·
维护者通常 1 天内回复
-
Docs :books: Enhancement :boom:
难度 5/5 一周以上 新手友好度 45/100
easystats/performance#901 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 easystats/performance 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
ThinkR-open/mordew#89 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
epiforecasts/EpiNow2#1694 · 2 个 reaction ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
easystats/correlation#403 ·
-
难度 1/5 1 小时以内 新手友好度 85/100
mitchelloharawild/mixtime#111 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
conda-forge/xgboost-feedstock#313 ·