Questions tagged [ggeffects]

4 questions
2
votes
0 answers

Confidence intervals computed by ggpredict() and emmeans() for a mixed-effect model differ: why?

I used function ggpredict() from package ggeffects 1.3.0 and function emmeans() from package emmeans to calculate estimates and confidence intervals (hereafter: CI) for a mixed-effect model. The CI estimated by the two functions differ. Why? The…
Marco Plebani
  • 436
  • 2
  • 14
0
votes
0 answers

Problem using ggeffects for mclogit package

Currently trying to use ggeffects for a mmblogit object from the mclogit package, but the following messages are being shown: > ggeffects::ggeffect(model.example) Can't compute marginal effects, 'effects::Effect()' returned an error. Reason: 'arg'…
gustavobrp
  • 53
  • 7
0
votes
2 answers

Using cluster-robust SEs within a zero-inflated negative binomial model through ggpredict won't return confidence intervals

I've been trying to apply cluster-robust standard errors in my calculation of the marginal effects of two predictor variables (main effects and their interaction) in a ZINB model. The code works perfectly when I don't include the cluster-robust…
0
votes
0 answers

Plot ggpredict model outcomes with ggplot2

I have run a model: mymodel <- glm(averagetime~group,family=Gamma,data = mydata, weights=myweights) I used the ggeffects package to create an output datafile that I can graph: library(ggeffects) library(ggplot2) Out_mymodel <- ggpredict(mymodel,…
user3594490
  • 1,949
  • 2
  • 20
  • 26