Giter Site home page Giter Site logo

Comments (6)

jacob-long avatar jacob-long commented on June 12, 2024 1

Hi @sag4040, you're not the first one to make that request. I will look into it.

@ebmtnprof, whether brms is supposed to work is a question I hadn't really considered one way or another. It appears that it might "work" (in that it wouldn't fail with errors) if it weren't for a technical glitch. I'd have to do some thinking about whether it makes sense statistically to do simple slopes with a Bayesian model, but empirically it is surely possible. I'll look into making that work in the next major update that I'm working on now, but as a forewarning it may be the case that the model will have to be re-fit several times to get the estimates.

from interactions.

ebmtnprof avatar ebmtnprof commented on June 12, 2024

sorry - it didn't copy the error message. Here it is
Error in terms.default(model) : no terms component nor attribute
In addition: Warning message:
Variable transformations in the model formula detected. Trying to use from global environment instead. This
could cause incorrect results if has been altered since the model was fit. You can manually provide the
data to the "data =" argument.

from interactions.

sag4040 avatar sag4040 commented on June 12, 2024

Great stuff, Jacob. Thanks for this super helpful package!

I also have a question about the sim_slopes function, but for use with class "glmmTMB". The interact_plot function still works great (warning messages, though), however the sim_slopes function gives me the following error:

Error in UseMethod("summ") :
no applicable method for 'summ' applied to an object of class "glmmTMB"

It would be spectacular if you could point me in the direction of enabling this function for use with glmmTMB models.

All the best,

Scott Graupensperger

from interactions.

ebmtnprof avatar ebmtnprof commented on June 12, 2024

from interactions.

sag40 avatar sag40 commented on June 12, 2024

Hi Jacob,

Hopefully all is well - I am just wondering if you've had a chance to consider either an update or a potential work-around for using sim_slopes with class "glmmTMB". Unfortunately, my data are count-variables that are zero-inflated, requiring a negative binomial approach.

As always, I appreciate your work on this project. Package developers are the real MVP's of science :)

Scott

from interactions.

sag40 avatar sag40 commented on June 12, 2024

Bump^

Hi Jacob,

I am still holding out hope that it may be possible to calculate sim_slopes for glmmTMB objects. If not, I wonder if you've heard of an alternative option to calculate the estimates for the simple slopes at (-1/+1 SD)?

Many thanks!

from interactions.

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.