r2.glmmTMB "Warning: get_variance ignores effects of dispersoin model."
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
mtcars を使った再現可能な glmmTMB の例から始め、performance::r2(mod) を実行します。dispformula を持つモデルについて r2() と get_variance() の経路を追跡します。分散モデルの効果が考慮され、報告されている警告が出力されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I'm using the package performance (love it), and came across an issue. It seems the r2() function can't deal with glmmTMB models that include a dispersion model (dispformula). Would there be a "quick" way to make this possible?
repro:
library(glmmTMB)
library(performance)
data(mtcars)
mod <- glmmTMB(mpg ~ cyl, dispformula = ~ cyl, data = mtcars)
performance::r2(mod)
This gives the message "Warning: get_variance ignores effects of dispersion model.
Random effect variances not available. Returned R2 does not account for random effects."
(The random effect part is ok; I didn't put one, but the part is the issue and it happens also whene there is a random effect).
Thank you in advance for your input!
Mick
- 主要言語
- R
- スター
- 1.2k
- フォーク
- 113
- 平均マージ
- 9時間 8分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 45/100
easystats/performance#901 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 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 件 ·
メンテナーはふだん 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 ·