Unfortunately, I had convergence (and singularity) issues when calculating my GLMM analysis models in R. When I tried it in SPSS, I got no such warning message and the results are only slightly different. Does it mean I can interpret the results from SPSS without worries? Or do I have to test for singularity/convergence issues to be sure?
GLMM in R versus SPSS (convergence and singularity problems vanish)
202 Views Asked by rbeginner At
1
There are 1 best solutions below
Related Questions in R
- in R, recovering strings that have been converted to factors with factor()
- How to reinstall pandoc after removing .cabal?
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- How to save t.test result in R to a txt file?
- how to call function from library in formula with R type provider
- geom_bar define border color with different fill colors
- Different outcome using model.matrix for a function in R
- Creating a combination data.table in R
- Force specific interactions in Package 'earth' in R
- Output from recursive function R
- Extract series of observations from dataframe for complete sets of data
- Retrieve path of supplementary data file of developed package
- r package development - own function not visible for opencpu
- Label a dataset according to bins of a histogram
- multiply each columns of a matrix by a vector
Related Questions in SPSS
- Control encoding when parsing SPSS file using package memisc
- Skewness in SPSS - SPSS answers differently in multiple PC
- How can I download SPSS for macbook?
- SPSS Frequency Plot Complication
- How to remove white space from a data frame in R, when importing from SPSS
- Graphs in a loop in SPSS
- conditional filtering in SPSS
- Ctables macro is spss
- SPSS: Replace missing values with date
- Deleting Value Labels in SPSS
- How to Synch SPSS and SQL Data
- SPSS create variable function in R
- Comparing multiple items
- spss significance asterisk (for graphs)
- SPSS: Inconsistent totals due to rounding of numbers
Related Questions in LME4
- predict with glmer where new data is a Raster Stack of fixed efefcts
- Equivalent of SAS proc mixed in R
- Extract raw model matrix of random effects from lmer objects (lme4, R)
- Post-hoc test for glmer
- "object not found" within function: nlmer edition
- R AIC model selection table with glmer (package lme4)
- How to report overall results of an nlme mixed effects model
- Error: Invalid grouping factor specification
- lmer output very low P values
- Error using mediation package with lme4 model: mediator model is not yet implemented
- glmer warning messages in lme4 in r
- Residual variance for glmer model missing
- Inconsistent predictions from lmList and data.table
- How to obtain the p-values for each coefficient in a nested logit glmer model (using lme4)?
- Interpreting nested mixed effects model output in R
Related Questions in MIXED-MODELS
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- Drop random effects parameters from output table in Stata
- Equivalent of SAS proc mixed in R
- Random-effects on demeand data
- How to report overall results of an nlme mixed effects model
- Error: Invalid grouping factor specification
- Factor/level error in mixed model
- Estimating variance attributed a fixed effect
- Post-hoc test on mixed model - function for groups display
- Why is drop1 ignoring linear terms for mixed models?
- Interpreting nested mixed effects model output in R
- Setting rhoend parameter with lme4
- Extract random formula from nlme objects
- GAMM with autocorrelation and binary data
- Lme error: "Error in reStruct"
Related Questions in GLMM
- How can i get Standard error of random effect in R?
- Generalized linear mixed effects model with one-inflated proportion data
- model diagnosis in GLMM model of binary outcome variable
- How to make 'visreg' plot when 'glmmTMB' gives error of object weights not found?
- How to create a curve function
- Summary output of binomial GLMM shows significant effects, but graph shows overlapping CI error bars?
- Need help determining the zero-inflated distribution of my data to be able to use it in a GLMM in R
- Error in glmmTMB after Matrix update: negative log-likelihood is NaN at starting parameter values
- Nesting a random factor in GLM(M)
- Can we compare the slope for specific value for a fixed effect in GLMM
- R package glmmTMB - model family nbinom2 - Error in MakeADFunObject
- Error in if (REML) p else 0L : the condition has length > 1
- "p=NaN" at symple slopes analysis of GLMM
- GLMM in R versus SPSS (convergence and singularity problems vanish)
- PiecewiseSEM - Error in cbind(ret, isSig(ret[, 5])) : object 'ret' not found
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You have two questions. I will answer both.
First Question
You do not want to do this. The reason being is that mixed models have a very specific parameterization. Here is a screenshot of common
lme4syntax from the original article about lme4 from the author:With this comes assumptions about what your model is saying. If for example you are running a model with random intercepts only, you are assuming that the slopes do not vary by any measure. If you include correlated random slopes and random intercepts, you are then assuming that there is a relationship between the slopes and intercepts that may either be positive or negative. If you present this data as-is without knowing why it produced this summary, you may fail to explain your data in an accurate way.
The reason as highlighted by one of the comments is that SPSS runs off defaults whereas R requires explicit parameters for the model. I'm not surprised that the model failed to converge in R but not SPSS given that SPSS assumes no correlation between random slopes and intercepts. This kind of model is more likely to converge compared to a correlated model because the constraints that allow data to fit a correlated model make it very difficult to converge. However, without knowing how you modeled your data, it is impossible to actually know what the differences are. Perhaps if you provide an edit to your question that can be answered more directly, but just know that SPSS and R do not calculate these models the same way.
Second Question
SPSS and R both have singularity checks as a default (check this page as an example). If your model fails to converge, you should drop it and use an alternative model (usually something that has a simpler random effects structure or improved optimization).