Questions tagged [glmmadaptive]

GLMMadaptive is an R package for generalized linear mixed models. Please also include some statistics methods tags.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

results from simulate.MixMod() function of MixMod Methods GLMMadaptive and phi parameters from mixed.model() function

I am using the function mixed.model() from package GLMMadaptive for fitting a Gamma Generalised Linear Mixed Model,of the form where I take log$\mu_{i}$=$\beta^{t}x_{i}$ + $v_{i}$ that is a Gamma ...
Ronik's user avatar
  • 11
0 votes
0 answers
40 views

Error in fitting Two-Part Mixed Effects Model for Semi-Continuous Data with GLMMadaptive

I am having trouble fitting a Two-Part Mixed Effects Model for Semi-Continuous Data to my data using the GLMMadaptive package. My trail includes: 2 wines, 2 treatments, samples seven times over 100 ...
William WIne's user avatar
0 votes
0 answers
68 views

Residuals assumptions in glmm not verified! Help

I am trying out GLMMs models to test whether two categorical variables (species and sex) and their interaction (sex + species + sex*species= fixed factors) influence certain acoustic parameters (...
Alice 's user avatar
2 votes
1 answer
108 views

Modeling or data error causing large standard errors in GLMM (lme4) with repeated measures

The aim: I am trying to investigate the difference of COPD incidence in participants in stratified age groups of alcohol consumption debut. The dataset: I have a dataset of approx 4700 participants ...
Mathias Therkelsen's user avatar
1 vote
1 answer
39 views

Possible to add Stochastic trend, seasonality and AR(1) term in mixed model? (Prediction in Joint Models) Short version

If I have a biomarker time-dependent variable sampled as a whole time serie, instead of few repeated measurements, and I want to fit a joint model to predict time-to-event as a function of the time-...
beoeb's user avatar
  • 11
0 votes
0 answers
15 views

Possible to add Stochastic trend and seasonality in mixed model? (Prediction in Joint Models)

Good morning everyone, I have to fit a model to predict withdrawal of students attending an online university course. By “predict withdrawal” I mean that each week of the course I have to guess which ...
beoeb's user avatar
  • 11
2 votes
1 answer
164 views

Standard Error of Variance Component from the output of GLMMadaptive::mixed_model

I am using the {GLMMadaptive} package to fit a mixed effect random slope model. And I need to extract the standard error of variance components from the output of <...
shafee's user avatar
  • 75
0 votes
0 answers
88 views

Is two-Part Mixed Effects Model for Semi-Continuous Data (GLMMadaptive) the correct analyssi for my data?

I have two relatively simple questions on a two-Part Mixed Effects Model for Semi-Continuous Data I am running using GLMMadaptive . First of all, I would like to ...
Martina's user avatar
0 votes
1 answer
115 views

Reconciling LRT of two mixed-effects models with the Wald tests of individual predictors

I hypothesize that a clinical outcome can be predicted by 5 categorical predictors and one numeric predictor. One of the predictors is the physician that cares for the patient. I have the data in the ...
Ian Campbell's user avatar
1 vote
1 answer
550 views

Interpretation of Positive Count Coefficients in Hurdle Model

What is the proper interpretation of the coefficients for the positive count part of a hurdle model (truncated Poisson or Negative Binomial)? I have read that the interpretation of the coefficients ...
Andy's user avatar
  • 45
6 votes
1 answer
5k views

How to implement a mixed-model with a beta distribution?

I am interested in using a generalised linear mixed model with a response variable (values ranging from 0.001-0.999) that best fits a beta distribution when checked using the 'fitdistrplus' package ...
sbooth's user avatar
  • 95
5 votes
1 answer
204 views

GLM modeling binomial proportions with varying trials and probabilities

A collection of coin manufacturers, $m$, each produces a line of coins, the number of which varies by manufacturer (some produce 3 types of coins, others make 7, and so on). Each manufacturer imparts ...
a crab's user avatar
  • 51
0 votes
0 answers
106 views

GLMER, GHAQ and marginaled coefficients

I am confused about the GLMM procedures and their reporting. I have tried to follow @Ben Bolker on mixed effect model. However, I am confused after the GLMAdaptive approach. I will lay out my problem. ...
Harshad's user avatar
  • 81
1 vote
0 answers
335 views

Zero-inflated or two-part models: how to interpret main effects of categorical fixed effects?

I'm running a hurdle lognormal model using the GLMMadaptive package in R. Both the continuous part as well as the zero-part have categorical variables defined in the fixed effects. I would like to run ...
RmyjuloR's user avatar
  • 133
1 vote
0 answers
450 views

GLMMadaptive - Hessian matrix problem Hurdle Beta Model

Data: I have a percentage (or proportion see paragraph below) outcome dataset with a high number of zero's. I have therefore attempted to run a hurdle beta model using the GLMMadaptive package in R. I ...
RmyjuloR's user avatar
  • 133
1 vote
0 answers
908 views

Mixed effect zero inflated negative binomial model in R: use of Dharma package, glmmTMB and glmmAdaptive

I am having trouble fitting a mixed effect zero inflated negative binomial model to my data using the GLMMadaptive package: negbi_1 <- mixed_model(fixed=MA ~ ST + AG + SU +SO +Y, ...
user241508's user avatar
3 votes
1 answer
1k views

Advice for R packages for GLMM and (adaptive) Gauss Hermite quadrature [closed]

I was looking here for a R package to make an estimate on a general linear mixed effects model (Poisson family) with two random effects and (adaptive) Gaussian quadrature. I also need the full matrix ...
Flora Grappelli's user avatar
1 vote
0 answers
1k views

Differences between glmmadaptive Vs lme4 and glmmTMB in ICC measurement

This is my first question, so please be kind... I am currently modelling a GLMM with a binary outcome with many (500+) clusters but cluster size of 2 (by design - there can be no more than 2 per ...
am767's user avatar
  • 61
2 votes
1 answer
493 views

Using variance-covariance matrix of mixed-effects logistic regression to obtain p-values for custom contrasts

My question is a follow-up to this question, following through on @Isabelle Ghement's excellent series of responses. I just want to run this past some people in the know to see if what I am doing is ...
llewmills's user avatar
  • 2,101
1 vote
1 answer
2k views

Mixed effect zero inflated negative binomial model: "the leading minor of order 1 is not positive definite"

I am having trouble fitting a mixed effect zero inflated negative binomial model to my data using the GLMMadaptive package: ...
KK Li's user avatar
  • 13
2 votes
1 answer
2k views

Computation and interpretation of marginal effects in a GLMM

I am currently working on a GLMM model which uses a Poisson distribution and need to compute and interpret marginal effects from this model. The model outcome consists of a count (COUNT) collected ...
Isabella Ghement's user avatar