Jon Lefcheck

Results 52 comments of Jon Lefcheck

Ok so this is also weird for interactions: i think the package takes the product and *then* scales, when it should scale each variable THEN take the product. At least,...

If you transform the response, then the standardized coefficients will be in units of SD of the transformed response. Same goes for predictors GLMER is a special case since the...

This seems to be an issue with glmer right now. Try reverting to an older version of the package (ie, one on CRAN). Not sure when I will have time...

Actually, I think this is working as intended, see: ``` stdCoefs(model) unstdCoefs(model2) ``` Also, running `coefs(model2)` gives a warning about the use of `scale` for response So closing for now

Not sure what was happening here: code was stripping transformations from vector of coefficients and then couldn't match with the summary table from the model. So I took it out...hope...

This was an issue with rsquared where random slopes without corresponding fixed effects failed to recover the correct random effects matrix from the model. Should be fixed now in the...

This usually reflects poor convergence, can you look at the variance components of your random effects? 2-4 observations within so many levels is not ideal, and may be leading to...

Try running `VarCorr` on your lmer object, and that will tell you the variance/SD associated with the random effects. See if any are close to zero. Another option is to...

Try using `glmmTMB` …it has different optimizers, and has solved the issue in the past ____________________________ Jonathan S. Lefcheck, Ph.D. Tennenbaum Coordinating Scientist MarineGEO: https://marinegeo.si.edu/ Smithsonian Institution Phone: +1 (443)...