Giter VIP home page Giter VIP logo

Comments (4)

bbolker avatar bbolker commented on June 9, 2024

For what it's worth, glmmTMB/glmmTMB#293

from performance.

strengejacke avatar strengejacke commented on June 9, 2024

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.

strengejacke avatar strengejacke commented on June 9, 2024

Not run because takes forever (> 5mins) with this model

Yes, simulate() is very slow for models from tweedie family.

from performance.

strengejacke avatar strengejacke commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.