R R.package !!!easystats https://github.com/easystats https://qiita.com/ocean_f/items/f1074f8cc05241dc28eb {{outline}} ---- !!GLMMなどの妥当性評価 !モデルパフォーマンス {{pre model_performance(modelER3f) ## # Indices of model performance ## ## AIC | BIC | R2 (cond.) | R2 (marg.) | ICC | RMSE | Sigma | Score_log | Score_spherical ## --------------------------------------------------------------------------------------------------- ## 1357.583 | 1378.366 | 0.819 | 0.532 | 0.612 | 4.957 | 1.000 | -2.501 | 0.055 }} !R2: r2() {{pre r2(modelER3f) # R2 for Mixed Models Conditional R2: 0.912 Marginal R2: 0.233 }} *Conditionalは Mixed Modelsの寄与率 *Marginal は固定要因のみの寄与率 !多重共線性: check_collinearity() {{pre check_normality(modelER3f) OK: residuals appear as normally distributed (p = 0.730). }} *結果を plot() !正規性: check_normality() *結果を plot() !過分散: check_overdispersion() !ゼロ過剰: check_zeloinflation() !!インストール {{pre install.packages("performance") library(performance) }}