Giter VIP home page Giter VIP logo

Comments (2)

strengejacke avatar strengejacke commented on July 18, 2024 1

Should be fixed in easystats/insight@62b86f7

library(glmmTMB)
#> Warning in checkDepPackageVersion(dep_pkg = "TMB"): Package version inconsistency detected.
#> glmmTMB was built with TMB version 1.9.6
#> Current TMB version is 1.9.7
#> Please re-install glmmTMB from source or restore original 'TMB' package (see '?reinstalling' for more information)
library(performance)

dfex <- read.csv("d:/Downloads/dfexample.csv")

model <- glmmTMB(response ~ predictor + (1 | random), data = dfex, family = ordbeta)
summary(model)
#>  Family: ordbeta  ( logit )
#> Formula:          response ~ predictor + (1 | random)
#> Data: dfex
#> 
#>      AIC      BIC   logLik deviance df.resid 
#>   -451.1   -433.4    231.5   -463.1      136 
#> 
#> Random effects:
#> 
#> Conditional model:
#>  Groups Name        Variance Std.Dev.
#>  random (Intercept) 0.4193   0.6475  
#> Number of obs: 142, groups:  random, 3
#> 
#> Dispersion parameter for ordbeta family (): 28.9 
#> 
#> Conditional model:
#>             Estimate Std. Error z value Pr(>|z|)    
#> (Intercept) -1.78927    0.42482  -4.212 2.53e-05 ***
#> predictor   -0.16126    0.05979  -2.697  0.00699 ** 
#> ---
#> Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

r2(model)
#> # R2 for Mixed Models
#> 
#>   Conditional R2: 0.166
#>      Marginal R2: 0.021

Created on 2023-12-03 with reprex v2.0.2

from performance.

strengejacke avatar strengejacke commented on July 18, 2024

I think it must be plogis() here.

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.