Skip to content
Prev 17646 / 20628 Next

Collinearity tests (e.g. VIF) for glmmTMB package

Dear John,

sorry for confusion. I wasn't thinking of calculating correlations from the
model-matrix, but of the "assign"-attribute. That's what you use
model.matrix() for, and glmmTMB is missing the option to get the
model-matrix for the zero-inflated part, hence you need to workaround this
in order to get the assignments.

Best
Daniel

-----Urspr?ngliche Nachricht-----
Von: Fox, John <jfox at mcmaster.ca> 
Gesendet: Dienstag, 14. Mai 2019 14:58
An: Daniel L?decke <d.luedecke at uke.de>; 'Ben Bolker' <bbolker at gmail.com>;
'Williamson, Michael' <michael.williamson at kcl.ac.uk>
Cc: r-sig-mixed-models at r-project.org
Betreff: RE: [R-sig-ME] Collinearity tests (e.g. VIF) for glmmTMB package

Dear Daniel,
might
ZI-
There is no intrinsic reason why the predictors in the two parts of the
model have to be the same.

As I mentioned in a related response, it's not the correlations among the
columns of the model matrix but among the coefficients that figures in VIFs
computed for models other than linear models fit by OLS. In glmmTMB, the
correlations among the coefficients will differ in different parts of the
model even if the model matrices are the same.

Best,
 John
model
"disp"
Uwe
--

_____________________________________________________________________

Universit?tsklinikum Hamburg-Eppendorf; K?rperschaft des ?ffentlichen Rechts; Gerichtsstand: Hamburg | www.uke.de
Vorstandsmitglieder: Prof. Dr. Burkhard G?ke (Vorsitzender), Prof. Dr. Dr. Uwe Koch-Gromus, Joachim Pr?l?, Marya Verdel
_____________________________________________________________________

SAVE PAPER - THINK BEFORE PRINTING