Skip to main content
1 vote
0 answers
46 views

library(glmmTMB) library(dplyr) library(DHARMa) ml <- glmmTMB(menthlth ~ sex + medcost + ..., ziformula = ~ sex + medcost + X_educag + internet + ..., data = ...
Paw in Data's user avatar
  • 1,714
0 votes
0 answers
26 views

I have relational data, i.e. observations for pairs of objects. More specifically these are migration rates between plant populations, which I would like to explain by a predictor. The migration rates ...
Tobias Naaf's user avatar
0 votes
0 answers
26 views

I fitted a complex betabinomial model with very large values for both variables comprised in the response variable (cbin(Methylated_C, unMethylated_C)). model <- glmmTMB( ...
Asier's user avatar
  • 124
1 vote
0 answers
90 views

Is there a way to obtain estimated expected values from a glmmTMB object? Specifically, if Y is the response vector and X,Z are design matrices for fixed and random effects respectively, I want an ...
KOE's user avatar
  • 179
1 vote
0 answers
65 views

I would like to obtain the estimated covariance matrix of the (random) linear predictors from a glmmTMB object in R, or at least the diagonal of that matrix, that is, the variances. In lme4 the full ...
KOE's user avatar
  • 179
3 votes
1 answer
107 views

I'm a newb using glmmTMB, especially with smooths. The first model (m1) gives me what I expect: parallel smooths for each site since there are random intercepts for site. My question is: is the second ...
Ed Hagen's user avatar
  • 441
2 votes
1 answer
152 views

Suppose I have the following model: library(glmmTMB) Owls <- transform( Owls, Nest = reorder(Nest, NegPerChick), NCalls = SiblingNegotiation, FT = FoodTreatment ) fit_zipoisson <- ...
robertspierre's user avatar
0 votes
0 answers
37 views

I am using buildglmmTMB to build a model for several different taxa. I have 700 ish taxa and ~10 effects. I have a script that loops through all the taxa and applies buildglmmTMB to each taxa ...
btredcup's user avatar
0 votes
0 answers
54 views

I used glmmTMB to run GLMMs with a beta distribution to evaluate the proportion of time an animal spends doing a behavior. My observations were of different lengths, and I weighted the observations ...
Kristin Engebretsen's user avatar
0 votes
1 answer
115 views

Consider the following estimate: library(glmmTMB) library(mice) Owls <- Owls Owls[sample(1:nrow(Owls),10), "ArrivalTime"] <- NA predictorMatrix <- quickpred( Owls, include = ...
robertspierre's user avatar
4 votes
1 answer
95 views

I have a dataset with 125 animals across 3 sites and 100500 observations. Both show up properly when looking at the structure of the data but when I run the model with an updated data frame (I added a ...
Leyna Stemle's user avatar
0 votes
0 answers
103 views

I have a dataset of bird counts, on a spatial grid, with environmental and prey data. I have applied a correction factor for distance from observers, so I have semi-continuous values, with lots of 0's ...
Klervi's user avatar
  • 7
0 votes
0 answers
120 views

I am working on a grant proposal evaluating the effectiveness of an intervention on several different groups of hospitals and after some statistical consulting have landed on using a generalized ...
Thea B.'s user avatar
0 votes
1 answer
145 views

I'm treating a data with one continuous variable and one categorical variable. I built a model as following using glmmTMB: m=glmmTMB(y~x+(1+x|group), family=Gamma(link="log"), data=dat) '...
Y.Y.'s user avatar
  • 3
1 vote
3 answers
171 views

I'm using the emmeans package with a negative-binomial model implemented using the glmmTMB package. I'm trying to bias adjust my backtransformed emmeans per the workflow illustrated here: https://cran....
myfatson's user avatar
  • 561

15 30 50 per page
1
2 3 4 5
13