Comments (4)
For what it's worth, glmmTMB/glmmTMB#293
from performance.
At least, we have a more informative message now:
library(performance)
data(sleepstudy, package = "lme4")
d <- dplyr::sample_n(sleepstudy, 50)
m <- glmmTMB::glmmTMB(Reaction ~ Days,
data = d,
family = glmmTMB::tweedie
)
#> Warning in finalizeTMB(TMBStruc, obj, fit, h, data.tmb.old): Model convergence
#> problem; non-positive-definite Hessian matrix. See vignette('troubleshooting')
out <- check_model(m, iterations = 1, verbose = TRUE)
#> Not enough model terms in the conditional part of the model to check for
#> multicollinearity.
#> QQ plot could not be created. Cannot extract residuals from objects of
#> class `glmmTMB`. Maybe the model class or the `tweedie` family does not
#> support the computation of (deviance) residuals?
#> `check_outliers()` does not yet support models of class `glmmTMB`.
out
Created on 2024-03-02 with reprex v2.1.0
from performance.
Not run because takes forever (> 5mins) with this model
Yes, simulate()
is very slow for models from tweedie
family.
from performance.
Fixed in #643
library(performance)
data(sleepstudy, package = "lme4")
set.seed(123)
d <- sleepstudy[sample.int(50), ]
m <- suppressWarnings(glmmTMB::glmmTMB(Reaction ~ Days,
data = d,
family = glmmTMB::tweedie
))
check_model(m, iterations = 2, verbose = TRUE)
#> Not enough model terms in the conditional part of the model to check for
#> multicollinearity.
#> `check_outliers()` does not yet support models of class `glmmTMB`.
Created on 2024-03-16 with reprex v2.1.0
from performance.
Related Issues (20)
- difficult-to-diagnose errors using "difftime" response in a linear model HOT 9
- `check_singularity` doesn't work for `glmmTMB` HOT 9
- `icc` doesn't work for `glmmTMB` HOT 4
- R-squared for Dirichlet regression (`r2`)
- Error checking normality for t.test HOT 1
- spurious(?) viewport-too-small error with new ggplot2 version 3.5.0 HOT 11
- incorrect warning with old `ggplot2`/failure to load `see` HOT 2
- check_model "Error in match.arg" HOT 5
- Error in performance::check_distribution(): in call bw.SJ() HOT 2
- Revising `check_model()` HOT 1
- check_model failing on logistic regression HOT 2
- Check_model in version 0.11.0 no longer produces qq plot residuals HOT 19
- r2_nakagawa and glmmTMB with beta_family HOT 2
- Outlier detection in Linear mixed models failed? HOT 5
- cannot apply check_model title with patchwork::plot_annotation HOT 4
- check_model error suggestions are not complete HOT 4
- Error and Incomplete Output Using performance::check_collinearity with Cox Models HOT 1
- Normality of Residuals of check_model is abnormal. HOT 2
- Revise compare_models() for Bayesian models HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from performance.