Significance of fixed factors using glmer
Hi Silvia,
If you have previously loaded other packages like afex package, then
lmerTest cannot work properly and does not give you the p-values.
Try to detach the other packages if it is the case, and let see if it works
now.
Example: detach("package:afex", unload=TRUE)
Or...you can restart your R session and load only the packages you need.
But I would try detach first.
Hope it works!
Julia
2017-12-20 15:43 GMT+01:00 Fox, John <jfox at mcmaster.ca>:
Dear Silvia, Both lmerTest::anova() and car::Anova() print p-values, so you'll have to provide more information -- ideally a reproducible example demonstrating the problem, or at least the problematic output with p-values absent. Best, John ----------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: socialsciences.mcmaster.ca/jfox/
-----Original Message----- From: R-sig-mixed-models [mailto:r-sig-mixed-models-
bounces at r-project.org]
On Behalf Of Silvia Matesanz Garc?a Sent: Wednesday, December 20, 2017 5:06 AM To: r-sig-mixed-models at r-project.org Subject: [R-sig-ME] Significance of fixed factors using glmer Hi all I m fitting a model where the response variable is Flowering (0, the
plant didn t
flower; 1, the plant did flower). I m using glmer with a binomial
distribution. I
m trying to obtain the significance of fixed factors. I ve tried
lmerTest:anova
and car:Anova but neither seem to provide p-values. Is there a way to do this? Thanks! ------------------------------------------------------------
----------------
------- Dra. Silvia Matesanz Investigadora Ram n y Cajal. rea de Biodiversidad y Conservaci n. Universidad Rey Juan Carlos <http://silviamatesanzgarc.wix.com/silviamatesanz> http://silviamatesanzgarc.wix.com/silviamatesanz <https://scholar.google.es/citations?user=6xRDyPAAAAAJ&hl=es> https://scholar.google.es/citations?user=6xRDyPAAAAAJ&hl=es [[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Julia [[alternative HTML version deleted]]